X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcomplexparameter.h;h=b5a7c177fef10fb0202621370c59d3e17b0e78be;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=f00be9a2e2e34632ef1299b895d1599979639603;hpb=f02e3ac02a6aaf7e4174464957bb7e9b5edbbbdb;p=kdenlive diff --git a/src/complexparameter.h b/src/complexparameter.h index f00be9a2..b5a7c177 100644 --- a/src/complexparameter.h +++ b/src/complexparameter.h @@ -15,46 +15,44 @@ * * ***************************************************************************/ -#ifndef EFFECTSTACKVIEW_H -#define EFFECTSTACKVIEW_H +#ifndef COMPLEXPARAM_H +#define COMPLEXPARAM_H #include #include "ui_keyframewidget_ui.h" -#include "clipitem.h" -class EffectsList; +class ClipItem; class ComplexParameter : public QWidget { - Q_OBJECT - - public: - ComplexParameter(QWidget *parent=0); - -private: - int activeRow; - QList effects; - Ui::KeyframeWidget_UI ui; - ClipItem* clipref; - void setupListView(); - void updateButtonStatus(); - QMap effectLists; + Q_OBJECT +public: + explicit ComplexParameter(QWidget *parent = 0); + QDomElement getParamDesc() const; public slots: - void slotSetMoveX(); - void slotSetMoveY(); - void slotSetNew(); - void slotSetHelp(); - void slotShowInTimeline(); - void slotParameterChanged(const QString&); - void itemSelectionChanged(); - void setupParam(const QDomElement&,int,int); + void slotSetMoveX(); + void slotSetMoveY(); + void slotSetNew(); + void slotSetHelp(); + void slotShowInTimeline(); + void slotParameterChanged(const QString&); + void itemSelectionChanged(); + void setupParam(const QDomElement &, const QString& paramName, int, int); + void slotUpdateEffectParams(const QDomElement &e); + void slotUpdateParameterList(const QStringList &); + signals: - void transferParamDesc(const QDomElement&,int ,int); - void removeEffect(ClipItem*, QDomElement); - void updateClipEffect(ClipItem*, QDomElement); + void removeEffect(ClipItem*, const QDomElement &); + void updateClipEffect(ClipItem*, const QDomElement &); + void parameterChanged(); +private: + Ui::KeyframeWidget_UI m_ui; + QDomElement m_param; + void setupListView(); + void updateButtonStatus(); }; #endif