blob: 88649f7d35f87a111c32a30edfb684ae1bd7e29b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef RGBWAVEFORMWIDGET_H
#define RGBWAVEFORMWIDGET_H
#include <QWidget>
#include "waveformwidgetabstract.h"
class RGBWaveformWidget : public QWidget, public WaveformWidgetAbstract {
Q_OBJECT
public:
virtual ~RGBWaveformWidget();
virtual WaveformWidgetType::Type getType() const { return WaveformWidgetType::RGBWaveform; }
static inline QString getWaveformWidgetName() { return tr("RGB"); }
static inline bool useOpenGl() { return false; }
static inline bool useOpenGles() { return false; }
static inline bool useOpenGLShaders() { return false; }
static inline bool developerOnly() { return false; }
protected:
virtual void castToQWidget();
virtual void paintEvent(QPaintEvent* event);
private:
RGBWaveformWidget(const char* group, QWidget* parent);
friend class WaveformWidgetFactory;
};
#endif // RGBWAVEFORMWIDGET_H
|