Changeset View
Changeset View
Standalone View
Standalone View
src/simplekeyframes/simplekeyframewidget.h
Show All 27 Lines | |||||
28 | class QToolButton; | 28 | class QToolButton; | ||
29 | 29 | | |||
30 | class SimpleKeyframeWidget : public QWidget | 30 | class SimpleKeyframeWidget : public QWidget | ||
31 | { | 31 | { | ||
32 | Q_OBJECT | 32 | Q_OBJECT | ||
33 | 33 | | |||
34 | public: | 34 | public: | ||
35 | explicit SimpleKeyframeWidget(const Timecode &t, int duration, QWidget *parent = nullptr); | 35 | explicit SimpleKeyframeWidget(const Timecode &t, int duration, QWidget *parent = nullptr); | ||
36 | ~SimpleKeyframeWidget(); | 36 | ~SimpleKeyframeWidget() override; | ||
37 | 37 | | |||
38 | int getPosition() const; | 38 | int getPosition() const; | ||
39 | void setKeyframes(const QList<int> &keyframes); | 39 | void setKeyframes(const QList<int> &keyframes); | ||
40 | void addKeyframe(int pos = -1); | 40 | void addKeyframe(int pos = -1); | ||
41 | 41 | | |||
42 | void updateTimecodeFormat(); | 42 | void updateTimecodeFormat(); | ||
43 | 43 | | |||
44 | public slots: | 44 | public slots: | ||
Show All 20 Lines |