#define ROTOWIDGET_H
#include "definitions.h"
-#include "bpoint.h"
+#include "beziercurve/bpoint.h"
#include "timecode.h"
#include <QWidget>
Q_OBJECT
public:
- RotoWidget(QString data, Monitor *monitor, ItemInfo info, Timecode t, QWidget* parent = 0);
+ RotoWidget(const QString &data, Monitor *monitor, ItemInfo info, Timecode t, QWidget* parent = 0);
virtual ~RotoWidget();
/** @brief Returns the spline(s) in the JSON format used by filter_rotoscoping (MLT). */
QString getSpline();
/** @brief Replaces current data with \param spline (JSON). */
- void setSpline(QString spline, bool notify = true);
+ void setSpline(const QString &spline, bool notify = true);
/** @brief Passed on to the keyframe timeline. Switches between frames and hh:mm:ss:ff timecode. */
void updateTimecodeFormat();
public slots:
- /** @brief Switches from normal monitor to monitor scene according to @param show. */
- void slotShowScene(bool show = true);
/** @brief Updates the on-monitor item. */
void slotSyncPosition(int relTimelinePos);
signals:
void valueChanged();
- void checkMonitorPosition(int);
void seekToPos(int pos);
void keyframeTimelineFullUpdate();
private slots:
- /** @brief Makes sure the monitor effect scene is only visible if the clip this geometry belongs to is visible.
- * @param renderPos Postion of the Monitor / Timeline cursor */
- void slotCheckMonitorPosition(int renderPos);
/** @brief Updates/Creates the spline at @param pos based on the on-monitor items. */
void slotUpdateData(int pos = -1, bool editing = false);