X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmonitormanager.h;h=625bc6bfc98197ea5d2d6b1b5dbb4e2b02129564;hb=255f094da6bb19faa9fe51daa30de6db296145ff;hp=e16f276d4c6814fbedd178cbff546022ef4dd2a5;hpb=c42a026234a44a2d766e57bc64a6ac7bbd094000;p=kdenlive diff --git a/src/monitormanager.h b/src/monitormanager.h index e16f276d..625bc6bf 100644 --- a/src/monitormanager.h +++ b/src/monitormanager.h @@ -34,13 +34,16 @@ public: MonitorManager(QWidget *parent = 0); void initMonitors(Monitor *clipMonitor, Monitor *projectMonitor); Timecode timecode(); - void switchMonitors(); void resetProfiles(Timecode tc); void stopActiveMonitor(); public slots: + + /** @brief Activates a monitor. + * @param name name of the monitor to activate */ void activateMonitor(QString name = QString()); void slotPlay(); + void slotPause(); void slotPlayZone(); void slotLoopZone(); void slotRewind(double speed = 0); @@ -53,14 +56,27 @@ public slots: void slotEnd(); void slotResetProfiles(); + /** @brief Switches between project and clip monitor. + * @ref activateMonitor + * @param activateClip whether to activate the clip monitor */ + void slotSwitchMonitors(bool activateClip); + void slotUpdateAudioMonitoring(); + +private slots: + void slotRefreshCurrentMonitor(); + private: Monitor *m_clipMonitor; Monitor *m_projectMonitor; QString m_activeMonitor; Timecode m_timecode; + bool m_blocked; signals: + /** @brief Emitted when the active monitor changes */ void raiseClipMonitor(bool); + /** @brief When the monitor changed, update the visible color scopes */ + void checkColorScopes(); };