]> git.sesse.net Git - kdenlive/blob - src/complexparameter.h
[PATCH 1/2] Kill a bunch of unused member variables
[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     Ui::KeyframeWidget_UI ui;
37     void setupListView();
38     void updateButtonStatus();
39
40     QDomElement param;
41 public slots:
42     void slotSetMoveX();
43     void slotSetMoveY();
44     void slotSetNew();
45     void slotSetHelp();
46     void slotShowInTimeline();
47     void slotParameterChanged(const QString&);
48     void itemSelectionChanged();
49     void setupParam(const QDomElement&, const QString& paramName, int, int);
50     void slotUpdateEffectParams(QDomElement e);
51     void slotUpdateParameterList(QStringList);
52 signals:
53     void transferParamDesc(const QDomElement&, const QString&, int , int);
54     void removeEffect(ClipItem*, QDomElement);
55     void updateClipEffect(ClipItem*, QDomElement);
56     void parameterChanged();
57
58 };
59
60 #endif