|
|
#ifndef PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H
|
|
|
#define PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H
|
|
|
|
|
|
#include <qgraphicsitemanimation.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#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>
|
|
|
|
|
|
class PythonQtWrapper_QGraphicsItemAnimation : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QGraphicsItemAnimation* new_QGraphicsItemAnimation(QObject* parent = 0);
|
|
|
void delete_QGraphicsItemAnimation(QGraphicsItemAnimation* obj) { delete obj; }
|
|
|
void clear(QGraphicsItemAnimation* theWrappedObject);
|
|
|
qreal horizontalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const;
|
|
|
qreal horizontalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const;
|
|
|
QGraphicsItem* item(QGraphicsItemAnimation* theWrappedObject) const;
|
|
|
QMatrix matrixAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const;
|
|
|
QPointF posAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const;
|
|
|
QList<QPair<qreal , QPointF > > posList(QGraphicsItemAnimation* theWrappedObject) const;
|
|
|
qreal rotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const;
|
|
|
QList<QPair<qreal , qreal > > rotationList(QGraphicsItemAnimation* theWrappedObject) const;
|
|
|
QList<QPair<qreal , QPointF > > scaleList(QGraphicsItemAnimation* theWrappedObject) const;
|
|
|
void setItem(QGraphicsItemAnimation* theWrappedObject, QGraphicsItem* item);
|
|
|
void setPosAt(QGraphicsItemAnimation* theWrappedObject, qreal step, const QPointF& pos);
|
|
|
void setRotationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal angle);
|
|
|
void setScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sx, qreal sy);
|
|
|
void setShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal sh, qreal sv);
|
|
|
void setTimeLine(QGraphicsItemAnimation* theWrappedObject, QTimeLine* timeLine);
|
|
|
void setTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step, qreal dx, qreal dy);
|
|
|
QList<QPair<qreal , QPointF > > shearList(QGraphicsItemAnimation* theWrappedObject) const;
|
|
|
QTimeLine* timeLine(QGraphicsItemAnimation* theWrappedObject) const;
|
|
|
QList<QPair<qreal , QPointF > > translationList(QGraphicsItemAnimation* theWrappedObject) const;
|
|
|
qreal verticalScaleAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const;
|
|
|
qreal verticalShearAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const;
|
|
|
qreal xTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const;
|
|
|
qreal yTranslationAt(QGraphicsItemAnimation* theWrappedObject, qreal step) const;
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QGRAPHICSITEMANIMATION_H
|
|
|
|