]> git.sesse.net Git - kdenlive/blob - src/complexparameter.h
update to complexparameter
[kdenlive] / src / complexparameter.h
1 /***************************************************************************
2                           complexparameter.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_keyframewidget_ui.h"
24 #include "clipitem.h"
25 class EffectsList;
26
27
28 class ComplexParameter : public QWidget
29 {
30         Q_OBJECT
31                 
32         public:
33                 ComplexParameter(QWidget *parent=0);
34         
35 private:
36         int activeRow;
37         QList<QDomElement> effects;
38         Ui::KeyframeWidget_UI ui;
39         ClipItem* clipref;
40         void setupListView();
41         void updateButtonStatus();
42         QMap<QString,EffectsList*> effectLists;
43
44 public slots:
45         void slotSetMoveX();
46         void slotSetMoveY();
47         void slotSetNew();
48         void slotSetHelp();
49         void slotShowInTimeline();
50         void slotParameterChanged(const QString&);
51         void itemSelectionChanged();
52         void setupParam(const QDomElement&,int,int);
53 signals:
54         void transferParamDesc(const QDomElement&,int ,int);
55         void removeEffect(ClipItem*, QDomElement);
56         void updateClipEffect(ClipItem*, QDomElement);
57
58 };
59
60 #endif