PlayerFlat
 Tudo Classes Funções
abstractspectrograph.h
1 #ifndef ABSTRACTSPECTROGRAPH_H
2 #define ABSTRACTSPECTROGRAPH_H
3 
4 #include <QWidget>
5 #include <QVector>
6 
7 // the spectrum visualization widget
8 class AbstractSpectrograph : public QWidget{
9  Q_OBJECT
10 public:
11  explicit AbstractSpectrograph(QWidget *){}
12 
13 signals:
14 
15 public slots:
16  // load the spectrum to be displayed
17  virtual void loadSamples(QVector<double>&)=0;
18 
19  // load left and right mean audio levels
20  virtual void loadLevels(double, double)=0;
21 
22 };
23 
24 #endif // ABSTRACTSPECTROGRAPH_H
Definition: abstractspectrograph.h:8