PythonQtWrapper_QGraphicsItemAnimation.h
78 lines
| 3.8 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H | ||
#define PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H | ||||
#include <qgraphicsitemanimation.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QPair> | ||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qgraphicsitem.h> | ||||
#include <qgraphicsitemanimation.h> | ||||
#include <qlist.h> | ||||
#include <qmatrix.h> | ||||
#include <qobject.h> | ||||
#include <qpair.h> | ||||
#include <qpoint.h> | ||||
#include <qtimeline.h> | ||||
florianlink
|
r24 | 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: | ||||
florianlink
|
r28 | inline void promoted_beforeAnimationStep(qreal step) { QGraphicsItemAnimation::beforeAnimationStep(step); } | ||
florianlink
|
r73 | inline void promoted_afterAnimationStep(qreal step) { QGraphicsItemAnimation::afterAnimationStep(step); } | ||
florianlink
|
r24 | }; | ||
florianlink
|
r13 | class PythonQtWrapper_QGraphicsItemAnimation : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QGraphicsItemAnimation* new_QGraphicsItemAnimation(QObject* parent = 0); | ||||
void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; } | ||||
florianlink
|
r73 | qreal rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; | ||
void setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle); | ||||
qreal verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; | ||||
QList<QPair<qreal , QPointF > > 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; | ||||
florianlink
|
r28 | void setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos); | ||
florianlink
|
r73 | void setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy); | ||
void beforeAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); | ||||
qreal verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; | ||||
QList<QPair<qreal , qreal > > rotationList(QGraphicsItemAnimation* theWrappedObject) const; | ||||
florianlink
|
r28 | void setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine); | ||
florianlink
|
r73 | QGraphicsItem* item(QGraphicsItemAnimation* theWrappedObject) const; | ||
florianlink
|
r28 | QList<QPair<qreal , QPointF > > posList(QGraphicsItemAnimation* theWrappedObject) const; | ||
void setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy); | ||||
QTimeLine* timeLine(QGraphicsItemAnimation* theWrappedObject) const; | ||||
florianlink
|
r24 | void setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item); | ||
QMatrix matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; | ||||
florianlink
|
r73 | void setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv); | ||
florianlink
|
r24 | QList<QPair<qreal , QPointF > > translationList(QGraphicsItemAnimation* theWrappedObject) const; | ||
florianlink
|
r73 | QList<QPair<qreal , QPointF > > shearList(QGraphicsItemAnimation* theWrappedObject) const; | ||
florianlink
|
r13 | qreal horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; | ||
QPointF posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const; | ||||
florianlink
|
r24 | void afterAnimationStep(QGraphicsItemAnimation* theWrappedObject, qreal step); | ||
void clear(QGraphicsItemAnimation* theWrappedObject); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H | ||||