void movedKeyframe(QDomElement effect, int oldpos, int newpos, double value);
void updateKeyframes(QDomElement effect);
void updateGeometryKeyframes(QDomElement effect, int paramIndex, int width, int height, ItemInfo oldInfo);
- bool updateNormalKeyframes(QDomElement parameter);
+ bool updateNormalKeyframes(QDomElement parameter, ItemInfo oldInfo);
/** @brief Adjusts effects after a clip duration change. */
QMap<int, QDomElement> adjustEffectsToDuration(int width, int height, ItemInfo oldInfo);
/** @brief Get a free index value for effect group. */
int nextFreeEffectGroupIndex() const;
+ /** @brief Set this clip as the main selected clip (or not). */
+ void setMainSelectedClip(bool selected);
+ /** @brief Is this clip selected as the main clip. */
+ bool isMainSelectedClip();
protected:
//virtual void mouseMoveEvent(QGraphicsSceneMouseEvent * event);
/** @brief Keyframes type can be "keyframe" or "simplekeyframe" which have to be painted differently.
* True if keyframe type is "keyframe" */
bool m_limitedKeyFrames;
+ /** @brief True if this is the last clip the user selected */
+ bool m_isMainSelectedClip;
private slots:
void slotGetStartThumb();