]> git.sesse.net Git - kdenlive/blobdiff - src/effectstackview.h
Add settings to new geometry widget:
[kdenlive] / src / effectstackview.h
index 7c66ca13a9ff50b4494d4fbac85419c3c1f3b48d..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 */
@@ -69,7 +71,7 @@ public slots:
     * @param c Clip whose effect list should be managed
     * @param ix Effect to preselect */
     void slotClipItemSelected(ClipItem* c, int ix);
-    
+
     /** @brief Emits updateClipEffect.
     * @param old Old effect information
     * @param e New effect information
@@ -111,6 +113,15 @@ private slots:
     /** @brief Sets the check state of all effects according to @param state. */
     void slotCheckAll(int state);
 
+    /** @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 */
@@ -126,6 +137,9 @@ signals:
     void reloadEffects();
     /** An effect with position parameter was changed, seek */
     void seekTimeline(int);
+    /** The region effect for current effect was changed */
+    void updateClipRegion(ClipItem*, int, QString);
+    void displayMessage(const QString&, int);
 };
 
 #endif