##// 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_QPainterPath.h
99 lines | 6.5 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QPAINTERPATH_H
#define PYTHONQTWRAPPER_QPAINTERPATH_H
#include <qpainterpath.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QPainterPath>
#include <QVariant>
#include <qdatastream.h>
#include <qfont.h>
#include <qlist.h>
#include <qmatrix.h>
#include <qpainterpath.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qregion.h>
#include <qtransform.h>
class PythonQtWrapper_QPainterPath : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ElementType )
enum ElementType{
MoveToElement = QPainterPath::MoveToElement, LineToElement = QPainterPath::LineToElement, CurveToElement = QPainterPath::CurveToElement, CurveToDataElement = QPainterPath::CurveToDataElement};
public slots:
QPainterPath* new_QPainterPath();
QPainterPath* new_QPainterPath(const QPainterPath& other);
QPainterPath* new_QPainterPath(const QPointF& startPoint);
void delete_QPainterPath(QPainterPath* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 QRectF controlPointRect(QPainterPath* theWrappedObject) const;
void addRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h);
void addText(QPainterPath* theWrappedObject, qreal x, qreal y, const QFont& f, const QString& text);
QList<QPolygonF > toFillPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const;
void setElementPositionAt(QPainterPath* theWrappedObject, int i, qreal x, qreal y);
bool contains(QPainterPath* theWrappedObject, const QPainterPath& p) const;
qreal length(QPainterPath* theWrappedObject) const;
void arcTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal startAngle, qreal arcLength);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void readFrom(QPainterPath* theWrappedObject, QDataStream& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xRnd, int yRnd);
QList<QPolygonF > toSubpathPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const;
QPainterPath subtractedInverted(QPainterPath* theWrappedObject, const QPainterPath& r) const;
void closeSubpath(QPainterPath* theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void addRoundedRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize);
florianlink
upgraded wrappers to current generator version...
r28 void addRoundRect(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int roundness);
void moveTo(QPainterPath* theWrappedObject, const QPointF& p);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void addEllipse(QPainterPath* theWrappedObject, const QRectF& rect);
florianlink
upgraded wrappers to current generator version...
r28 void lineTo(QPainterPath* theWrappedObject, const QPointF& p);
QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QTransform& matrix) const;
QPainterPath united(QPainterPath* theWrappedObject, const QPainterPath& r) const;
QRectF boundingRect(QPainterPath* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void addEllipse(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h);
florianlink
upgraded wrappers to current generator version...
r28 QPainterPath subtracted(QPainterPath* theWrappedObject, const QPainterPath& r) const;
void addRegion(QPainterPath* theWrappedObject, const QRegion& region);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void quadTo(QPainterPath* theWrappedObject, qreal ctrlPtx, qreal ctrlPty, qreal endPtx, qreal endPty);
florianlink
upgraded wrappers to current generator version...
r28 void addRoundedRect(QPainterPath* theWrappedObject, const QRectF& rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize);
qreal angleAtPercent(QPainterPath* theWrappedObject, qreal t) const;
void lineTo(QPainterPath* theWrappedObject, qreal x, qreal y);
void addEllipse(QPainterPath* theWrappedObject, const QPointF& center, qreal rx, qreal ry);
void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int xRnd, int yRnd);
void addRoundRect(QPainterPath* theWrappedObject, const QRectF& rect, int roundness);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 Qt::FillRule fillRule(QPainterPath* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QList<QPolygonF > toSubpathPolygons(QPainterPath* theWrappedObject, const QTransform& matrix) const;
qreal slopeAtPercent(QPainterPath* theWrappedObject, qreal t) const;
QPainterPath toReversed(QPainterPath* theWrappedObject) const;
void connectPath(QPainterPath* theWrappedObject, const QPainterPath& path);
void moveTo(QPainterPath* theWrappedObject, qreal x, qreal y);
void cubicTo(QPainterPath* theWrappedObject, qreal ctrlPt1x, qreal ctrlPt1y, qreal ctrlPt2x, qreal ctrlPt2y, qreal endPtx, qreal endPty);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 qreal percentAtLength(QPainterPath* theWrappedObject, qreal t) const;
florianlink
upgraded wrappers to current generator version...
r28 void addPath(QPainterPath* theWrappedObject, const QPainterPath& path);
void arcTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal startAngle, qreal arcLength);
void addText(QPainterPath* theWrappedObject, const QPointF& point, const QFont& f, const QString& text);
void arcMoveTo(QPainterPath* theWrappedObject, qreal x, qreal y, qreal w, qreal h, qreal angle);
bool intersects(QPainterPath* theWrappedObject, const QPainterPath& p) const;
QPolygonF toFillPolygon(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const;
void arcMoveTo(QPainterPath* theWrappedObject, const QRectF& rect, qreal angle);
QPainterPath intersected(QPainterPath* theWrappedObject, const QPainterPath& r) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void quadTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt, const QPointF& endPt);
florianlink
upgraded wrappers to current generator version...
r28 int elementCount(QPainterPath* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QPointF pointAtPercent(QPainterPath* theWrappedObject, qreal t) const;
florianlink
upgraded wrappers to current generator version...
r28 bool isEmpty(QPainterPath* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void writeTo(QPainterPath* theWrappedObject, QDataStream& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 QPointF currentPosition(QPainterPath* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void cubicTo(QPainterPath* theWrappedObject, const QPointF& ctrlPt1, const QPointF& ctrlPt2, const QPointF& endPt);
florianlink
upgraded wrappers to current generator version...
r28 QList<QPolygonF > toFillPolygons(QPainterPath* theWrappedObject, const QMatrix& matrix = QMatrix()) const;
bool contains(QPainterPath* theWrappedObject, const QRectF& rect) const;
void addRect(QPainterPath* theWrappedObject, const QRectF& rect);
const QPainterPath::Element& elementAt(QPainterPath* theWrappedObject, int i) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool intersects(QPainterPath* theWrappedObject, const QRectF& rect) const;
florianlink
upgraded wrappers to current generator version...
r28 bool operator_equal(QPainterPath* theWrappedObject, const QPainterPath& other) const;
void setFillRule(QPainterPath* theWrappedObject, Qt::FillRule fillRule);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void addPolygon(QPainterPath* theWrappedObject, const QPolygonF& polygon);
florianlink
upgraded wrappers to current generator version...
r28 QPainterPath simplified(QPainterPath* theWrappedObject) const;
bool contains(QPainterPath* theWrappedObject, const QPointF& pt) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QPAINTERPATH_H