##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QTransform.h
93 lines | 5.0 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTRANSFORM_H
#define PYTHONQTWRAPPER_QTRANSFORM_H
#include <qtransform.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qdatastream.h>
#include <qline.h>
#include <qmatrix.h>
#include <qpainterpath.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qregion.h>
#include <qtransform.h>
class PythonQtWrapper_QTransform : public QObject
{ Q_OBJECT
public:
Q_ENUMS(TransformationType )
enum TransformationType{
TxNone = QTransform::TxNone, TxTranslate = QTransform::TxTranslate, TxScale = QTransform::TxScale, TxRotate = QTransform::TxRotate, TxShear = QTransform::TxShear, TxProject = QTransform::TxProject};
public slots:
QTransform* new_QTransform();
QTransform* new_QTransform(const QMatrix& mtx);
QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23);
QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0);
QTransform* new_QTransform(const QTransform& other) {
QTransform* a = new QTransform();
*((QTransform*)a) = other;
return a; }
void delete_QTransform(QTransform* obj) { delete obj; }
bool isTranslating(QTransform* theWrappedObject) const;
bool isScaling(QTransform* theWrappedObject) const;
qreal m32(QTransform* theWrappedObject) const;
QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const;
qreal determinant(QTransform* theWrappedObject) const;
QTransform* rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis);
qreal dy(QTransform* theWrappedObject) const;
void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33);
QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const;
void writeTo(QTransform* theWrappedObject, QDataStream& arg__1);
const QMatrix* toAffine(QTransform* theWrappedObject) const;
bool isIdentity(QTransform* theWrappedObject) const;
qreal m11(QTransform* theWrappedObject) const;
bool isAffine(QTransform* theWrappedObject) const;
QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const;
QTransform transposed(QTransform* theWrappedObject) const;
QTransform inverted(QTransform* theWrappedObject, bool* invertible = 0) const;
qreal det(QTransform* theWrappedObject) const;
QTransform* operator_multiply_assign(QTransform* theWrappedObject, qreal div);
bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result);
QTransform* operator_multiply_assign(QTransform* theWrappedObject, const QTransform& arg__1);
QTransform* scale(QTransform* theWrappedObject, qreal sx, qreal sy);
QTransform* shear(QTransform* theWrappedObject, qreal sh, qreal sv);
qreal m31(QTransform* theWrappedObject) const;
QTransform* translate(QTransform* theWrappedObject, qreal dx, qreal dy);
QTransform::TransformationType type(QTransform* theWrappedObject) const;
bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result);
qreal m13(QTransform* theWrappedObject) const;
QTransform* operator_add_assign(QTransform* theWrappedObject, qreal div);
QPoint map(QTransform* theWrappedObject, const QPoint& p) const;
qreal dx(QTransform* theWrappedObject) const;
QLine map(QTransform* theWrappedObject, const QLine& l) const;
QLineF map(QTransform* theWrappedObject, const QLineF& l) const;
qreal m22(QTransform* theWrappedObject) const;
QPointF map(QTransform* theWrappedObject, const QPointF& p) const;
QTransform* operator_divide_assign(QTransform* theWrappedObject, qreal div);
bool isInvertible(QTransform* theWrappedObject) const;
QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const;
qreal m12(QTransform* theWrappedObject) const;
QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const;
bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result);
qreal m21(QTransform* theWrappedObject) const;
void reset(QTransform* theWrappedObject);
void readFrom(QTransform* theWrappedObject, QDataStream& arg__1);
QTransform adjoint(QTransform* theWrappedObject) const;
QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const;
QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const;
QTransform* rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis);
qreal m33(QTransform* theWrappedObject) const;
QRegion map(QTransform* theWrappedObject, const QRegion& r) const;
qreal m23(QTransform* theWrappedObject) const;
bool isRotating(QTransform* theWrappedObject) const;
QTransform* operator_subtract_assign(QTransform* theWrappedObject, qreal div);
bool operator_equal(QTransform* theWrappedObject, const QTransform& arg__1) const;
QString toString(QTransform*);
};
#endif // PYTHONQTWRAPPER_QTRANSFORM_H