]> git.sesse.net Git - kdenlive/blobdiff - src/effectstackview.h
Geometry Widget:
[kdenlive] / src / effectstackview.h
index 20d2a2440ad40313b30d5cace3813781fd708e43..11b0c58cc236fe45b4407d7bce27e70d71c91897 100644 (file)
 class EffectsList;
 class ClipItem;
 class MltVideoProfile;
+class Monitor;
 
 class EffectStackView : public QWidget
 {
     Q_OBJECT
 
 public:
-    EffectStackView(QWidget *parent = 0);
+    EffectStackView(Monitor *monitor, QWidget *parent = 0);
     virtual ~EffectStackView();
 
     /** @brief Raises @param dock if a clip is loaded. */
@@ -59,6 +60,7 @@ private:
     ClipItem* m_clipref;
     QMap<QString, EffectsList*> m_effectLists;
     EffectStackEdit* m_effectedit;
+    Monitor *m_monitor;
 
     /** @brief Sets the list of effects according to the clip's effect list.
     * @param ix Number of the effect to preselect */
@@ -114,6 +116,12 @@ private slots:
     /** @brief Define the region filter for current effect. */
     void slotRegionChanged();
 
+    /** @brief Checks whether the monitor scene has to be displayed. */
+    void slotCheckMonitorPosition(int renderPos);
+
+    /** @brief Pass position changes of the timeline cursor to the effects to keep their local timelines in sync. */
+    void slotRenderPos(int pos);
+
 signals:
     void removeEffect(ClipItem*, QDomElement);
     /**  Parameters for an effect changed, update the filter in playlist */
@@ -131,6 +139,7 @@ signals:
     void seekTimeline(int);
     /** The region effect for current effect was changed */
     void updateClipRegion(ClipItem*, int, QString);
+    void displayMessage(const QString&, int);
 };
 
 #endif