##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QTransform.h
92 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; }
void readFrom(QTransform* theWrappedObject, QDataStream& arg__1);
QTransform& operator_divide_assign(QTransform* theWrappedObject, qreal div);
const QMatrix& toAffine(QTransform* theWrappedObject) const;
bool isInvertible(QTransform* theWrappedObject) const;
qreal m11(QTransform* theWrappedObject) const;
qreal m13(QTransform* theWrappedObject) const;
qreal m22(QTransform* theWrappedObject) const;
qreal m32(QTransform* theWrappedObject) const;
qreal det(QTransform* theWrappedObject) const;
bool isTranslating(QTransform* theWrappedObject) const;
QTransform& rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis);
bool isRotating(QTransform* theWrappedObject) const;
bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result);
qreal dy(QTransform* theWrappedObject) const;
qreal m21(QTransform* theWrappedObject) const;
QTransform& shear(QTransform* theWrappedObject, qreal sh, qreal sv);
QLineF map(QTransform* theWrappedObject, const QLineF& l) const;
QTransform& rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis);
bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result);
QTransform& operator_add_assign(QTransform* theWrappedObject, qreal div);
void writeTo(QTransform* theWrappedObject, QDataStream& arg__1);
qreal m23(QTransform* theWrappedObject) const;
QTransform& scale(QTransform* theWrappedObject, qreal sx, qreal sy);
qreal m31(QTransform* theWrappedObject) const;
QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const;
QTransform& operator_multiply_assign(QTransform* theWrappedObject, qreal div);
QTransform inverted(QTransform* theWrappedObject, bool* invertible = 0) const;
bool isScaling(QTransform* theWrappedObject) const;
qreal determinant(QTransform* theWrappedObject) const;
QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const;
qreal m12(QTransform* theWrappedObject) const;
QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const;
void reset(QTransform* theWrappedObject);
QTransform& operator_multiply_assign(QTransform* theWrappedObject, const QTransform& arg__1);
bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result);
QTransform transposed(QTransform* theWrappedObject) const;
bool isAffine(QTransform* theWrappedObject) const;
bool operator_equal(QTransform* theWrappedObject, const QTransform& arg__1) const;
QPoint map(QTransform* theWrappedObject, const QPoint& p) const;
QRegion map(QTransform* theWrappedObject, const QRegion& r) const;
QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const;
QTransform& translate(QTransform* theWrappedObject, qreal dx, qreal dy);
QTransform adjoint(QTransform* theWrappedObject) const;
QLine map(QTransform* theWrappedObject, const QLine& l) const;
QTransform& operator_subtract_assign(QTransform* theWrappedObject, qreal div);
qreal m33(QTransform* theWrappedObject) const;
QPointF map(QTransform* theWrappedObject, const QPointF& p) const;
void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33);
qreal dx(QTransform* theWrappedObject) const;
bool isIdentity(QTransform* theWrappedObject) const;
QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const;
QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const;
QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const;
QTransform::TransformationType type(QTransform* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTRANSFORM_H