|
|
#ifndef PYTHONQTWRAPPER_QGRAPHICSRECTITEM_H
|
|
|
#define PYTHONQTWRAPPER_QGRAPHICSRECTITEM_H
|
|
|
|
|
|
#include <qgraphicsitem.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qbrush.h>
|
|
|
#include <qcoreevent.h>
|
|
|
#include <qcursor.h>
|
|
|
#include <qevent.h>
|
|
|
#include <qgraphicsitem.h>
|
|
|
#include <qgraphicsscene.h>
|
|
|
#include <qgraphicssceneevent.h>
|
|
|
#include <qgraphicswidget.h>
|
|
|
#include <qlist.h>
|
|
|
#include <qpainter.h>
|
|
|
#include <qpainterpath.h>
|
|
|
#include <qpen.h>
|
|
|
#include <qpoint.h>
|
|
|
#include <qpolygon.h>
|
|
|
#include <qrect.h>
|
|
|
#include <qregion.h>
|
|
|
#include <qsize.h>
|
|
|
#include <qstyleoption.h>
|
|
|
#include <qtransform.h>
|
|
|
#include <qwidget.h>
|
|
|
|
|
|
class PythonQtWrapper_QGraphicsRectItem : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(enum_1 )
|
|
|
enum enum_1{
|
|
|
Type = QGraphicsRectItem::Type};
|
|
|
public slots:
|
|
|
QGraphicsRectItem* new_QGraphicsRectItem(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
|
|
|
QGraphicsRectItem* new_QGraphicsRectItem(const QRectF& rect, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
|
|
|
QGraphicsRectItem* new_QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
|
|
|
void delete_QGraphicsRectItem(QGraphicsRectItem* obj) { delete obj; }
|
|
|
QRectF boundingRect(QGraphicsRectItem* theWrappedObject) const;
|
|
|
bool contains(QGraphicsRectItem* theWrappedObject, const QPointF& point) const;
|
|
|
bool isObscuredBy(QGraphicsRectItem* theWrappedObject, const QGraphicsItem* item) const;
|
|
|
QPainterPath opaqueArea(QGraphicsRectItem* theWrappedObject) const;
|
|
|
void paint(QGraphicsRectItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
|
|
|
QRectF rect(QGraphicsRectItem* theWrappedObject) const;
|
|
|
void setRect(QGraphicsRectItem* theWrappedObject, const QRectF& rect);
|
|
|
void setRect(QGraphicsRectItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h);
|
|
|
QPainterPath shape(QGraphicsRectItem* theWrappedObject) const;
|
|
|
int type(QGraphicsRectItem* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QGRAPHICSRECTITEM_H
|
|
|
|