X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcomplexparameter.h;h=b5a7c177fef10fb0202621370c59d3e17b0e78be;hb=56aee6aedeeed3efd10ada8fe3c229eddc01ef05;hp=118c265bd9cd3870f1796342bfbfdf819614fd7d;hpb=b3bee700d4fdfd373b3897e0b03db9a0466cc10c;p=kdenlive diff --git a/src/complexparameter.h b/src/complexparameter.h index 118c265b..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 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