-public:
- MySpinBox(QWidget * parent = 0);
-
-protected:
- virtual void focusInEvent(QFocusEvent*);
- virtual void focusOutEvent(QFocusEvent*);
-};
-
-class ParameterContainer : public QObject
-{
- Q_OBJECT
-
-public:
- ParameterContainer(QDomElement effect, ItemInfo info, EffectMetaInfo *metaInfo, QWidget * parent = 0);
- ~ParameterContainer();
- void updateTimecodeFormat();
- void updateProjectFormat(MltVideoProfile profile, Timecode t);
-
-private slots:
- void slotCollectAllParameters();
- void slotStartFilterJobAction();
-
-private:
- /** @brief Updates parameter @param name according to new value of dependency.
- * @param name Name of the parameter which will be updated
- * @param type Type of the parameter which will be updated
- * @param value Value of the dependency parameter */
- void meetDependency(const QString& name, QString type, QString value);
- wipeInfo getWipeInfo(QString value);
- QString getWipeString(wipeInfo info);
-
- int m_in;
- int m_out;
- QList<QWidget*> m_uiItems;
- QMap<QString, QWidget*> m_valueItems;
- Timecode m_timecode;
- KeyframeEdit *m_keyframeEditor;
- GeometryWidget *m_geometryWidget;
- EffectMetaInfo *m_metaInfo;
- QDomElement m_effect;
- QVBoxLayout *m_vbox;
-
-signals:
- void parameterChanged(const QDomElement, const QDomElement, int);
- void syncEffectsPos(int);
- void effectStateChanged(bool);
- void checkMonitorPosition(int);
- void seekTimeline(int);
- void showComments(bool);
- /** @brief Start an MLT filter job on this clip. */
- void startFilterJob(QString filterName, QString filterParams, QString finalFilterName, QString consumer, QString consumerParams, QString properties);
-
-};