#define EFFECTSTACKVIEW2_H
#include "ui_effectstack2_ui.h"
-#include "effectstackedit.h"
#include "collapsibleeffect.h"
#include "collapsiblegroup.h"
/** @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);
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.
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);