##// END OF EJS Templates
updated version number, next version will be 2.0 due to the wrapping generator addition...
updated version number, next version will be 2.0 due to the wrapping generator addition git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@69 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r33:1742cf875fd9
Show More
PythonQtWrapper_QRect.h
90 lines | 4.2 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QRECT_H
#define PYTHONQTWRAPPER_QRECT_H
#include <qrect.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 <qpoint.h>
#include <qrect.h>
#include <qsize.h>
class PythonQtWrapper_QRect : public QObject
{ Q_OBJECT
public:
public slots:
QRect* new_QRect();
QRect* new_QRect(const QPoint& topleft, const QPoint& bottomright);
QRect* new_QRect(const QPoint& topleft, const QSize& size);
QRect* new_QRect(int left, int top, int width, int height);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QRect* new_QRect(const QRect& other) {
QRect* a = new QRect();
*((QRect*)a) = other;
return a; }
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QRect(QRect* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setRight(QRect* theWrappedObject, int pos);
florianlink
upgraded wrappers to current generator version...
r28 void moveTopLeft(QRect* 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 QRect translated(QRect* theWrappedObject, int dx, int dy) const;
florianlink
upgraded wrappers to current generator version...
r28 int height(QRect* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setTopRight(QRect* theWrappedObject, const QPoint& p);
florianlink
upgraded wrappers to current generator version...
r28 void setX(QRect* theWrappedObject, int x);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void moveBottom(QRect* theWrappedObject, int pos);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 int right(QRect* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setY(QRect* theWrappedObject, int y);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int width(QRect* theWrappedObject) const;
QPoint center(QRect* theWrappedObject) const;
bool intersects(QRect* theWrappedObject, const QRect& r) const;
florianlink
upgraded wrappers to current generator version...
r28 void setTop(QRect* theWrappedObject, int pos);
void setSize(QRect* theWrappedObject, const QSize& s);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QRect united(QRect* theWrappedObject, const QRect& other) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setTopLeft(QRect* 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 QPoint bottomRight(QRect* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void readFrom(QRect* theWrappedObject, QDataStream& arg__1);
void setBottomRight(QRect* theWrappedObject, const QPoint& p);
QRect translated(QRect* theWrappedObject, const QPoint& p) const;
QPoint topRight(QRect* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void moveRight(QRect* theWrappedObject, int pos);
florianlink
upgraded wrappers to current generator version...
r28 bool operator_equal(QRect* theWrappedObject, const QRect& arg__2);
bool isEmpty(QRect* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void moveBottomRight(QRect* theWrappedObject, const QPoint& p);
void setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2);
florianlink
upgraded wrappers to current generator version...
r28 int x(QRect* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool contains(QRect* theWrappedObject, int x, int y) const;
void moveTopRight(QRect* theWrappedObject, const QPoint& p);
florianlink
upgraded wrappers to current generator version...
r28 void writeTo(QRect* 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 isValid(QRect* theWrappedObject) const;
bool contains(QRect* theWrappedObject, int x, int y, bool proper) const;
florianlink
upgraded wrappers to current generator version...
r28 void moveTo(QRect* 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 void setWidth(QRect* theWrappedObject, int w);
int bottom(QRect* theWrappedObject) const;
QPoint bottomLeft(QRect* theWrappedObject) const;
QRect normalized(QRect* theWrappedObject) const;
void moveTop(QRect* theWrappedObject, int pos);
florianlink
upgraded wrappers to current generator version...
r28 void setHeight(QRect* theWrappedObject, int h);
int left(QRect* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setBottomLeft(QRect* theWrappedObject, const QPoint& p);
QRect adjusted(QRect* theWrappedObject, int x1, int y1, int x2, int y2) const;
florianlink
upgraded wrappers to current generator version...
r28 void setRect(QRect* theWrappedObject, int x, int y, int w, int h);
int top(QRect* theWrappedObject) const;
void moveLeft(QRect* theWrappedObject, int pos);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool contains(QRect* theWrappedObject, const QPoint& p, bool proper = false) const;
bool contains(QRect* theWrappedObject, const QRect& r, bool proper = false) const;
florianlink
upgraded wrappers to current generator version...
r28 void adjust(QRect* theWrappedObject, int x1, int y1, int x2, int y2);
void setLeft(QRect* theWrappedObject, int pos);
QPoint topLeft(QRect* theWrappedObject) const;
bool isNull(QRect* theWrappedObject) const;
void translate(QRect* theWrappedObject, int dx, int dy);
void translate(QRect* theWrappedObject, const QPoint& p);
QRect intersected(QRect* theWrappedObject, const QRect& other) const;
void moveCenter(QRect* theWrappedObject, const QPoint& p);
void setBottom(QRect* theWrappedObject, int pos);
void moveTo(QRect* theWrappedObject, int x, int t);
QSize size(QRect* theWrappedObject) const;
void moveBottomLeft(QRect* theWrappedObject, const QPoint& p);
int y(QRect* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QRECT_H