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. */
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 */
* @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
/** @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 */
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