#ifndef PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H #define PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtShell_QGraphicsItemAnimation : public QGraphicsItemAnimation { public: PythonQtShell_QGraphicsItemAnimation(QObject* parent = 0):QGraphicsItemAnimation(parent),_wrapper(NULL) {}; virtual void afterAnimationStep(qreal step); virtual void beforeAnimationStep(qreal step); virtual void childEvent(QChildEvent* arg__1); virtual void customEvent(QEvent* arg__1); virtual bool event(QEvent* arg__1); virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); virtual void timerEvent(QTimerEvent* arg__1); PythonQtInstanceWrapper* _wrapper; }; class PythonQtPublicPromoter_QGraphicsItemAnimation : public QGraphicsItemAnimation { public: inline void promoted_beforeAnimationStep(qreal step) { QGraphicsItemAnimation::beforeAnimationStep(step); } inline void promoted_afterAnimationStep(qreal step) { QGraphicsItemAnimation::afterAnimationStep(step); } }; class PythonQtWrapper_QGraphicsItemAnimation : public QObject { Q_OBJECT public: public slots: QGraphicsItemAnimation* new_QGraphicsItemAnimation(QObject* parent = 0); void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } qreal rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; void setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle); qreal verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; QList > scaleList(QGraphicsItemAnimation* theWrappedObject) const; qreal yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; qreal horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; qreal xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; void setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos); void setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy); void beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); qreal verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; QList > rotationList(QGraphicsItemAnimation* theWrappedObject) const; void setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine); QGraphicsItem* item(QGraphicsItemAnimation* theWrappedObject) const; QList > posList(QGraphicsItemAnimation* theWrappedObject) const; void setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy); QTimeLine* timeLine(QGraphicsItemAnimation* theWrappedObject) const; void setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item); QMatrix matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; void setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv); QList > translationList(QGraphicsItemAnimation* theWrappedObject) const; QList > shearList(QGraphicsItemAnimation* theWrappedObject) const; qreal horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; QPointF posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; void afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); void clear(QGraphicsItemAnimation* theWrappedObject); }; #endif // PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H