Changeset View
Changeset View
Standalone View
Standalone View
src/monitor/scopes/monitoraudiolevel.h
Show All 30 Lines | |||||
31 | class Filter; | 31 | class Filter; | ||
32 | } | 32 | } | ||
33 | 33 | | |||
34 | class MonitorAudioLevel : public ScopeWidget | 34 | class MonitorAudioLevel : public ScopeWidget | ||
35 | { | 35 | { | ||
36 | Q_OBJECT | 36 | Q_OBJECT | ||
37 | public: | 37 | public: | ||
38 | explicit MonitorAudioLevel(Mlt::Profile *profile, int height, QWidget *parent = nullptr); | 38 | explicit MonitorAudioLevel(Mlt::Profile *profile, int height, QWidget *parent = nullptr); | ||
39 | virtual ~MonitorAudioLevel(); | 39 | ~MonitorAudioLevel() override; | ||
40 | void refreshPixmap(); | 40 | void refreshPixmap(); | ||
41 | int audioChannels; | 41 | int audioChannels; | ||
42 | bool isValid; | 42 | bool isValid; | ||
43 | void setVisibility(bool enable); | 43 | void setVisibility(bool enable); | ||
44 | 44 | | |||
45 | protected: | 45 | protected: | ||
46 | void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE; | 46 | void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE; | ||
47 | void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE; | 47 | void resizeEvent(QResizeEvent *event) Q_DECL_OVERRIDE; | ||
Show All 18 Lines |