const QStyleOptionGraphicsItem *option,
QWidget *);
virtual int type() const;
- void resizeStart(int posx, bool size = true);
- void resizeEnd(int posx);
+ void resizeStart(int posx, bool size = true, bool emitChange = true);
+ void resizeEnd(int posx, bool emitChange = true);
OPERATIONTYPE operationMode(QPointF pos);
static int itemHeight();
const QString clipProducer() const;
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);
void slotFetchThumbs();
void slotSetStartThumb(const QPixmap pix);
void slotSetEndThumb(const QPixmap pix);
+ void slotUpdateRange();
signals:
- void getThumb(int, int);
void prepareAudioThumb(double, int, int, int);
+ void updateRange();
};
#endif