##// 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
#ifndef PYTHONQTWRAPPER_QRECT_H
#define PYTHONQTWRAPPER_QRECT_H
#include <qrect.h>
#include <QObject>
#include <PythonQt.h>
#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);
QRect* new_QRect(const QRect& other) {
QRect* a = new QRect();
*((QRect*)a) = other;
return a; }
void delete_QRect(QRect* obj) { delete obj; }
void setRight(QRect* theWrappedObject, int pos);
void moveTopLeft(QRect* theWrappedObject, const QPoint& p);
QRect translated(QRect* theWrappedObject, int dx, int dy) const;
int height(QRect* theWrappedObject) const;
void setTopRight(QRect* theWrappedObject, const QPoint& p);
void setX(QRect* theWrappedObject, int x);
void moveBottom(QRect* theWrappedObject, int pos);
int right(QRect* theWrappedObject) const;
void setY(QRect* theWrappedObject, int y);
int width(QRect* theWrappedObject) const;
QPoint center(QRect* theWrappedObject) const;
bool intersects(QRect* theWrappedObject, const QRect& r) const;
void setTop(QRect* theWrappedObject, int pos);
void setSize(QRect* theWrappedObject, const QSize& s);
QRect united(QRect* theWrappedObject, const QRect& other) const;
void setTopLeft(QRect* theWrappedObject, const QPoint& p);
QPoint bottomRight(QRect* theWrappedObject) const;
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;
void moveRight(QRect* theWrappedObject, int pos);
bool operator_equal(QRect* theWrappedObject, const QRect& arg__2);
bool isEmpty(QRect* theWrappedObject) const;
void moveBottomRight(QRect* theWrappedObject, const QPoint& p);
void setCoords(QRect* theWrappedObject, int x1, int y1, int x2, int y2);
int x(QRect* theWrappedObject) const;
bool contains(QRect* theWrappedObject, int x, int y) const;
void moveTopRight(QRect* theWrappedObject, const QPoint& p);
void writeTo(QRect* theWrappedObject, QDataStream& arg__1);
bool isValid(QRect* theWrappedObject) const;
bool contains(QRect* theWrappedObject, int x, int y, bool proper) const;
void moveTo(QRect* theWrappedObject, const QPoint& p);
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);
void setHeight(QRect* theWrappedObject, int h);
int left(QRect* theWrappedObject) const;
void setBottomLeft(QRect* theWrappedObject, const QPoint& p);
QRect adjusted(QRect* theWrappedObject, int x1, int y1, int x2, int y2) const;
void setRect(QRect* theWrappedObject, int x, int y, int w, int h);
int top(QRect* theWrappedObject) const;
void moveLeft(QRect* theWrappedObject, int pos);
bool contains(QRect* theWrappedObject, const QPoint& p, bool proper = false) const;
bool contains(QRect* theWrappedObject, const QRect& r, bool proper = false) const;
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;
};
#endif // PYTHONQTWRAPPER_QRECT_H