int transitionEndTrack() const;
bool hasClip(const ClipItem * clip) const;
bool belongsToClip(const ClipItem * clip) const;
- bool invertedTransition() const;
QString transitionTag() const;
QStringList transitionInfo() const;
OPERATIONTYPE operationMode(QPointF pos);
static int itemOffset();
//const QMap < QString, QString > transitionParameters() const;
void setTransitionParameters(const QDomElement params);
- void setTransitionDirection(bool inv);
void setTransitionTrack(int track);
- //Transition *reparent(ClipItem * clip);
- bool isValid() const;
/** @brief Links the transition to another track.
*
void setAutomatic(bool automatic);
bool hasGeometry();
int defaultZValue() const;
- /** @brief When a transition is resized, check if keyframes are out of the transition and fix if necessary. */
- bool updateKeyframes();
+ /** @brief When a transition is resized, check if keyframes are out of the transition and fix if necessary.
+ * @param oldEnd the previous transition end, so that when we expand the transition, if there is a keyframe at end we move it
+ */
+ bool updateKeyframes(int oldEnd);
protected:
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value);