QtGui/qgraphicsitemanimation.h Source File
Go to the documentation of this file.
42 #ifndef QGRAPHICSITEMANIMATION_H
43 #define QGRAPHICSITEMANIMATION_H
47 #if !defined(QT_NO_GRAPHICSVIEW) || (QT_EDITION & QT_MODULE_GRAPHICSVIEW) != QT_MODULE_GRAPHICSVIEW
59 template <class T1, class T2> struct
QPair;
61 class QGraphicsItemAnimationPrivate;
69 QGraphicsItem *item()
const;
70 void setItem(QGraphicsItem *item);
72 QTimeLine *timeLine()
const;
73 void setTimeLine(QTimeLine *timeLine);
75 QPointF posAt(qreal step)
const;
77 void setPosAt(qreal step,
const QPointF &pos);
79 QMatrix matrixAt(qreal step)
const;
81 qreal rotationAt(qreal step)
const;
83 void setRotationAt(qreal step, qreal angle);
85 qreal xTranslationAt(qreal step)
const;
86 qreal yTranslationAt(qreal step)
const;
88 void setTranslationAt(qreal step, qreal
dx, qreal
dy);
90 qreal verticalScaleAt(qreal step)
const;
91 qreal horizontalScaleAt(qreal step)
const;
93 void setScaleAt(qreal step, qreal sx, qreal sy);
95 qreal verticalShearAt(qreal step)
const;
96 qreal horizontalShearAt(qreal step)
const;
98 void setShearAt(qreal step, qreal sh, qreal sv);
103 void setStep(qreal
x);
107 virtual void beforeAnimationStep(qreal step);
108 virtual void afterAnimationStep(qreal step);
112 QGraphicsItemAnimationPrivate *d;
119 #endif // QT_NO_GRAPHICSVIEW
#define QT_BEGIN_NAMESPACE