1 /***************************************************************************
2 complexparameter.h - description
5 copyright : (C) 2008 by Marco Gittler
6 email : g.marco@freenet.de
7 ***************************************************************************/
9 /***************************************************************************
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. *
16 ***************************************************************************/
18 #ifndef COMPLEXPARAM_H
19 #define COMPLEXPARAM_H
23 #include "ui_keyframewidget_ui.h"
28 class ComplexParameter : public QWidget {
32 ComplexParameter(QWidget *parent = 0);
33 QDomElement getParamDesc();
36 QList<QDomElement> effects;
37 Ui::KeyframeWidget_UI ui;
40 void updateButtonStatus();
41 QMap<QString, EffectsList*> effectLists;
49 void slotShowInTimeline();
50 void slotParameterChanged(const QString&);
51 void itemSelectionChanged();
52 void setupParam(const QDomElement&, const QString& paramName, int, int);
53 void slotUpdateEffectParams(QDomElement e);
54 void slotUpdateParameterList(QStringList);
56 void transferParamDesc(const QDomElement&, const QString&, int , int);
57 void removeEffect(ClipItem*, QDomElement);
58 void updateClipEffect(ClipItem*, QDomElement);
59 void parameterChanged();