m_timePos = new TimecodeDisplay(m_monitorManager->timecode(), this);
m_toolbar->addWidget(m_timePos);
connect(m_timePos, SIGNAL(timeCodeEditingFinished()), this, SLOT(slotSeek()));
- m_toolbar->setMaximumHeight(s * 1.5);
+ m_toolbar->setMaximumHeight(m_timePos->height());
layout->addWidget(m_toolbar);
}
}
}
+void Monitor::setMarkers(QList <CommentedTime> markers)
+{
+ m_ruler->setMarkers(markers);
+}
+
void Monitor::slotSeekToPreviousSnap()
{
if (m_currentClip) slotSeek(getSnapForPos(true).frames(m_monitorManager->timecode().fps()));
slotActivateMonitor();
if (position == -1) position = render->seekFramePosition();
render->seek(position);
+ if (zone.isNull()) {
+ zone = m_currentClip->zone();
+ m_ruler->setZone(zone.x(), zone.y());
+ return;
+ }
}
}
if (!zone.isNull()) {