##// 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_QRegion.h
62 lines | 2.8 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QREGION_H
#define PYTHONQTWRAPPER_QREGION_H
#include <qregion.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 <qbitmap.h>
#include <qbytearray.h>
#include <qdatastream.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qregion.h>
#include <qvector.h>
class PythonQtWrapper_QRegion : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RegionType )
enum RegionType{
Rectangle = QRegion::Rectangle, Ellipse = QRegion::Ellipse};
public slots:
QRegion* new_QRegion();
QRegion* new_QRegion(const QBitmap& bitmap);
QRegion* new_QRegion(const QPolygon& pa, Qt::FillRule fillRule = Qt::OddEvenFill);
QRegion* new_QRegion(const QRect& r, QRegion::RegionType t = QRegion::Rectangle);
QRegion* new_QRegion(const QRegion& region);
QRegion* new_QRegion(int x, int y, int w, int h, QRegion::RegionType t = QRegion::Rectangle);
void delete_QRegion(QRegion* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 bool contains(QRegion* theWrappedObject, const QRect& r) const;
QRegion intersected(QRegion* theWrappedObject, const QRegion& r) const;
const QRegion operator_and(QRegion* theWrappedObject, const QRect& r) const;
QRegion unite(QRegion* theWrappedObject, const QRect& r) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool isEmpty(QRegion* theWrappedObject) const;
void translate(QRegion* theWrappedObject, int dx, int dy);
florianlink
recreated wrappers to match current python qt version...
r73 QRegion subtracted(QRegion* theWrappedObject, const QRegion& r) const;
florianlink
upgraded wrappers to current generator version...
r28 QRegion intersect(QRegion* theWrappedObject, const QRect& r) const;
florianlink
recreated wrappers to match current python qt version...
r73 void translate(QRegion* theWrappedObject, const QPoint& p);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool intersects(QRegion* theWrappedObject, const QRect& r) const;
florianlink
recreated wrappers to match current python qt version...
r73 QRegion translated(QRegion* theWrappedObject, int dx, int dy) const;
florianlink
upgraded wrappers to current generator version...
r28 bool intersects(QRegion* theWrappedObject, const QRegion& r) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setRects(QRegion* theWrappedObject, const QRect* rect, int num);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QRegion united(QRegion* theWrappedObject, const QRect& r) const;
QRegion united(QRegion* theWrappedObject, const QRegion& r) const;
florianlink
recreated wrappers to match current python qt version...
r73 int numRects(QRegion* theWrappedObject) const;
QRegion translated(QRegion* theWrappedObject, const QPoint& p) const;
QRect boundingRect(QRegion* theWrappedObject) const;
const QRegion operator_add(QRegion* theWrappedObject, const QRect& r) const;
void writeTo(QRegion* theWrappedObject, QDataStream& arg__1);
QVector<QRect > rects(QRegion* theWrappedObject) const;
bool contains(QRegion* theWrappedObject, const QPoint& p) const;
void readFrom(QRegion* theWrappedObject, QDataStream& arg__1);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool operator_equal(QRegion* theWrappedObject, const QRegion& r) const;
florianlink
recreated wrappers to match current python qt version...
r73 QRegion intersected(QRegion* theWrappedObject, const QRect& r) const;
QRegion xored(QRegion* theWrappedObject, const QRegion& r) const;
QString toString(QRegion*);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QREGION_H