]> git.sesse.net Git - kdenlive/blob - src/complexparameter.h
Fix label
[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 ClipItem;
26
27 class ComplexParameter : public QWidget
28 {
29     Q_OBJECT
30 public:
31     explicit ComplexParameter(QWidget *parent = 0);
32     QDomElement getParamDesc() const;
33
34 public slots:
35     void slotSetMoveX();
36     void slotSetMoveY();
37     void slotSetNew();
38     void slotSetHelp();
39     void slotShowInTimeline();
40     void slotParameterChanged(const QString&);
41     void itemSelectionChanged();
42     void setupParam(const QDomElement &, const QString& paramName, int, int);
43     void slotUpdateEffectParams(const QDomElement &e);
44     void slotUpdateParameterList(const QStringList &);
45
46 signals:
47     void removeEffect(ClipItem*, const QDomElement &);
48     void updateClipEffect(ClipItem*, const QDomElement &);
49     void parameterChanged();
50
51 private:
52     Ui::KeyframeWidget_UI m_ui;
53     QDomElement m_param;
54     void setupListView();
55     void updateButtonStatus();
56 };
57
58 #endif