PythonQtWrapper_QGraphicsPathItem.cpp
77 lines
| 2.3 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QGraphicsPathItem.h" | ||
#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> | ||||
QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(QGraphicsItem* parent, QGraphicsScene* scene) | ||||
{ | ||||
return new QGraphicsPathItem(parent, scene); } | ||||
QGraphicsPathItem* PythonQtWrapper_QGraphicsPathItem::new_QGraphicsPathItem(const QPainterPath& path, QGraphicsItem* parent, QGraphicsScene* scene) | ||||
{ | ||||
return new QGraphicsPathItem(path, parent, scene); } | ||||
QRectF PythonQtWrapper_QGraphicsPathItem::boundingRect(QGraphicsPathItem* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->boundingRect(); | ||||
} | ||||
bool PythonQtWrapper_QGraphicsPathItem::contains(QGraphicsPathItem* theWrappedObject, const QPointF& point) const | ||||
{ | ||||
return theWrappedObject->contains(point); | ||||
} | ||||
bool PythonQtWrapper_QGraphicsPathItem::isObscuredBy(QGraphicsPathItem* theWrappedObject, const QGraphicsItem* item) const | ||||
{ | ||||
return theWrappedObject->isObscuredBy(item); | ||||
} | ||||
QPainterPath PythonQtWrapper_QGraphicsPathItem::opaqueArea(QGraphicsPathItem* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->opaqueArea(); | ||||
} | ||||
void PythonQtWrapper_QGraphicsPathItem::paint(QGraphicsPathItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) | ||||
{ | ||||
theWrappedObject->paint(painter, option, widget); | ||||
} | ||||
QPainterPath PythonQtWrapper_QGraphicsPathItem::path(QGraphicsPathItem* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->path(); | ||||
} | ||||
void PythonQtWrapper_QGraphicsPathItem::setPath(QGraphicsPathItem* theWrappedObject, const QPainterPath& path) | ||||
{ | ||||
theWrappedObject->setPath(path); | ||||
} | ||||
QPainterPath PythonQtWrapper_QGraphicsPathItem::shape(QGraphicsPathItem* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->shape(); | ||||
} | ||||
int PythonQtWrapper_QGraphicsPathItem::type(QGraphicsPathItem* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->type(); | ||||
} | ||||