virtual QString widgetName() const;
protected:
- void paintEvent(QPaintEvent *);
-// void resizeEvent(QResizeEvent *);
-// void mouseReleaseEvent(QMouseEvent *);
+ virtual void readConfig();
+ void writeConfig();
private:
Ui::Waveform_UI *ui;
-
WaveformGenerator *m_waveformGenerator;
- bool initialDimensionUpdateDone;
+ QAction *m_aRec601;
+ QAction *m_aRec709;
+ QActionGroup *m_agRec;
+
+ static const QSize m_textWidth;
+ static const int m_paddingBottom;
QImage m_waveform;
/// Implemented methods ///
QRect scopeRect();
- QImage renderHUD();
- QImage renderScope();
- QImage renderBackground();
-
-private slots:
- void slotRenderZoneUpdated();
- void slotWaveformCalculated(QImage waveform, const uint &msec);
+ QImage renderHUD(uint);
+ QImage renderScope(uint, const QImage);
+ QImage renderBackground(uint);
+ bool isHUDDependingOnInput() const;
+ bool isScopeDependingOnInput() const;
+ bool isBackgroundDependingOnInput() const;
};