]> git.sesse.net Git - kdenlive/blob - src/effectstackview.h
use and save order of filters
[kdenlive] / src / effectstackview.h
1 /***************************************************************************
2                           effecstackview.h  -  description
3                              -------------------
4     begin                : Feb 15 2008
5     copyright            : (C) 2008 by Marco Gittler
6     email                : g.marco@freenet.de
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
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.                                   *
15  *                                                                         *
16  ***************************************************************************/
17
18 #ifndef EFFECTSTACKVIEW_H
19 #define EFFECTSTACKVIEW_H
20
21 #include <KIcon>
22 #include "clipitem.h"
23 #include "ui_effectstack_ui.h"
24 #include "effectstackedit.h"
25 class EffectsList;
26
27
28 class EffectStackView : public QWidget
29 {
30         Q_OBJECT
31                 
32         public:
33                 EffectStackView(EffectsList *audioEffectList, EffectsList *videoEffectList, EffectsList *customEffectList, QWidget *parent=0);
34         
35 private:
36         int activeRow;
37         QMap<int,QDomElement> effects;
38         Ui::EffectStack_UI ui;
39         ClipItem* clipref;
40         void setupListView();
41         void updateButtonStatus();
42         QMap<QString,EffectsList*> effectLists;
43         EffectStackEdit* effectedit;
44         void renumberEffects();
45 public slots:
46         void slotClipItemSelected(ClipItem*);
47         void slotItemSelectionChanged();
48         void slotItemUp();
49         void slotItemDown();
50         void slotItemDel();
51         void slotNewEffect();
52         void itemSelectionChanged();
53         void slotUpdateEffectParams(const QDomElement&);
54 signals:
55         void transferParamDesc(const QDomElement&,int ,int);
56         void removeEffect(ClipItem*, QDomElement);
57         void updateClipEffect(ClipItem*, QDomElement);
58
59 };
60
61 #endif