##// 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_QPolygon.h
71 lines | 3.3 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QPOLYGON_H
#define PYTHONQTWRAPPER_QPOLYGON_H
#include <qpolygon.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 <QVariant>
#include <qdatastream.h>
#include <qlist.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qvector.h>
class PythonQtWrapper_QPolygon : public QObject
{ Q_OBJECT
public:
public slots:
QPolygon* new_QPolygon();
QPolygon* new_QPolygon(const QPolygon& a);
QPolygon* new_QPolygon(const QRect& r, bool closed = false);
QPolygon* new_QPolygon(const QVector<QPoint >& v);
QPolygon* new_QPolygon(int size);
void delete_QPolygon(QPolygon* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 void resize(QPolygon* theWrappedObject, int size);
void pop_front(QPolygon* theWrappedObject);
void reserve(QPolygon* theWrappedObject, int size);
QPolygon subtracted(QPolygon* theWrappedObject, const QPolygon& r) const;
QRect boundingRect(QPolygon* theWrappedObject) const;
QVector<QPoint > mid(QPolygon* theWrappedObject, int pos, int length) const;
void setSharable(QPolygon* theWrappedObject, bool sharable);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void remove(QPolygon* theWrappedObject, int i, int n);
florianlink
upgraded wrappers to current generator version...
r28 void writeTo(QPolygon* theWrappedObject, QDataStream& stream);
void remove(QPolygon* theWrappedObject, int i);
void replace(QPolygon* theWrappedObject, int i, const QPoint& t);
void readFrom(QPolygon* theWrappedObject, QDataStream& stream);
void push_back(QPolygon* theWrappedObject, const QPoint& t);
int indexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void pop_back(QPolygon* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 void clear(QPolygon* theWrappedObject);
bool operator_equal(QPolygon* theWrappedObject, const QVector<QPoint >& v) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QPoint value(QPolygon* theWrappedObject, int i, const QPoint& defaultValue) const;
florianlink
upgraded wrappers to current generator version...
r28 bool empty(QPolygon* theWrappedObject) const;
const QPoint& first(QPolygon* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void squeeze(QPolygon* theWrappedObject);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QVector<QPoint >& fill(QPolygon* theWrappedObject, const QPoint& t, int size);
florianlink
upgraded wrappers to current generator version...
r28 void prepend(QPolygon* theWrappedObject, const QPoint& t);
void translate(QPolygon* theWrappedObject, int dx, int dy);
QList<QPoint > toList(QPolygon* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QPoint value(QPolygon* theWrappedObject, int i) const;
florianlink
upgraded wrappers to current generator version...
r28 int count(QPolygon* theWrappedObject, const QPoint& t) const;
void translate(QPolygon* theWrappedObject, const QPoint& offset);
QPolygon united(QPolygon* theWrappedObject, const QPolygon& r) const;
int count(QPolygon* theWrappedObject) const;
int capacity(QPolygon* theWrappedObject) const;
void append(QPolygon* theWrappedObject, const QPoint& t);
QVector<QPoint > static_QPolygon_fromList(const QList<QPoint >& list);
bool isEmpty(QPolygon* theWrappedObject) const;
void push_front(QPolygon* theWrappedObject, const QPoint& t);
const QPoint& at(QPolygon* 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 contains(QPolygon* theWrappedObject, const QPoint& t) const;
int lastIndexOf(QPolygon* theWrappedObject, const QPoint& t, int from) const;
int size(QPolygon* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 const QPoint& last(QPolygon* theWrappedObject) const;
QPolygon intersected(QPolygon* theWrappedObject, const QPolygon& r) const;
bool containsPoint(QPolygon* theWrappedObject, const QPoint& pt, Qt::FillRule fillRule) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QPOLYGON_H