1 /***************************************************************************
2 effecstackview.h - description
5 copyright : (C) 2008 by Marco Gittler
6 email : g.marco@freenet.de
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
18 #ifndef EFFECTSTACKVIEW_H
19 #define EFFECTSTACKVIEW_H
22 #include "ui_effectstack_ui.h"
23 #include "effectstackedit.h"
27 class EffectStackView : public QWidget
32 EffectStackView(EffectsList *audioEffectList, EffectsList *videoEffectList, EffectsList *customEffectList, QWidget *parent=0);
35 Ui::EffectStack_UI ui;
37 QMap<QString,EffectsList*> effectLists;
38 EffectStackEdit* effectedit;
40 void updateButtonStatus();
43 void slotClipItemSelected(ClipItem*);
44 void slotUpdateEffectParams(const QDomElement&, const QDomElement&);
47 void slotItemSelectionChanged();
52 void slotResetEffect();
53 void slotItemChanged(QListWidgetItem *item);
56 void transferParamDesc(const QDomElement&,int ,int);
57 void removeEffect(ClipItem*, QDomElement);
58 /** Parameters for an effect changed, update the filter in playlist */
59 void updateClipEffect(ClipItem*, QDomElement, QDomElement);
60 /** An effect in stack was moved, we need to regenerate
61 all effects for this clip in the playlist */
62 void refreshEffectStack(ClipItem *);
63 /** Enable or disable an effect */
64 void changeEffectState(ClipItem*, QDomElement, bool);