]> git.sesse.net Git - kdenlive/blob - src/audiosignal.h
*Allow users to choose between SDL and OpenGL for monitor display
[kdenlive] / src / audiosignal.h
1 #ifndef AUDIOSIGNAL_H
2 #define AUDIOSIGNAL_H
3
4 #include <QByteArray>
5 #include <QList>
6 #include <QColor>
7 class QLabel;
8
9 #include  <QWidget>
10 class AudioSignal : public QWidget
11 {
12     Q_OBJECT
13 public:
14     AudioSignal(QWidget *parent = 0);
15 private:
16     QLabel* label;
17     QByteArray channels;
18     QList<QColor> col;
19 protected:
20     void paintEvent(QPaintEvent*);
21 public slots:
22     void showAudio(const QByteArray);
23
24
25 };
26
27 #endif