Changeset View
Changeset View
Standalone View
Standalone View
src/effectstack/collapsibleeffect.h
Show All 37 Lines | |||||
38 | */ | 38 | */ | ||
39 | 39 | | |||
40 | class CollapsibleEffect : public AbstractCollapsibleWidget | 40 | class CollapsibleEffect : public AbstractCollapsibleWidget | ||
41 | { | 41 | { | ||
42 | Q_OBJECT | 42 | Q_OBJECT | ||
43 | 43 | | |||
44 | public: | 44 | public: | ||
45 | explicit CollapsibleEffect(const QDomElement &effect, const QDomElement &original_effect, const ItemInfo &info, EffectMetaInfo *metaInfo, bool canMoveUp, bool lastEffect, QWidget *parent = nullptr); | 45 | explicit CollapsibleEffect(const QDomElement &effect, const QDomElement &original_effect, const ItemInfo &info, EffectMetaInfo *metaInfo, bool canMoveUp, bool lastEffect, QWidget *parent = nullptr); | ||
46 | ~CollapsibleEffect(); | 46 | ~CollapsibleEffect() override; | ||
47 | QLabel *title; | 47 | QLabel *title; | ||
48 | 48 | | |||
49 | void setupWidget(const ItemInfo &info, EffectMetaInfo *metaInfo); | 49 | void setupWidget(const ItemInfo &info, EffectMetaInfo *metaInfo); | ||
50 | void updateTimecodeFormat(); | 50 | void updateTimecodeFormat(); | ||
51 | void setActive(bool activate) Q_DECL_OVERRIDE; | 51 | void setActive(bool activate) Q_DECL_OVERRIDE; | ||
52 | /** @brief Install event filter so that scrolling with mouse wheel does not change parameter value. */ | 52 | /** @brief Install event filter so that scrolling with mouse wheel does not change parameter value. */ | ||
53 | bool eventFilter(QObject *o, QEvent *e) Q_DECL_OVERRIDE; | 53 | bool eventFilter(QObject *o, QEvent *e) Q_DECL_OVERRIDE; | ||
54 | /** @brief Update effect GUI to reflect parameted changes. */ | 54 | /** @brief Update effect GUI to reflect parameted changes. */ | ||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |