]> git.sesse.net Git - kdenlive/blobdiff - src/waveform.h
disable effect stack params and monitor scene when effect is disabled
[kdenlive] / src / waveform.h
index fdbd27ea3205f69acba94334ffc76cf123030712..5ece240f3995ca4ccc7d13f60ed19fc058262b0b 100644 (file)
@@ -28,28 +28,30 @@ public:
     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;
 
 };