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