]> git.sesse.net Git - kdenlive/blobdiff - src/effectstack/effectstackview2.h
Cleanup effect stack (part 2) - show monitor scene when required
[kdenlive] / src / effectstack / effectstackview2.h
index 3de1b69c676e0848690845c2d71842acc967be00..1166fa8d48769d46aac770d78954ca98584c7954 100644 (file)
@@ -25,7 +25,6 @@
 #define EFFECTSTACKVIEW2_H
 
 #include "ui_effectstack2_ui.h"
-#include "effectstackedit.h"
 #include "collapsibleeffect.h"
 #include "collapsiblegroup.h"
 
@@ -72,6 +71,9 @@ public:
     
     /** @brief Process dropped xml effect. */
     void processDroppedEffect(QDomElement e, QDropEvent *event);
+    
+    /** @brief Return the stylesheet required for effect parameters. */
+    static const QString getStyleSheet();
 
 protected:
     virtual void mouseMoveEvent(QMouseEvent * event);
@@ -117,6 +119,8 @@ private:
     void connectEffect(CollapsibleEffect *currentEffect);
     /** @brief Connect a group to its signals. */
     void connectGroup(CollapsibleGroup *group);
+    /** @brief Returns the currentl active effect. */
+    CollapsibleEffect *currentEffect() const;
 
 public slots:
     /** @brief Sets the clip whose effect list should be managed.
@@ -143,9 +147,9 @@ private slots:
     void slotUpdateEffectParams(const QDomElement old, const QDomElement e, int ix);
 
     /** @brief Move an effect in the stack.
-     * @param index The effect index in the stack
+     * @param indexes The list of effect index in the stack
      * @param up true if we want to move effect up, false for down */
-    void slotMoveEffectUp(int index, bool up);
+    void slotMoveEffectUp(QList <int> indexes, bool up);
 
     /** @brief Delete an effect in the stack. */
     void slotDeleteEffect(const QDomElement effect);