geom->updateTimecodeFormat();
}
break;
- }
- if (type == "position") {
+ } else if (type == "position") {
PositionEdit *posi = ((PositionEdit*)m_valueItems[paramName+"position"]);
posi->updateTimecodeFormat();
break;
+ } else if (type == "roto-spline") {
+ RotoWidget *widget = static_cast<RotoWidget *>(m_valueItems[paramName]);
+ widget->updateTimecodeFormat();
}
}
}
emit valueChanged();
}
+void RotoWidget::updateTimecodeFormat()
+{
+ m_keyframeWidget->updateTimecodeFormat();
+}
+
#include "rotowidget.moc"
virtual ~RotoWidget();
QString getSpline();
+ void updateTimecodeFormat();
public slots:
/** @brief Switches from normal monitor to monitor scene according to @param show. */
blockSignals(false);
}
+void SimpleKeyframeWidget::updateTimecodeFormat()
+{
+ m_time->slotUpdateTimeCodeFormat();
+}
#include "simplekeyframewidget.moc"
void setKeyframes(const QList <int> &keyframes);
void addKeyframe(int pos = -1);
+ void updateTimecodeFormat();
+
public slots:
void slotSetPosition(int pos = -1, bool update = true);