QWidget *);
virtual int type() const;
void resizeStart(int posx, double speed = 1.0);
- void resizeEnd(int posx, double speed = 1.0, bool updateKeyFrames = true);
+ void resizeEnd(int posx, double speed = 1.0);
OPERATIONTYPE operationMode(QPointF pos);
- const QString &clipProducer() const;
+ const QString clipProducer() const;
int clipType() const;
DocClipBase *baseClip() const;
QString clipName() const;
int effectsCount();
/** return a unique effect id */
int effectsCounter();
- /** return the xml of effect at index ix in stack */
+ /** return a copy of the xml of effect at index ix in stack */
QDomElement effectAt(int ix) const;
+ /** return the xml of effect at index ix in stack */
+ QDomElement getEffectAt(int ix) const;
/** Replace effect at pos ix with given value */
void setEffectAt(int ix, QDomElement effect);
void flashClip();
void setAudioOnly(bool force);
bool isVideoOnly() const;
bool isAudioOnly() const;
+ /** Called when clip start is resized, adjust keyframes values */
+ bool checkEffectsKeyframesPos(const int previous, const int current, bool fromStart);
protected:
//virtual void mouseMoveEvent(QGraphicsSceneMouseEvent * event);
int m_endFade;
bool m_audioOnly;
bool m_videoOnly;
+ QColor m_baseColor;
QPixmap m_startPix;
QPixmap m_endPix;
QMap<int, QPixmap> m_audioThumbCachePic;
bool m_audioThumbReady;
double m_framePixelWidth;
- /** Called when clip start is resized, adjust keyframes values */
- void checkEffectsKeyframesPos(const int previous, const int current, bool fromStart);
+
QPixmap m_videoPix;
QPixmap m_audioPix;