X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgeometrywidget.h;h=aaa82b9745759a3002430f7de778cf5eeaa3ccfa;hb=604434de173b7c8ad677fb5331a72dc4effd469e;hp=cdd01cd6427a3cfe482ac7f06aeab6d6d52fcc8e;hpb=f694ca2820be2eb00f589edbbe97f61218df92bd;p=kdenlive diff --git a/src/geometrywidget.h b/src/geometrywidget.h index cdd01cd6..aaa82b97 100644 --- a/src/geometrywidget.h +++ b/src/geometrywidget.h @@ -59,6 +59,7 @@ public: void setFrameSize(QPoint size); void addParameter(const QDomElement elem); void importKeyframes(const QString &data, int maximum); + int currentPosition() const; public slots: /** @brief Sets up the rect and the geometry object. @@ -69,6 +70,9 @@ public slots: /** @brief Updates position of the local timeline to @param relTimelinePos. */ void slotSyncPosition(int relTimelinePos); void slotResetKeyframes(); + void slotResetNextKeyframes(); + void slotResetPreviousKeyframes(); + void slotUpdateRange(int inPoint, int outPoint); private: Ui::GeometryWidget_UI m_ui; @@ -173,6 +177,8 @@ private slots: void slotFitToHeight(); /** @brief Show / hide previous keyframe in monitor scene. */ void slotShowPreviousKeyFrame(bool show); + /** @brief Show / hide keyframe path in monitor scene. */ + void slotShowPath(bool show); signals: void parameterChanged();