Changeset View
Changeset View
Standalone View
Standalone View
src/onmonitoritems/rotoscoping/rotowidget.h
Show All 36 Lines | |||||
37 | bool adjustRotoDuration(QByteArray *data, int in, int out); | 37 | bool adjustRotoDuration(QByteArray *data, int in, int out); | ||
38 | 38 | | |||
39 | class RotoWidget : public QWidget | 39 | class RotoWidget : public QWidget | ||
40 | { | 40 | { | ||
41 | Q_OBJECT | 41 | Q_OBJECT | ||
42 | 42 | | |||
43 | public: | 43 | public: | ||
44 | RotoWidget(const QByteArray &data, Monitor *monitor, const ItemInfo &info, const Timecode &t, QWidget *parent = nullptr); | 44 | RotoWidget(const QByteArray &data, Monitor *monitor, const ItemInfo &info, const Timecode &t, QWidget *parent = nullptr); | ||
45 | ~RotoWidget(); | 45 | ~RotoWidget() override; | ||
46 | 46 | | |||
47 | /** @brief Returns the spline(s) in the JSON format used by filter_rotoscoping (MLT). */ | 47 | /** @brief Returns the spline(s) in the JSON format used by filter_rotoscoping (MLT). */ | ||
48 | QByteArray getSpline(); | 48 | QByteArray getSpline(); | ||
49 | 49 | | |||
50 | /** @brief Replaces current data with \param spline (JSON). */ | 50 | /** @brief Replaces current data with \param spline (JSON). */ | ||
51 | void setSpline(const QByteArray &spline, bool notify = true); | 51 | void setSpline(const QByteArray &spline, bool notify = true); | ||
52 | 52 | | |||
53 | /** @brief Passed on to the keyframe timeline. Switches between frames and hh:mm:ss:ff timecode. */ | 53 | /** @brief Passed on to the keyframe timeline. Switches between frames and hh:mm:ss:ff timecode. */ | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |