* @param timecode Timecode needed by timecode display widget
* @param clipPos Position of the clip in timeline
* @param isEffect true if used in an effect, false if used in a transition
* @param timecode Timecode needed by timecode display widget
* @param clipPos Position of the clip in timeline
* @param isEffect true if used in an effect, false if used in a transition
- GeometryWidget(Monitor *monitor, Timecode timecode, int clipPos, bool isEffect, QWidget* parent = 0);
+ GeometryWidget(Monitor *monitor, Timecode timecode, int clipPos, bool isEffect, bool showRotation, QWidget* parent = 0);
virtual ~GeometryWidget();
/** @brief Gets the geometry as a serialized string. */
QString getValue() const;
virtual ~GeometryWidget();
/** @brief Gets the geometry as a serialized string. */
QString getValue() const;
/** @brief Updates the timecode display according to settings (frame number or hh:mm:ss:ff) */
void updateTimecodeFormat();
/** @brief Sets the size of the original clip. */
void setFrameSize(QPoint size);
/** @brief Updates the timecode display according to settings (frame number or hh:mm:ss:ff) */
void updateTimecodeFormat();
/** @brief Sets the size of the original clip. */
void setFrameSize(QPoint size);
public slots:
/** @brief Sets up the rect and the geometry object.
* @param elem DomElement representing this effect parameter
public slots:
/** @brief Sets up the rect and the geometry object.
* @param elem DomElement representing this effect parameter
KeyframeHelper *m_timeline;
/** Stores the different settings in the MLT geometry format. */
Mlt::Geometry *m_geometry;
KeyframeHelper *m_timeline;
/** Stores the different settings in the MLT geometry format. */
Mlt::Geometry *m_geometry;
/** @brief Resizes the rect by @param value (in perecent) compared to the frame size. */
void slotResize(double value);
/** @brief Sets the opacity to @param value. */
/** @brief Resizes the rect by @param value (in perecent) compared to the frame size. */
void slotResize(double value);
/** @brief Sets the opacity to @param value. */