Changeset View
Changeset View
Standalone View
Standalone View
src/effectstack/widgets/positionwidget.h
Show All 36 Lines | 33 | public: | |||
---|---|---|---|---|---|
37 | * @param min Minimum time value | 37 | * @param min Minimum time value | ||
38 | * @param max maximum time value | 38 | * @param max maximum time value | ||
39 | * @param tc Timecode object to define time format | 39 | * @param tc Timecode object to define time format | ||
40 | * @param comment (optional) A comment explaining the parameter. Will be shown in a tooltip. | 40 | * @param comment (optional) A comment explaining the parameter. Will be shown in a tooltip. | ||
41 | * @param parent (optional) Parent Widget */ | 41 | * @param parent (optional) Parent Widget */ | ||
42 | explicit PositionWidget(const QString &name, int pos, int min, int max, | 42 | explicit PositionWidget(const QString &name, int pos, int min, int max, | ||
43 | const Timecode &tc, const QString &comment = QString(), | 43 | const Timecode &tc, const QString &comment = QString(), | ||
44 | QWidget *parent = nullptr); | 44 | QWidget *parent = nullptr); | ||
45 | ~PositionWidget(); | 45 | ~PositionWidget() override; | ||
46 | /** @brief get current position | 46 | /** @brief get current position | ||
47 | */ | 47 | */ | ||
48 | int getPosition() const; | 48 | int getPosition() const; | ||
49 | /** @brief set position | 49 | /** @brief set position | ||
50 | */ | 50 | */ | ||
51 | void setPosition(int pos); | 51 | void setPosition(int pos); | ||
52 | /** @brief Call this when the timecode has been changed project-wise | 52 | /** @brief Call this when the timecode has been changed project-wise | ||
53 | */ | 53 | */ | ||
Show All 24 Lines |