]> git.sesse.net Git - kdenlive/blobdiff - src/effectstackedit.h
Minor improvements to keyframe widget, allow resetting keyframes
[kdenlive] / src / effectstackedit.h
index e6b5efbd5e202330c22d576f12db9d05c946c3f0..499fe8edbc798d4cace6bce92a53b5626a543a6b 100644 (file)
@@ -38,7 +38,7 @@ class EffectStackEdit : public QScrollArea
 {
     Q_OBJECT
 public:
-    EffectStackEdit(Monitor *monitor, QWidget *parent = 0);
+    explicit EffectStackEdit(Monitor *monitor, QWidget *parent = 0);
     ~EffectStackEdit();
     void updateProjectFormat(MltVideoProfile profile, Timecode t);
     static QMap<QString, QImage> iconCache;
@@ -54,10 +54,12 @@ public:
     Monitor *monitor();
     /** @brief Install event filter so that scrolling with mouse wheel does not change parameter value. */
     virtual bool eventFilter( QObject * o, QEvent * e );
+    /** @brief Returns true if this transition requires an on monitor scene. */
+    bool needsMonitorEffectScene() const;
+    /** @brief Set keyframes for this transition. */
+    void setKeyframes(const QString &data, int maximum);
 
 private:
-    int m_in;
-    int m_out;
     Monitor *m_monitor;
     EffectMetaInfo m_metaInfo;
     QWidget *m_baseWidget;
@@ -79,7 +81,8 @@ signals:
     void showComments(bool show);
     void effectStateChanged(bool enabled);
     /** @brief Start an MLT filter job on this clip. */
-    void startFilterJob(const QString &filterName, const QString &filterParams, const QString &finalFilterName, const QString &consumer, const QString &consumerParams, const QString &properties);
+    void startFilterJob(const QString &filterName, const QString &filterParams, const QString &consumer, const QString &consumerParams, const QMap <QString, QString>);
+    void importClipKeyframes(GRAPHICSRECTITEM = AVWIDGET);
 };
 
 #endif