]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.h
Speedup: only convert displayed frame to QImage if necessary (for on monitor scene...
[kdenlive] / src / mainwindow.h
index 694c03370755519eb93bcc85cc82df3e71551d1f..4aa19a941b40242bc16dc3da2f9f13a2e8c18ee3 100644 (file)
@@ -67,6 +67,7 @@ class Waveform;
 class RGBParade;
 class KActionCollection;
 
+
 class MainWindow : public KXmlGuiWindow
 {
     Q_OBJECT
@@ -173,6 +174,9 @@ private:
 
     KComboBox *m_timecodeFormat;
 
+    /** This list holds all the scopes used in Kdenlive, allowing to manage some global settings */
+    QList <QDockWidget *> m_scopesList;
+
     QMenu *m_videoEffectsMenu;
     QMenu *m_audioEffectsMenu;
     QMenu *m_customEffectsMenu;
@@ -462,6 +466,12 @@ private slots:
     void slotShowTitleBars(bool show);
     void slotSwitchTitles();
 
+    /** @brief The monitor informs that it needs (or not) to have frames sent by the renderer. */
+    void slotMonitorRequestRenderFrame(bool request);
+    /** @brief Check if someone needs the render frame sent. */
+    void slotUpdateScopeFrameRequest();
+    void slotDoUpdateScopeFrameRequest();
+
 signals:
     Q_SCRIPTABLE void abortRenderJob(const QString &url);
 };