MonitorManager::MonitorManager(QWidget *parent)
: QObject(parent) {
-
-
}
void MonitorManager::setTimecode(Timecode tc) {
m_projectMonitor = projectMonitor;
}
+bool MonitorManager::projectMonitorFocused() {
+ if (m_activeMonitor != "clip") return true;
+ return false;
+}
void MonitorManager::activateMonitor(QString name) {
if (m_activeMonitor == name) return;
else m_projectMonitor->slotPlay();
}
+void MonitorManager::slotRewind(double speed) {
+ if (m_activeMonitor == "clip") m_clipMonitor->slotRewind(speed);
+ else m_projectMonitor->slotRewind(speed);
+}
+
+void MonitorManager::slotForward(double speed) {
+ if (m_activeMonitor == "clip") m_clipMonitor->slotForward(speed);
+ else m_projectMonitor->slotForward(speed);
+}
+
+void MonitorManager::slotRewindOneFrame() {
+ if (m_activeMonitor == "clip") m_clipMonitor->slotRewindOneFrame();
+ else m_projectMonitor->slotRewindOneFrame();
+}
+
+void MonitorManager::slotForwardOneFrame() {
+ if (m_activeMonitor == "clip") m_clipMonitor->slotForwardOneFrame();
+ else m_projectMonitor->slotForwardOneFrame();
+}
+
void MonitorManager::resetProfiles(QString prof) {
m_clipMonitor->resetProfile(prof);
m_projectMonitor->resetProfile(prof);