X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftransitionsettings.h;h=efe0188e1e53031e1ce800158f5c6b6369042573;hb=3b176bab2ad91159c0a4a7dbe5f278f646115218;hp=81d652c110ce228dd401898f7bb275160f5f52e8;hpb=706d22f3a96b9dd1fa19e84e58ec4aaf3d9d67bc;p=kdenlive diff --git a/src/transitionsettings.h b/src/transitionsettings.h index 81d652c1..efe0188e 100644 --- a/src/transitionsettings.h +++ b/src/transitionsettings.h @@ -33,10 +33,11 @@ class TransitionSettings : public QWidget, public Ui::TransitionSettings_UI Q_OBJECT public: - TransitionSettings(Monitor *monitor, QWidget* parent = 0); + explicit TransitionSettings(Monitor *monitor, QWidget* parent = 0); void raiseWindow(QWidget*); void updateProjectFormat(MltVideoProfile profile, Timecode t, const QList info); void updateTimecodeFormat(); + void setKeyframes(const QString data, int maximum); private: EffectStackEdit *m_effectEdit; @@ -50,17 +51,20 @@ private: public slots: void slotTransitionItemSelected(Transition* t, int nextTrack, QPoint p, bool update); void slotTransitionChanged(bool reinit = true, bool updateCurrent = false); - void slotUpdateEffectParams(const QDomElement&, const QDomElement&); + void slotUpdateEffectParams(const QDomElement, const QDomElement); private slots: /** @brief Sets the new B track for the transition (automatic or forced). */ void slotTransitionTrackChanged(); - /** @brief Pass position changes in project monitor/timline to the effects to keep their local timelines in sync. */ + /** @brief Pass position changes of the timeline cursor to the effects to keep their local timelines in sync. */ void slotRenderPos(int pos); + void slotSeekTimeline(int pos); + void slotCheckMonitorPosition(int renderPos); signals: void transitionUpdated(Transition *, QDomElement); void seekTimeline(int); + void importClipKeyframes(GRAPHICSRECTITEM = TRANSITIONWIDGET); }; #endif