]> git.sesse.net Git - kdenlive/blob - src/complexparameter.h
Reindent the codebase using 'linux' bracket placement.
[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 COMPLEXPARAM_H
19 #define COMPLEXPARAM_H
20
21 #include <KIcon>
22
23 #include "ui_keyframewidget_ui.h"
24
25 class EffectsList;
26 class ClipItem;
27
28 class ComplexParameter : public QWidget
29 {
30     Q_OBJECT
31
32 public:
33     ComplexParameter(QWidget *parent = 0);
34     QDomElement getParamDesc();
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     QDomElement param;
45 public slots:
46     void slotSetMoveX();
47     void slotSetMoveY();
48     void slotSetNew();
49     void slotSetHelp();
50     void slotShowInTimeline();
51     void slotParameterChanged(const QString&);
52     void itemSelectionChanged();
53     void setupParam(const QDomElement&, const QString& paramName, int, int);
54     void slotUpdateEffectParams(QDomElement e);
55     void slotUpdateParameterList(QStringList);
56 signals:
57     void transferParamDesc(const QDomElement&, const QString&, int , int);
58     void removeEffect(ClipItem*, QDomElement);
59     void updateClipEffect(ClipItem*, QDomElement);
60     void parameterChanged();
61
62 };
63
64 #endif