X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Feffectstackedit.h;h=334e4af89d29a9dade12337c94a1b19137197cd2;hb=3e1d40f8f136474656b7ae8b3be2953cf1638456;hp=51211b2e5e1d1231dcace06ff9d75713eb5d4878;hpb=fcff73250b89a2cae226f10dc4266b337e7db284;p=kdenlive diff --git a/src/effectstackedit.h b/src/effectstackedit.h index 51211b2e..334e4af8 100644 --- a/src/effectstackedit.h +++ b/src/effectstackedit.h @@ -18,15 +18,16 @@ #ifndef EFFECTSTACKEDIT_H #define EFFECTSTACKEDIT_H +#include "definitions.h" +#include "timecode.h" + + #include #include #include #include #include -#include "definitions.h" -#include "timecode.h" - enum WIPE_DIRECTON { UP = 0, DOWN = 1, LEFT = 2, RIGHT = 3, CENTER = 4 }; struct wipeInfo { @@ -38,7 +39,7 @@ struct wipeInfo { class QFrame; -class EffectStackEdit : public QWidget +class EffectStackEdit : public QObject { Q_OBJECT public: @@ -47,6 +48,7 @@ public: void updateProjectFormat(MltVideoProfile profile, Timecode t); static QMap iconCache; void updateParameter(const QString &name, const QString &value); + void setFrameSize(QPoint p); class UiItem { @@ -62,16 +64,17 @@ private: QList m_uiItems; QDomElement m_params; QMap m_valueItems; - void createSliderItem(const QString& name, int val , int min, int max); + void createSliderItem(const QString& name, int val , int min, int max, const QString); wipeInfo getWipeInfo(QString value); QString getWipeString(wipeInfo info); MltVideoProfile m_profile; Timecode m_timecode; int m_in; int m_out; + QPoint m_frameSize; public slots: - void transferParamDesc(const QDomElement&, int , int); + void transferParamDesc(const QDomElement, int , int); void slotSliderMoved(int); /** \brief Called whenever(?) some parameter is changed in the gui. * @@ -82,7 +85,7 @@ private slots: void slotSeekToPos(int); signals: - void parameterChanged(const QDomElement&, const QDomElement&); + void parameterChanged(const QDomElement, const QDomElement); void seekTimeline(int); };