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 */
/** @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 seekTimeline(int);
/** The region effect for current effect was changed */
void updateClipRegion(ClipItem*, int, QString);
+ void displayMessage(const QString&, int);
};
#endif