|
|
#include "PythonQtWrapper_QGraphicsItem.h"
|
|
|
|
|
|
#include <QVariant>
|
|
|
#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 <qpoint.h>
|
|
|
#include <qpolygon.h>
|
|
|
#include <qrect.h>
|
|
|
#include <qregion.h>
|
|
|
#include <qsize.h>
|
|
|
#include <qstyleoption.h>
|
|
|
#include <qtransform.h>
|
|
|
#include <qwidget.h>
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::acceptDrops(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->acceptDrops();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::acceptHoverEvents(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->acceptHoverEvents();
|
|
|
}
|
|
|
|
|
|
Qt::MouseButtons PythonQtWrapper_QGraphicsItem::acceptedMouseButtons(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->acceptedMouseButtons();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::acceptsHoverEvents(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->acceptsHoverEvents();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::advance(QGraphicsItem* theWrappedObject, int phase)
|
|
|
{
|
|
|
theWrappedObject->advance(phase);
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QGraphicsItem::boundingRect(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->boundingRect();
|
|
|
}
|
|
|
|
|
|
QRegion PythonQtWrapper_QGraphicsItem::boundingRegion(QGraphicsItem* theWrappedObject, const QTransform& itemToDeviceTransform) const
|
|
|
{
|
|
|
return theWrappedObject->boundingRegion(itemToDeviceTransform);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsItem::boundingRegionGranularity(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->boundingRegionGranularity();
|
|
|
}
|
|
|
|
|
|
QGraphicsItem::CacheMode PythonQtWrapper_QGraphicsItem::cacheMode(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->cacheMode();
|
|
|
}
|
|
|
|
|
|
QList<QGraphicsItem* > PythonQtWrapper_QGraphicsItem::childItems(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->childItems();
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QGraphicsItem::childrenBoundingRect(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->childrenBoundingRect();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::clearFocus(QGraphicsItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->clearFocus();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::collidesWithItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other, Qt::ItemSelectionMode mode) const
|
|
|
{
|
|
|
return theWrappedObject->collidesWithItem(other, mode);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::collidesWithPath(QGraphicsItem* theWrappedObject, const QPainterPath& path, Qt::ItemSelectionMode mode) const
|
|
|
{
|
|
|
return theWrappedObject->collidesWithPath(path, mode);
|
|
|
}
|
|
|
|
|
|
QList<QGraphicsItem* > PythonQtWrapper_QGraphicsItem::collidingItems(QGraphicsItem* theWrappedObject, Qt::ItemSelectionMode mode) const
|
|
|
{
|
|
|
return theWrappedObject->collidingItems(mode);
|
|
|
}
|
|
|
|
|
|
QGraphicsItem* PythonQtWrapper_QGraphicsItem::commonAncestorItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* other) const
|
|
|
{
|
|
|
return theWrappedObject->commonAncestorItem(other);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::contains(QGraphicsItem* theWrappedObject, const QPointF& point) const
|
|
|
{
|
|
|
return theWrappedObject->contains(point);
|
|
|
}
|
|
|
|
|
|
QCursor PythonQtWrapper_QGraphicsItem::cursor(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->cursor();
|
|
|
}
|
|
|
|
|
|
QVariant PythonQtWrapper_QGraphicsItem::data(QGraphicsItem* theWrappedObject, int key) const
|
|
|
{
|
|
|
return theWrappedObject->data(key);
|
|
|
}
|
|
|
|
|
|
QTransform PythonQtWrapper_QGraphicsItem::deviceTransform(QGraphicsItem* theWrappedObject, const QTransform& viewportTransform) const
|
|
|
{
|
|
|
return theWrappedObject->deviceTransform(viewportTransform);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, const QRectF& rect, int xmargin, int ymargin)
|
|
|
{
|
|
|
theWrappedObject->ensureVisible(rect, xmargin, ymargin);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::ensureVisible(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin)
|
|
|
{
|
|
|
theWrappedObject->ensureVisible(x, y, w, h, xmargin, ymargin);
|
|
|
}
|
|
|
|
|
|
QGraphicsItem::GraphicsItemFlags PythonQtWrapper_QGraphicsItem::flags(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->flags();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::grabKeyboard(QGraphicsItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->grabKeyboard();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::grabMouse(QGraphicsItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->grabMouse();
|
|
|
}
|
|
|
|
|
|
QGraphicsItemGroup* PythonQtWrapper_QGraphicsItem::group(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->group();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::handlesChildEvents(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->handlesChildEvents();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::hasCursor(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->hasCursor();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::hasFocus(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->hasFocus();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::hide(QGraphicsItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->hide();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::installSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem)
|
|
|
{
|
|
|
theWrappedObject->installSceneEventFilter(filterItem);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isAncestorOf(QGraphicsItem* theWrappedObject, const QGraphicsItem* child) const
|
|
|
{
|
|
|
return theWrappedObject->isAncestorOf(child);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isEnabled(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isEnabled();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isObscured();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, const QRectF& rect) const
|
|
|
{
|
|
|
return theWrappedObject->isObscured(rect);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isObscured(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const
|
|
|
{
|
|
|
return theWrappedObject->isObscured(x, y, w, h);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isObscuredBy(QGraphicsItem* theWrappedObject, const QGraphicsItem* item) const
|
|
|
{
|
|
|
return theWrappedObject->isObscuredBy(item);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isSelected(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isSelected();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isUnderMouse(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isUnderMouse();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isVisible(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isVisible();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isVisibleTo(QGraphicsItem* theWrappedObject, const QGraphicsItem* parent) const
|
|
|
{
|
|
|
return theWrappedObject->isVisibleTo(parent);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isWidget(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isWidget();
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QGraphicsItem::isWindow(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->isWindow();
|
|
|
}
|
|
|
|
|
|
QPainterPath PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromItem(item, path);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromItem(item, point);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromItem(item, polygon);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromItem(item, rect);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromItem(item, x, y);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapFromItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromItem(item, x, y, w, h);
|
|
|
}
|
|
|
|
|
|
QPainterPath PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromParent(path);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPointF& point) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromParent(point);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromParent(polygon);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromParent(rect);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromParent(x, y);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapFromParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromParent(x, y, w, h);
|
|
|
}
|
|
|
|
|
|
QPainterPath PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromScene(path);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPointF& point) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromScene(point);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromScene(polygon);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromScene(rect);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromScene(x, y);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapFromScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const
|
|
|
{
|
|
|
return theWrappedObject->mapFromScene(x, y, w, h);
|
|
|
}
|
|
|
|
|
|
QPainterPath PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPainterPath& path) const
|
|
|
{
|
|
|
return theWrappedObject->mapToItem(item, path);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPointF& point) const
|
|
|
{
|
|
|
return theWrappedObject->mapToItem(item, point);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QPolygonF& polygon) const
|
|
|
{
|
|
|
return theWrappedObject->mapToItem(item, polygon);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, const QRectF& rect) const
|
|
|
{
|
|
|
return theWrappedObject->mapToItem(item, rect);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y) const
|
|
|
{
|
|
|
return theWrappedObject->mapToItem(item, x, y);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapToItem(QGraphicsItem* theWrappedObject, const QGraphicsItem* item, qreal x, qreal y, qreal w, qreal h) const
|
|
|
{
|
|
|
return theWrappedObject->mapToItem(item, x, y, w, h);
|
|
|
}
|
|
|
|
|
|
QPainterPath PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPainterPath& path) const
|
|
|
{
|
|
|
return theWrappedObject->mapToParent(path);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPointF& point) const
|
|
|
{
|
|
|
return theWrappedObject->mapToParent(point);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const
|
|
|
{
|
|
|
return theWrappedObject->mapToParent(polygon);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, const QRectF& rect) const
|
|
|
{
|
|
|
return theWrappedObject->mapToParent(rect);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y) const
|
|
|
{
|
|
|
return theWrappedObject->mapToParent(x, y);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapToParent(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const
|
|
|
{
|
|
|
return theWrappedObject->mapToParent(x, y, w, h);
|
|
|
}
|
|
|
|
|
|
QPainterPath PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPainterPath& path) const
|
|
|
{
|
|
|
return theWrappedObject->mapToScene(path);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPointF& point) const
|
|
|
{
|
|
|
return theWrappedObject->mapToScene(point);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QPolygonF& polygon) const
|
|
|
{
|
|
|
return theWrappedObject->mapToScene(polygon);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, const QRectF& rect) const
|
|
|
{
|
|
|
return theWrappedObject->mapToScene(rect);
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y) const
|
|
|
{
|
|
|
return theWrappedObject->mapToScene(x, y);
|
|
|
}
|
|
|
|
|
|
QPolygonF PythonQtWrapper_QGraphicsItem::mapToScene(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal w, qreal h) const
|
|
|
{
|
|
|
return theWrappedObject->mapToScene(x, y, w, h);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::moveBy(QGraphicsItem* theWrappedObject, qreal dx, qreal dy)
|
|
|
{
|
|
|
theWrappedObject->moveBy(dx, dy);
|
|
|
}
|
|
|
|
|
|
QPainterPath PythonQtWrapper_QGraphicsItem::opaqueArea(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->opaqueArea();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::paint(QGraphicsItem* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget)
|
|
|
{
|
|
|
theWrappedObject->paint(painter, option, widget);
|
|
|
}
|
|
|
|
|
|
QGraphicsItem* PythonQtWrapper_QGraphicsItem::parentItem(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->parentItem();
|
|
|
}
|
|
|
|
|
|
QGraphicsWidget* PythonQtWrapper_QGraphicsItem::parentWidget(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->parentWidget();
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::pos(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->pos();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::removeSceneEventFilter(QGraphicsItem* theWrappedObject, QGraphicsItem* filterItem)
|
|
|
{
|
|
|
theWrappedObject->removeSceneEventFilter(filterItem);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::resetTransform(QGraphicsItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->resetTransform();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::rotate(QGraphicsItem* theWrappedObject, qreal angle)
|
|
|
{
|
|
|
theWrappedObject->rotate(angle);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::scale(QGraphicsItem* theWrappedObject, qreal sx, qreal sy)
|
|
|
{
|
|
|
theWrappedObject->scale(sx, sy);
|
|
|
}
|
|
|
|
|
|
QGraphicsScene* PythonQtWrapper_QGraphicsItem::scene(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->scene();
|
|
|
}
|
|
|
|
|
|
QRectF PythonQtWrapper_QGraphicsItem::sceneBoundingRect(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->sceneBoundingRect();
|
|
|
}
|
|
|
|
|
|
QPointF PythonQtWrapper_QGraphicsItem::scenePos(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->scenePos();
|
|
|
}
|
|
|
|
|
|
QTransform PythonQtWrapper_QGraphicsItem::sceneTransform(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->sceneTransform();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::scroll(QGraphicsItem* theWrappedObject, qreal dx, qreal dy, const QRectF& rect)
|
|
|
{
|
|
|
theWrappedObject->scroll(dx, dy, rect);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setAcceptDrops(QGraphicsItem* theWrappedObject, bool on)
|
|
|
{
|
|
|
theWrappedObject->setAcceptDrops(on);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setAcceptHoverEvents(QGraphicsItem* theWrappedObject, bool enabled)
|
|
|
{
|
|
|
theWrappedObject->setAcceptHoverEvents(enabled);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setAcceptedMouseButtons(QGraphicsItem* theWrappedObject, Qt::MouseButtons buttons)
|
|
|
{
|
|
|
theWrappedObject->setAcceptedMouseButtons(buttons);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setAcceptsHoverEvents(QGraphicsItem* theWrappedObject, bool enabled)
|
|
|
{
|
|
|
theWrappedObject->setAcceptsHoverEvents(enabled);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setBoundingRegionGranularity(QGraphicsItem* theWrappedObject, qreal granularity)
|
|
|
{
|
|
|
theWrappedObject->setBoundingRegionGranularity(granularity);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setCacheMode(QGraphicsItem* theWrappedObject, QGraphicsItem::CacheMode mode, const QSize& cacheSize)
|
|
|
{
|
|
|
theWrappedObject->setCacheMode(mode, cacheSize);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setCursor(QGraphicsItem* theWrappedObject, const QCursor& cursor)
|
|
|
{
|
|
|
theWrappedObject->setCursor(cursor);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setData(QGraphicsItem* theWrappedObject, int key, const QVariant& value)
|
|
|
{
|
|
|
theWrappedObject->setData(key, value);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setEnabled(QGraphicsItem* theWrappedObject, bool enabled)
|
|
|
{
|
|
|
theWrappedObject->setEnabled(enabled);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setFlag(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlag flag, bool enabled)
|
|
|
{
|
|
|
theWrappedObject->setFlag(flag, enabled);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setFlags(QGraphicsItem* theWrappedObject, QGraphicsItem::GraphicsItemFlags flags)
|
|
|
{
|
|
|
theWrappedObject->setFlags(flags);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setFocus(QGraphicsItem* theWrappedObject, Qt::FocusReason focusReason)
|
|
|
{
|
|
|
theWrappedObject->setFocus(focusReason);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setGroup(QGraphicsItem* theWrappedObject, QGraphicsItemGroup* group)
|
|
|
{
|
|
|
theWrappedObject->setGroup(group);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setHandlesChildEvents(QGraphicsItem* theWrappedObject, bool enabled)
|
|
|
{
|
|
|
theWrappedObject->setHandlesChildEvents(enabled);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setParentItem(QGraphicsItem* theWrappedObject, QGraphicsItem* parent)
|
|
|
{
|
|
|
theWrappedObject->setParentItem(parent);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, const QPointF& pos)
|
|
|
{
|
|
|
theWrappedObject->setPos(pos);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setPos(QGraphicsItem* theWrappedObject, qreal x, qreal y)
|
|
|
{
|
|
|
theWrappedObject->setPos(x, y);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setSelected(QGraphicsItem* theWrappedObject, bool selected)
|
|
|
{
|
|
|
theWrappedObject->setSelected(selected);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setToolTip(QGraphicsItem* theWrappedObject, const QString& toolTip)
|
|
|
{
|
|
|
theWrappedObject->setToolTip(toolTip);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setTransform(QGraphicsItem* theWrappedObject, const QTransform& matrix, bool combine)
|
|
|
{
|
|
|
theWrappedObject->setTransform(matrix, combine);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setVisible(QGraphicsItem* theWrappedObject, bool visible)
|
|
|
{
|
|
|
theWrappedObject->setVisible(visible);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::setZValue(QGraphicsItem* theWrappedObject, qreal z)
|
|
|
{
|
|
|
theWrappedObject->setZValue(z);
|
|
|
}
|
|
|
|
|
|
QPainterPath PythonQtWrapper_QGraphicsItem::shape(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->shape();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::shear(QGraphicsItem* theWrappedObject, qreal sh, qreal sv)
|
|
|
{
|
|
|
theWrappedObject->shear(sh, sv);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::show(QGraphicsItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->show();
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QGraphicsItem::toolTip(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->toolTip();
|
|
|
}
|
|
|
|
|
|
QGraphicsItem* PythonQtWrapper_QGraphicsItem::topLevelItem(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->topLevelItem();
|
|
|
}
|
|
|
|
|
|
QGraphicsWidget* PythonQtWrapper_QGraphicsItem::topLevelWidget(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->topLevelWidget();
|
|
|
}
|
|
|
|
|
|
QTransform PythonQtWrapper_QGraphicsItem::transform(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->transform();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::translate(QGraphicsItem* theWrappedObject, qreal dx, qreal dy)
|
|
|
{
|
|
|
theWrappedObject->translate(dx, dy);
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QGraphicsItem::type(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->type();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::ungrabKeyboard(QGraphicsItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->ungrabKeyboard();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::ungrabMouse(QGraphicsItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->ungrabMouse();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::unsetCursor(QGraphicsItem* theWrappedObject)
|
|
|
{
|
|
|
theWrappedObject->unsetCursor();
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, const QRectF& rect)
|
|
|
{
|
|
|
theWrappedObject->update(rect);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QGraphicsItem::update(QGraphicsItem* theWrappedObject, qreal x, qreal y, qreal width, qreal height)
|
|
|
{
|
|
|
theWrappedObject->update(x, y, width, height);
|
|
|
}
|
|
|
|
|
|
QGraphicsWidget* PythonQtWrapper_QGraphicsItem::window(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->window();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsItem::x(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->x();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsItem::y(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->y();
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QGraphicsItem::zValue(QGraphicsItem* theWrappedObject) const
|
|
|
{
|
|
|
return theWrappedObject->zValue();
|
|
|
}
|
|
|
|
|
|
|