X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Feffectstackedit.h;h=ea41b30ff0125f11edc4f68a1ad9dc6e43a1a52f;hb=634e5785b160bbd16d73a7f9b149236b2fd24fed;hp=f1e9613b6bdd8681e293c5548c99b42dc676f1b9;hpb=2e3d7ddd65f439d2cd211d647be3c305173dd336;p=kdenlive diff --git a/src/effectstackedit.h b/src/effectstackedit.h index f1e9613b..ea41b30f 100644 --- a/src/effectstackedit.h +++ b/src/effectstackedit.h @@ -40,6 +40,7 @@ struct wipeInfo { class QFrame; class Monitor; +class GeometryWidget; class EffectStackEdit : public QScrollArea { @@ -56,6 +57,8 @@ public: void setFrameSize(QPoint p); /** @brief Tells the parameters to update their timecode format according to KdenliveSettings. */ void updateTimecodeFormat(); + /** @brief Returns true if this effect wants to keep track of current position in clip. */ + bool effectNeedsSyncPosition() const; private: /** @brief Deletes all parameter widgets. */ @@ -80,10 +83,11 @@ private: QPoint m_frameSize; KeyframeEdit *m_keyframeEditor; Monitor *m_monitor; + GeometryWidget *m_geometryWidget; public slots: /** @brief Called when an effect is selected, builds the UI for this effect. */ - void transferParamDesc(const QDomElement d, int pos, int in, int out, bool isEffect = true); + void transferParamDesc(const QDomElement &d, ItemInfo info, bool isEffect = true); /** @brief Called whenever(?) some parameter is changed in the gui. * @@ -94,12 +98,12 @@ public slots: void slotSyncEffectsPos(int pos); signals: - void parameterChanged(const QDomElement, const QDomElement); + void parameterChanged(const QDomElement &, const QDomElement &); void seekTimeline(int); void displayMessage(const QString&, int); void checkMonitorPosition(int); void syncEffectsPos(int pos); - void showComments(); + void showComments(bool show); void effectStateChanged(bool enabled); };