]> git.sesse.net Git - kdenlive/blob - src/effectstackview.h
effectstack can add self effects
[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
23 #include "ui_effectstack_ui.h"
24 #include "clipitem.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         QStringList effects;
38         Ui::EffectStack_UI ui;
39         ClipItem* clipref;
40         void setupListView(const QStringList& );
41         void updateButtonStatus();
42         QMap<QString,EffectsList*> effectLists;
43
44 public slots:
45         void slotClipItemSelected(ClipItem*);
46         void slotItemSelectionChanged();
47         void slotItemUp();
48         void slotItemDown();
49         void slotItemDel();
50         void slotSetMoveX();
51         void slotSetMoveY();
52         void slotSetNew();
53         void slotNewEffect();
54         void slotSetHelp();
55         void slotShowInTimeline();
56         void slotParameterChanged(const QString&);
57         void itemSelectionChanged();
58 };
59
60 #endif