showTips->setCheckable(true);
connect(showTips, SIGNAL(toggled(bool)), this, SLOT(slotSwitchMonitorInfo(bool)));
showTips->setChecked(KdenliveSettings::displayMonitorInfo());
+
+ QAction *dropFrames = m_contextMenu->addAction(KIcon(), i18n("Real time (drop frames)"));
+ dropFrames->setCheckable(true);
+ dropFrames->setChecked(true);
+ connect(dropFrames, SIGNAL(toggled(bool)), this, SLOT(slotSwitchDropFrames(bool)));
+
m_configMenu->addAction(showTips);
+ m_configMenu->addAction(dropFrames);
}
m_currentClip->setZone(pos);
}
+void Monitor::slotSwitchDropFrames(bool show)
+{
+ render->setDropFrames(show);
+}
+
void Monitor::slotSwitchMonitorInfo(bool show)
{
KdenliveSettings::setDisplayMonitorInfo(show);
}
}
+
MonitorRefresh::MonitorRefresh(QWidget* parent) : \
QWidget(parent),
m_renderer(NULL)