KLayout 0.29.8 (2024-10-28 63dd591e5) [master]

API reference - Class QGraphicsItem

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QGraphicsItem

Class hierarchy: QGraphicsItem

Sub-classes: CacheMode, QFlags_CacheMode, GraphicsItemChange, QFlags_GraphicsItemChange, GraphicsItemFlag, QFlags_GraphicsItemFlag, PanelModality, QFlags_PanelModality

Public constructors

new QGraphicsItemnew(QGraphicsItem ptr parent = nullptr)Constructor QGraphicsItem::QGraphicsItem(QGraphicsItem *parent)

Public methods

[const]QGraphicsItem ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[const]boolacceptDropsMethod bool QGraphicsItem::acceptDrops()
voidacceptDrops=(bool on)Method void QGraphicsItem::setAcceptDrops(bool on)
[const]boolacceptHoverEventsMethod bool QGraphicsItem::acceptHoverEvents()
voidacceptHoverEvents=(bool enabled)Method void QGraphicsItem::setAcceptHoverEvents(bool enabled)
[const]boolacceptTouchEventsMethod bool QGraphicsItem::acceptTouchEvents()
voidacceptTouchEvents=(bool enabled)Method void QGraphicsItem::setAcceptTouchEvents(bool enabled)
[const]Qt_QFlags_MouseButtonacceptedMouseButtonsMethod QFlags<Qt::MouseButton> QGraphicsItem::acceptedMouseButtons()
voidacceptedMouseButtons=(Qt_QFlags_MouseButton buttons)Method void QGraphicsItem::setAcceptedMouseButtons(QFlags<Qt::MouseButton> buttons)
[const]boolactiveMethod bool QGraphicsItem::isActive()
voidactive=(bool active)Method void QGraphicsItem::setActive(bool active)
voidadvance(int phase)Virtual method void QGraphicsItem::advance(int phase)
[const]QRectFboundingRectVirtual method QRectF QGraphicsItem::boundingRect()
[const]QRegionboundingRegion(const QTransform itemToDeviceTransform)Method QRegion QGraphicsItem::boundingRegion(const QTransform &itemToDeviceTransform)
[const]doubleboundingRegionGranularityMethod double QGraphicsItem::boundingRegionGranularity()
voidboundingRegionGranularity=(double granularity)Method void QGraphicsItem::setBoundingRegionGranularity(double granularity)
[const]QGraphicsItem_CacheModecacheModeMethod QGraphicsItem::CacheMode QGraphicsItem::cacheMode()
[const]QGraphicsItem ptr[]childItemsMethod QList<QGraphicsItem *> QGraphicsItem::childItems()
[const]QRectFchildrenBoundingRectMethod QRectF QGraphicsItem::childrenBoundingRect()
voidclearFocusMethod void QGraphicsItem::clearFocus()
[const]QPainterPathclipPathMethod QPainterPath QGraphicsItem::clipPath()
[const]boolcollidesWithItem(const QGraphicsItem ptr other,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsItem::collidesWithItem(const QGraphicsItem *other, Qt::ItemSelectionMode mode)
[const]boolcollidesWithPath(const QPainterPath path,
const Qt_ItemSelectionMode mode)
Virtual method bool QGraphicsItem::collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode)
[const]QGraphicsItem ptr[]collidingItems(const Qt_ItemSelectionMode mode = Qt::IntersectsItemShape)Method QList<QGraphicsItem *> QGraphicsItem::collidingItems(Qt::ItemSelectionMode mode)
[const]QGraphicsItem ptrcommonAncestorItem(const QGraphicsItem ptr other)Method QGraphicsItem *QGraphicsItem::commonAncestorItem(const QGraphicsItem *other)
[const]boolcontains(const QPointF point)Virtual method bool QGraphicsItem::contains(const QPointF &point)
[const]QCursorcursorMethod QCursor QGraphicsItem::cursor()
voidcursor=(const QCursor cursor)Method void QGraphicsItem::setCursor(const QCursor &cursor)
[const]variantdata(int key)Method QVariant QGraphicsItem::data(int key)
[const]QTransformdeviceTransform(const QTransform viewportTransform)Method QTransform QGraphicsItem::deviceTransform(const QTransform &viewportTransform)
[const]doubleeffectiveOpacityMethod double QGraphicsItem::effectiveOpacity()
[const]boolenabledMethod bool QGraphicsItem::isEnabled()
voidenabled=(bool enabled)Method void QGraphicsItem::setEnabled(bool enabled)
voidensureVisible(const QRectF rect = QRectF(),
int xmargin = 50,
int ymargin = 50)
Method void QGraphicsItem::ensureVisible(const QRectF &rect, int xmargin, int ymargin)
voidensureVisible(double x,
double y,
double w,
double h,
int xmargin = 50,
int ymargin = 50)
Method void QGraphicsItem::ensureVisible(double x, double y, double w, double h, int xmargin, int ymargin)
[const]boolfiltersChildEventsMethod bool QGraphicsItem::filtersChildEvents()
voidfiltersChildEvents=(bool enabled)Method void QGraphicsItem::setFiltersChildEvents(bool enabled)
[const]QGraphicsItem_QFlags_GraphicsItemFlagflagsMethod QFlags<QGraphicsItem::GraphicsItemFlag> QGraphicsItem::flags()
voidflags=(QGraphicsItem_QFlags_GraphicsItemFlag flags)Method void QGraphicsItem::setFlags(QFlags<QGraphicsItem::GraphicsItemFlag> flags)
[const]QGraphicsItem ptrfocusItemMethod QGraphicsItem *QGraphicsItem::focusItem()
[const]QGraphicsItem ptrfocusProxyMethod QGraphicsItem *QGraphicsItem::focusProxy()
voidfocusProxy=(QGraphicsItem ptr item)Method void QGraphicsItem::setFocusProxy(QGraphicsItem *item)
[const]QGraphicsItem ptrfocusScopeItemMethod QGraphicsItem *QGraphicsItem::focusScopeItem()
voidgrabKeyboardMethod void QGraphicsItem::grabKeyboard()
voidgrabMouseMethod void QGraphicsItem::grabMouse()
[const]QGraphicsEffect ptrgraphicsEffectMethod QGraphicsEffect *QGraphicsItem::graphicsEffect()
voidgraphicsEffect=(QGraphicsEffect ptr effect)Method void QGraphicsItem::setGraphicsEffect(QGraphicsEffect *effect)
[const]QGraphicsItemGroup ptrgroupMethod QGraphicsItemGroup *QGraphicsItem::group()
voidgroup=(QGraphicsItemGroup ptr group)Method void QGraphicsItem::setGroup(QGraphicsItemGroup *group)
[const]boolhandlesChildEventsMethod bool QGraphicsItem::handlesChildEvents()
voidhandlesChildEvents=(bool enabled)Method void QGraphicsItem::setHandlesChildEvents(bool enabled)
[const]boolhasCursorMethod bool QGraphicsItem::hasCursor()
[const]boolhasFocusMethod bool QGraphicsItem::hasFocus()
voidhideMethod void QGraphicsItem::hide()
[const]Qt_QFlags_InputMethodHintinputMethodHintsMethod QFlags<Qt::InputMethodHint> QGraphicsItem::inputMethodHints()
voidinputMethodHints=(Qt_QFlags_InputMethodHint hints)Method void QGraphicsItem::setInputMethodHints(QFlags<Qt::InputMethodHint> hints)
voidinstallSceneEventFilter(QGraphicsItem ptr filterItem)Method void QGraphicsItem::installSceneEventFilter(QGraphicsItem *filterItem)
[const]boolisActive?Method bool QGraphicsItem::isActive()
[const]boolisAncestorOf?(const QGraphicsItem ptr child)Method bool QGraphicsItem::isAncestorOf(const QGraphicsItem *child)
[const]boolisClipped?Method bool QGraphicsItem::isClipped()
[const]boolisEnabled?Method bool QGraphicsItem::isEnabled()
[const]boolisObscured?(const QRectF rect = QRectF())Method bool QGraphicsItem::isObscured(const QRectF &rect)
[const]boolisObscured?(double x,
double y,
double w,
double h)
Method bool QGraphicsItem::isObscured(double x, double y, double w, double h)
[const]boolisObscuredBy(const QGraphicsItem ptr item)Virtual method bool QGraphicsItem::isObscuredBy(const QGraphicsItem *item)
[const]boolisObscuredBy?(const QGraphicsItem ptr item)Method bool QGraphicsItem::isObscuredBy(const QGraphicsItem *item)
[const]boolisPanel?Method bool QGraphicsItem::isPanel()
[const]boolisSelected?Method bool QGraphicsItem::isSelected()
[const]boolisUnderMouse?Method bool QGraphicsItem::isUnderMouse()
[const]boolisVisible?Method bool QGraphicsItem::isVisible()
[const]boolisVisibleTo?(const QGraphicsItem ptr parent)Method bool QGraphicsItem::isVisibleTo(const QGraphicsItem *parent)
[const]boolisWidget?Method bool QGraphicsItem::isWidget()
[const]boolisWindow?Method bool QGraphicsItem::isWindow()
[const]QTransformitemTransform(const QGraphicsItem ptr other,
bool ptr ok = nullptr)
Method QTransform QGraphicsItem::itemTransform(const QGraphicsItem *other, bool *ok)
[const]QPointFmapFromItem(const QGraphicsItem ptr item,
const QPointF point)
Method QPointF QGraphicsItem::mapFromItem(const QGraphicsItem *item, const QPointF &point)
[const]QPolygonFmapFromItem(const QGraphicsItem ptr item,
const QRectF rect)
Method QPolygonF QGraphicsItem::mapFromItem(const QGraphicsItem *item, const QRectF &rect)
[const]QPolygonFmapFromItem(const QGraphicsItem ptr item,
const QPolygonF polygon)
Method QPolygonF QGraphicsItem::mapFromItem(const QGraphicsItem *item, const QPolygonF &polygon)
[const]QPainterPathmapFromItem(const QGraphicsItem ptr item,
const QPainterPath path)
Method QPainterPath QGraphicsItem::mapFromItem(const QGraphicsItem *item, const QPainterPath &path)
[const]QPointFmapFromItem(const QGraphicsItem ptr item,
double x,
double y)
Method QPointF QGraphicsItem::mapFromItem(const QGraphicsItem *item, double x, double y)
[const]QPolygonFmapFromItem(const QGraphicsItem ptr item,
double x,
double y,
double w,
double h)
Method QPolygonF QGraphicsItem::mapFromItem(const QGraphicsItem *item, double x, double y, double w, double h)
[const]QPointFmapFromParent(const QPointF point)Method QPointF QGraphicsItem::mapFromParent(const QPointF &point)
[const]QPolygonFmapFromParent(const QRectF rect)Method QPolygonF QGraphicsItem::mapFromParent(const QRectF &rect)
[const]QPolygonFmapFromParent(const QPolygonF polygon)Method QPolygonF QGraphicsItem::mapFromParent(const QPolygonF &polygon)
[const]QPainterPathmapFromParent(const QPainterPath path)Method QPainterPath QGraphicsItem::mapFromParent(const QPainterPath &path)
[const]QPointFmapFromParent(double x,
double y)
Method QPointF QGraphicsItem::mapFromParent(double x, double y)
[const]QPolygonFmapFromParent(double x,
double y,
double w,
double h)
Method QPolygonF QGraphicsItem::mapFromParent(double x, double y, double w, double h)
[const]QPointFmapFromScene(const QPointF point)Method QPointF QGraphicsItem::mapFromScene(const QPointF &point)
[const]QPolygonFmapFromScene(const QRectF rect)Method QPolygonF QGraphicsItem::mapFromScene(const QRectF &rect)
[const]QPolygonFmapFromScene(const QPolygonF polygon)Method QPolygonF QGraphicsItem::mapFromScene(const QPolygonF &polygon)
[const]QPainterPathmapFromScene(const QPainterPath path)Method QPainterPath QGraphicsItem::mapFromScene(const QPainterPath &path)
[const]QPointFmapFromScene(double x,
double y)
Method QPointF QGraphicsItem::mapFromScene(double x, double y)
[const]QPolygonFmapFromScene(double x,
double y,
double w,
double h)
Method QPolygonF QGraphicsItem::mapFromScene(double x, double y, double w, double h)
[const]QRectFmapRectFromItem(const QGraphicsItem ptr item,
const QRectF rect)
Method QRectF QGraphicsItem::mapRectFromItem(const QGraphicsItem *item, const QRectF &rect)
[const]QRectFmapRectFromItem(const QGraphicsItem ptr item,
double x,
double y,
double w,
double h)
Method QRectF QGraphicsItem::mapRectFromItem(const QGraphicsItem *item, double x, double y, double w, double h)
[const]QRectFmapRectFromParent(const QRectF rect)Method QRectF QGraphicsItem::mapRectFromParent(const QRectF &rect)
[const]QRectFmapRectFromParent(double x,
double y,
double w,
double h)
Method QRectF QGraphicsItem::mapRectFromParent(double x, double y, double w, double h)
[const]QRectFmapRectFromScene(const QRectF rect)Method QRectF QGraphicsItem::mapRectFromScene(const QRectF &rect)
[const]QRectFmapRectFromScene(double x,
double y,
double w,
double h)
Method QRectF QGraphicsItem::mapRectFromScene(double x, double y, double w, double h)
[const]QRectFmapRectToItem(const QGraphicsItem ptr item,
const QRectF rect)
Method QRectF QGraphicsItem::mapRectToItem(const QGraphicsItem *item, const QRectF &rect)
[const]QRectFmapRectToItem(const QGraphicsItem ptr item,
double x,
double y,
double w,
double h)
Method QRectF QGraphicsItem::mapRectToItem(const QGraphicsItem *item, double x, double y, double w, double h)
[const]QRectFmapRectToParent(const QRectF rect)Method QRectF QGraphicsItem::mapRectToParent(const QRectF &rect)
[const]QRectFmapRectToParent(double x,
double y,
double w,
double h)
Method QRectF QGraphicsItem::mapRectToParent(double x, double y, double w, double h)
[const]QRectFmapRectToScene(const QRectF rect)Method QRectF QGraphicsItem::mapRectToScene(const QRectF &rect)
[const]QRectFmapRectToScene(double x,
double y,
double w,
double h)
Method QRectF QGraphicsItem::mapRectToScene(double x, double y, double w, double h)
[const]QPointFmapToItem(const QGraphicsItem ptr item,
const QPointF point)
Method QPointF QGraphicsItem::mapToItem(const QGraphicsItem *item, const QPointF &point)
[const]QPolygonFmapToItem(const QGraphicsItem ptr item,
const QRectF rect)
Method QPolygonF QGraphicsItem::mapToItem(const QGraphicsItem *item, const QRectF &rect)
[const]QPolygonFmapToItem(const QGraphicsItem ptr item,
const QPolygonF polygon)
Method QPolygonF QGraphicsItem::mapToItem(const QGraphicsItem *item, const QPolygonF &polygon)
[const]QPainterPathmapToItem(const QGraphicsItem ptr item,
const QPainterPath path)
Method QPainterPath QGraphicsItem::mapToItem(const QGraphicsItem *item, const QPainterPath &path)
[const]QPointFmapToItem(const QGraphicsItem ptr item,
double x,
double y)
Method QPointF QGraphicsItem::mapToItem(const QGraphicsItem *item, double x, double y)
[const]QPolygonFmapToItem(const QGraphicsItem ptr item,
double x,
double y,
double w,
double h)
Method QPolygonF QGraphicsItem::mapToItem(const QGraphicsItem *item, double x, double y, double w, double h)
[const]QPointFmapToParent(const QPointF point)Method QPointF QGraphicsItem::mapToParent(const QPointF &point)
[const]QPolygonFmapToParent(const QRectF rect)Method QPolygonF QGraphicsItem::mapToParent(const QRectF &rect)
[const]QPolygonFmapToParent(const QPolygonF polygon)Method QPolygonF QGraphicsItem::mapToParent(const QPolygonF &polygon)
[const]QPainterPathmapToParent(const QPainterPath path)Method QPainterPath QGraphicsItem::mapToParent(const QPainterPath &path)
[const]QPointFmapToParent(double x,
double y)
Method QPointF QGraphicsItem::mapToParent(double x, double y)
[const]QPolygonFmapToParent(double x,
double y,
double w,
double h)
Method QPolygonF QGraphicsItem::mapToParent(double x, double y, double w, double h)
[const]QPointFmapToScene(const QPointF point)Method QPointF QGraphicsItem::mapToScene(const QPointF &point)
[const]QPolygonFmapToScene(const QRectF rect)Method QPolygonF QGraphicsItem::mapToScene(const QRectF &rect)
[const]QPolygonFmapToScene(const QPolygonF polygon)Method QPolygonF QGraphicsItem::mapToScene(const QPolygonF &polygon)
[const]QPainterPathmapToScene(const QPainterPath path)Method QPainterPath QGraphicsItem::mapToScene(const QPainterPath &path)
[const]QPointFmapToScene(double x,
double y)
Method QPointF QGraphicsItem::mapToScene(double x, double y)
[const]QPolygonFmapToScene(double x,
double y,
double w,
double h)
Method QPolygonF QGraphicsItem::mapToScene(double x, double y, double w, double h)
[const]QMatrixmatrixMethod QMatrix QGraphicsItem::matrix()
voidmoveBy(double dx,
double dy)
Method void QGraphicsItem::moveBy(double dx, double dy)
[const]doubleopacityMethod double QGraphicsItem::opacity()
voidopacity=(double opacity)Method void QGraphicsItem::setOpacity(double opacity)
[const]QPainterPathopaqueAreaVirtual method QPainterPath QGraphicsItem::opaqueArea()
voidpaint(QPainter ptr painter,
const QStyleOptionGraphicsItem ptr option,
QWidget ptr widget)
Virtual method void QGraphicsItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
[const]QGraphicsItem ptrpanelMethod QGraphicsItem *QGraphicsItem::panel()
[const]QGraphicsItem_PanelModalitypanelModalityMethod QGraphicsItem::PanelModality QGraphicsItem::panelModality()
voidpanelModality=(const QGraphicsItem_PanelModality panelModality)Method void QGraphicsItem::setPanelModality(QGraphicsItem::PanelModality panelModality)
[const]QGraphicsItem ptrparentItemMethod QGraphicsItem *QGraphicsItem::parentItem()
voidparentItem=(QGraphicsItem ptr parent)Method void QGraphicsItem::setParentItem(QGraphicsItem *parent)
[const]QGraphicsObject ptrparentObjectMethod QGraphicsObject *QGraphicsItem::parentObject()
[const]QGraphicsWidget ptrparentWidgetMethod QGraphicsWidget *QGraphicsItem::parentWidget()
[const]QPointFposMethod QPointF QGraphicsItem::pos()
voidpos=(const QPointF pos)Method void QGraphicsItem::setPos(const QPointF &pos)
voidremoveSceneEventFilter(QGraphicsItem ptr filterItem)Method void QGraphicsItem::removeSceneEventFilter(QGraphicsItem *filterItem)
voidresetMatrixMethod void QGraphicsItem::resetMatrix()
voidresetTransformMethod void QGraphicsItem::resetTransform()
[const]doublerotationMethod double QGraphicsItem::rotation()
voidrotation=(double angle)Method void QGraphicsItem::setRotation(double angle)
[const]doublescaleMethod double QGraphicsItem::scale()
voidscale=(double scale)Method void QGraphicsItem::setScale(double scale)
[const]QGraphicsScene ptrsceneMethod QGraphicsScene *QGraphicsItem::scene()
[const]QRectFsceneBoundingRectMethod QRectF QGraphicsItem::sceneBoundingRect()
[const]QMatrixsceneMatrixMethod QMatrix QGraphicsItem::sceneMatrix()
[const]QPointFscenePosMethod QPointF QGraphicsItem::scenePos()
[const]QTransformsceneTransformMethod QTransform QGraphicsItem::sceneTransform()
voidscroll(double dx,
double dy,
const QRectF rect = QRectF())
Method void QGraphicsItem::scroll(double dx, double dy, const QRectF &rect)
[const]boolselectedMethod bool QGraphicsItem::isSelected()
voidselected=(bool selected)Method void QGraphicsItem::setSelected(bool selected)
voidsetAcceptDrops(bool on)Method void QGraphicsItem::setAcceptDrops(bool on)
voidsetAcceptHoverEvents(bool enabled)Method void QGraphicsItem::setAcceptHoverEvents(bool enabled)
voidsetAcceptTouchEvents(bool enabled)Method void QGraphicsItem::setAcceptTouchEvents(bool enabled)
voidsetAcceptedMouseButtons(Qt_QFlags_MouseButton buttons)Method void QGraphicsItem::setAcceptedMouseButtons(QFlags<Qt::MouseButton> buttons)
voidsetActive(bool active)Method void QGraphicsItem::setActive(bool active)
voidsetBoundingRegionGranularity(double granularity)Method void QGraphicsItem::setBoundingRegionGranularity(double granularity)
voidsetCacheMode(const QGraphicsItem_CacheMode mode,
const QSize cacheSize = QSize())
Method void QGraphicsItem::setCacheMode(QGraphicsItem::CacheMode mode, const QSize &cacheSize)
voidsetCursor(const QCursor cursor)Method void QGraphicsItem::setCursor(const QCursor &cursor)
voidsetData(int key,
variant value)
Method void QGraphicsItem::setData(int key, const QVariant &value)
voidsetEnabled(bool enabled)Method void QGraphicsItem::setEnabled(bool enabled)
voidsetFiltersChildEvents(bool enabled)Method void QGraphicsItem::setFiltersChildEvents(bool enabled)
voidsetFlag(const QGraphicsItem_GraphicsItemFlag flag,
bool enabled = true)
Method void QGraphicsItem::setFlag(QGraphicsItem::GraphicsItemFlag flag, bool enabled)
voidsetFlags(QGraphicsItem_QFlags_GraphicsItemFlag flags)Method void QGraphicsItem::setFlags(QFlags<QGraphicsItem::GraphicsItemFlag> flags)
voidsetFocus(const Qt_FocusReason focusReason = Qt::OtherFocusReason)Method void QGraphicsItem::setFocus(Qt::FocusReason focusReason)
voidsetFocusProxy(QGraphicsItem ptr item)Method void QGraphicsItem::setFocusProxy(QGraphicsItem *item)
voidsetGraphicsEffect(QGraphicsEffect ptr effect)Method void QGraphicsItem::setGraphicsEffect(QGraphicsEffect *effect)
voidsetGroup(QGraphicsItemGroup ptr group)Method void QGraphicsItem::setGroup(QGraphicsItemGroup *group)
voidsetHandlesChildEvents(bool enabled)Method void QGraphicsItem::setHandlesChildEvents(bool enabled)
voidsetInputMethodHints(Qt_QFlags_InputMethodHint hints)Method void QGraphicsItem::setInputMethodHints(QFlags<Qt::InputMethodHint> hints)
voidsetMatrix(const QMatrix matrix,
bool combine = false)
Method void QGraphicsItem::setMatrix(const QMatrix &matrix, bool combine)
voidsetOpacity(double opacity)Method void QGraphicsItem::setOpacity(double opacity)
voidsetPanelModality(const QGraphicsItem_PanelModality panelModality)Method void QGraphicsItem::setPanelModality(QGraphicsItem::PanelModality panelModality)
voidsetParentItem(QGraphicsItem ptr parent)Method void QGraphicsItem::setParentItem(QGraphicsItem *parent)
voidsetPos(const QPointF pos)Method void QGraphicsItem::setPos(const QPointF &pos)
voidsetPos(double x,
double y)
Method void QGraphicsItem::setPos(double x, double y)
voidsetRotation(double angle)Method void QGraphicsItem::setRotation(double angle)
voidsetScale(double scale)Method void QGraphicsItem::setScale(double scale)
voidsetSelected(bool selected)Method void QGraphicsItem::setSelected(bool selected)
voidsetToolTip(string toolTip)Method void QGraphicsItem::setToolTip(const QString &toolTip)
voidsetTransform(const QTransform matrix,
bool combine = false)
Method void QGraphicsItem::setTransform(const QTransform &matrix, bool combine)
voidsetTransformOriginPoint(const QPointF origin)Method void QGraphicsItem::setTransformOriginPoint(const QPointF &origin)
voidsetTransformOriginPoint(double ax,
double ay)
Method void QGraphicsItem::setTransformOriginPoint(double ax, double ay)
voidsetTransformations(QGraphicsTransform ptr[] transformations)Method void QGraphicsItem::setTransformations(const QList<QGraphicsTransform *> &transformations)
voidsetVisible(bool visible)Method void QGraphicsItem::setVisible(bool visible)
voidsetX(double x)Method void QGraphicsItem::setX(double x)
voidsetY(double y)Method void QGraphicsItem::setY(double y)
voidsetZValue(double z)Method void QGraphicsItem::setZValue(double z)
[const]QPainterPathshapeVirtual method QPainterPath QGraphicsItem::shape()
voidshowMethod void QGraphicsItem::show()
voidstackBefore(const QGraphicsItem ptr sibling)Method void QGraphicsItem::stackBefore(const QGraphicsItem *sibling)
QGraphicsObject ptrtoGraphicsObjectMethod QGraphicsObject *QGraphicsItem::toGraphicsObject()
[const]const QGraphicsObject ptrtoGraphicsObjectMethod const QGraphicsObject *QGraphicsItem::toGraphicsObject()
[const]stringtoolTipMethod QString QGraphicsItem::toolTip()
voidtoolTip=(string toolTip)Method void QGraphicsItem::setToolTip(const QString &toolTip)
[const]QGraphicsItem ptrtopLevelItemMethod QGraphicsItem *QGraphicsItem::topLevelItem()
[const]QGraphicsWidget ptrtopLevelWidgetMethod QGraphicsWidget *QGraphicsItem::topLevelWidget()
[const]QTransformtransformMethod QTransform QGraphicsItem::transform()
[const]QPointFtransformOriginPointMethod QPointF QGraphicsItem::transformOriginPoint()
voidtransformOriginPoint=(const QPointF origin)Method void QGraphicsItem::setTransformOriginPoint(const QPointF &origin)
[const]QGraphicsTransform ptr[]transformationsMethod QList<QGraphicsTransform *> QGraphicsItem::transformations()
voidtransformations=(QGraphicsTransform ptr[] transformations)Method void QGraphicsItem::setTransformations(const QList<QGraphicsTransform *> &transformations)
[const]inttypeVirtual method int QGraphicsItem::type()
voidungrabKeyboardMethod void QGraphicsItem::ungrabKeyboard()
voidungrabMouseMethod void QGraphicsItem::ungrabMouse()
voidunsetCursorMethod void QGraphicsItem::unsetCursor()
voidupdate(const QRectF rect = QRectF())Method void QGraphicsItem::update(const QRectF &rect)
voidupdate(double x,
double y,
double width,
double height)
Method void QGraphicsItem::update(double x, double y, double width, double height)
[const]boolvisibleMethod bool QGraphicsItem::isVisible()
voidvisible=(bool visible)Method void QGraphicsItem::setVisible(bool visible)
[const]QGraphicsWidget ptrwindowMethod QGraphicsWidget *QGraphicsItem::window()
[const]doublexMethod double QGraphicsItem::x()
voidx=(double x)Method void QGraphicsItem::setX(double x)
[const]doubleyMethod double QGraphicsItem::y()
voidy=(double y)Method void QGraphicsItem::setY(double y)
[const]doublezValueMethod double QGraphicsItem::zValue()
voidzValue=(double z)Method void QGraphicsItem::setZValue(double z)

Public static methods and constants

[static,const]QGraphicsItem_CacheModeDeviceCoordinateCacheEnum constant QGraphicsItem::DeviceCoordinateCache
[static,const]QGraphicsItem_GraphicsItemFlagItemAcceptsInputMethodEnum constant QGraphicsItem::ItemAcceptsInputMethod
[static,const]QGraphicsItem_GraphicsItemChangeItemChildAddedChangeEnum constant QGraphicsItem::ItemChildAddedChange
[static,const]QGraphicsItem_GraphicsItemChangeItemChildRemovedChangeEnum constant QGraphicsItem::ItemChildRemovedChange
[static,const]QGraphicsItem_GraphicsItemFlagItemClipsChildrenToShapeEnum constant QGraphicsItem::ItemClipsChildrenToShape
[static,const]QGraphicsItem_GraphicsItemFlagItemClipsToShapeEnum constant QGraphicsItem::ItemClipsToShape
[static,const]QGraphicsItem_GraphicsItemFlagItemContainsChildrenInShapeEnum constant QGraphicsItem::ItemContainsChildrenInShape
[static,const]QGraphicsItem_CacheModeItemCoordinateCacheEnum constant QGraphicsItem::ItemCoordinateCache
[static,const]QGraphicsItem_GraphicsItemChangeItemCursorChangeEnum constant QGraphicsItem::ItemCursorChange
[static,const]QGraphicsItem_GraphicsItemChangeItemCursorHasChangedEnum constant QGraphicsItem::ItemCursorHasChanged
[static,const]QGraphicsItem_GraphicsItemFlagItemDoesntPropagateOpacityToChildrenEnum constant QGraphicsItem::ItemDoesntPropagateOpacityToChildren
[static,const]QGraphicsItem_GraphicsItemChangeItemEnabledChangeEnum constant QGraphicsItem::ItemEnabledChange
[static,const]QGraphicsItem_GraphicsItemChangeItemEnabledHasChangedEnum constant QGraphicsItem::ItemEnabledHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemFlagsChangeEnum constant QGraphicsItem::ItemFlagsChange
[static,const]QGraphicsItem_GraphicsItemChangeItemFlagsHaveChangedEnum constant QGraphicsItem::ItemFlagsHaveChanged
[static,const]QGraphicsItem_GraphicsItemFlagItemHasNoContentsEnum constant QGraphicsItem::ItemHasNoContents
[static,const]QGraphicsItem_GraphicsItemFlagItemIgnoresParentOpacityEnum constant QGraphicsItem::ItemIgnoresParentOpacity
[static,const]QGraphicsItem_GraphicsItemFlagItemIgnoresTransformationsEnum constant QGraphicsItem::ItemIgnoresTransformations
[static,const]QGraphicsItem_GraphicsItemFlagItemIsFocusScopeEnum constant QGraphicsItem::ItemIsFocusScope
[static,const]QGraphicsItem_GraphicsItemFlagItemIsFocusableEnum constant QGraphicsItem::ItemIsFocusable
[static,const]QGraphicsItem_GraphicsItemFlagItemIsMovableEnum constant QGraphicsItem::ItemIsMovable
[static,const]QGraphicsItem_GraphicsItemFlagItemIsPanelEnum constant QGraphicsItem::ItemIsPanel
[static,const]QGraphicsItem_GraphicsItemFlagItemIsSelectableEnum constant QGraphicsItem::ItemIsSelectable
[static,const]QGraphicsItem_GraphicsItemChangeItemMatrixChangeEnum constant QGraphicsItem::ItemMatrixChange
[static,const]QGraphicsItem_GraphicsItemFlagItemNegativeZStacksBehindParentEnum constant QGraphicsItem::ItemNegativeZStacksBehindParent
[static,const]QGraphicsItem_GraphicsItemChangeItemOpacityChangeEnum constant QGraphicsItem::ItemOpacityChange
[static,const]QGraphicsItem_GraphicsItemChangeItemOpacityHasChangedEnum constant QGraphicsItem::ItemOpacityHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemParentChangeEnum constant QGraphicsItem::ItemParentChange
[static,const]QGraphicsItem_GraphicsItemChangeItemParentHasChangedEnum constant QGraphicsItem::ItemParentHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemPositionChangeEnum constant QGraphicsItem::ItemPositionChange
[static,const]QGraphicsItem_GraphicsItemChangeItemPositionHasChangedEnum constant QGraphicsItem::ItemPositionHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemRotationChangeEnum constant QGraphicsItem::ItemRotationChange
[static,const]QGraphicsItem_GraphicsItemChangeItemRotationHasChangedEnum constant QGraphicsItem::ItemRotationHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemScaleChangeEnum constant QGraphicsItem::ItemScaleChange
[static,const]QGraphicsItem_GraphicsItemChangeItemScaleHasChangedEnum constant QGraphicsItem::ItemScaleHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemSceneChangeEnum constant QGraphicsItem::ItemSceneChange
[static,const]QGraphicsItem_GraphicsItemChangeItemSceneHasChangedEnum constant QGraphicsItem::ItemSceneHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemScenePositionHasChangedEnum constant QGraphicsItem::ItemScenePositionHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemSelectedChangeEnum constant QGraphicsItem::ItemSelectedChange
[static,const]QGraphicsItem_GraphicsItemChangeItemSelectedHasChangedEnum constant QGraphicsItem::ItemSelectedHasChanged
[static,const]QGraphicsItem_GraphicsItemFlagItemSendsGeometryChangesEnum constant QGraphicsItem::ItemSendsGeometryChanges
[static,const]QGraphicsItem_GraphicsItemFlagItemSendsScenePositionChangesEnum constant QGraphicsItem::ItemSendsScenePositionChanges
[static,const]QGraphicsItem_GraphicsItemFlagItemStacksBehindParentEnum constant QGraphicsItem::ItemStacksBehindParent
[static,const]QGraphicsItem_GraphicsItemFlagItemStopsClickFocusPropagationEnum constant QGraphicsItem::ItemStopsClickFocusPropagation
[static,const]QGraphicsItem_GraphicsItemFlagItemStopsFocusHandlingEnum constant QGraphicsItem::ItemStopsFocusHandling
[static,const]QGraphicsItem_GraphicsItemChangeItemToolTipChangeEnum constant QGraphicsItem::ItemToolTipChange
[static,const]QGraphicsItem_GraphicsItemChangeItemToolTipHasChangedEnum constant QGraphicsItem::ItemToolTipHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemTransformChangeEnum constant QGraphicsItem::ItemTransformChange
[static,const]QGraphicsItem_GraphicsItemChangeItemTransformHasChangedEnum constant QGraphicsItem::ItemTransformHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemTransformOriginPointChangeEnum constant QGraphicsItem::ItemTransformOriginPointChange
[static,const]QGraphicsItem_GraphicsItemChangeItemTransformOriginPointHasChangedEnum constant QGraphicsItem::ItemTransformOriginPointHasChanged
[static,const]QGraphicsItem_GraphicsItemFlagItemUsesExtendedStyleOptionEnum constant QGraphicsItem::ItemUsesExtendedStyleOption
[static,const]QGraphicsItem_GraphicsItemChangeItemVisibleChangeEnum constant QGraphicsItem::ItemVisibleChange
[static,const]QGraphicsItem_GraphicsItemChangeItemVisibleHasChangedEnum constant QGraphicsItem::ItemVisibleHasChanged
[static,const]QGraphicsItem_GraphicsItemChangeItemZValueChangeEnum constant QGraphicsItem::ItemZValueChange
[static,const]QGraphicsItem_GraphicsItemChangeItemZValueHasChangedEnum constant QGraphicsItem::ItemZValueHasChanged
[static,const]QGraphicsItem_CacheModeNoCacheEnum constant QGraphicsItem::NoCache
[static,const]QGraphicsItem_PanelModalityNonModalEnum constant QGraphicsItem::NonModal
[static,const]QGraphicsItem_PanelModalityPanelModalEnum constant QGraphicsItem::PanelModal
[static,const]QGraphicsItem_PanelModalitySceneModalEnum constant QGraphicsItem::SceneModal

Protected methods (static, non-static and constructors)

voidaddToIndexMethod void QGraphicsItem::addToIndex()
voidcontextMenuEvent(QGraphicsSceneContextMenuEvent ptr event)Virtual method void QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
voiddragEnterEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
voiddragLeaveEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
voiddragMoveEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent *event)
voiddropEvent(QGraphicsSceneDragDropEvent ptr event)Virtual method void QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent *event)
[const]variantextension(variant variant)Virtual method QVariant QGraphicsItem::extension(const QVariant &variant)
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QGraphicsItem::focusInEvent(QFocusEvent *event)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QGraphicsItem::focusOutEvent(QFocusEvent *event)
voidhoverEnterEvent(QGraphicsSceneHoverEvent ptr event)Virtual method void QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
voidhoverLeaveEvent(QGraphicsSceneHoverEvent ptr event)Virtual method void QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
voidhoverMoveEvent(QGraphicsSceneHoverEvent ptr event)Virtual method void QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent *event)
voidinputMethodEvent(QInputMethodEvent ptr event)Virtual method void QGraphicsItem::inputMethodEvent(QInputMethodEvent *event)
[const]variantinputMethodQuery(const Qt_InputMethodQuery query)Virtual method QVariant QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query)
variantitemChange(const QGraphicsItem_GraphicsItemChange change,
variant value)
Virtual method QVariant QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value)
voidkeyPressEvent(QKeyEvent ptr event)Virtual method void QGraphicsItem::keyPressEvent(QKeyEvent *event)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QGraphicsItem::keyReleaseEvent(QKeyEvent *event)
voidmouseDoubleClickEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
voidmouseMoveEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
voidmousePressEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
voidmouseReleaseEvent(QGraphicsSceneMouseEvent ptr event)Virtual method void QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
voidprepareGeometryChangeMethod void QGraphicsItem::prepareGeometryChange()
voidremoveFromIndexMethod void QGraphicsItem::removeFromIndex()
boolsceneEvent(QEvent ptr event)Virtual method bool QGraphicsItem::sceneEvent(QEvent *event)
boolsceneEventFilter(QGraphicsItem ptr watched,
QEvent ptr event)
Virtual method bool QGraphicsItem::sceneEventFilter(QGraphicsItem *watched, QEvent *event)
voidsetExtension(unsigned int extension,
variant variant)
Virtual method void QGraphicsItem::setExtension(QGraphicsItem::Extension extension, const QVariant &variant)
[const]boolsupportsExtension(unsigned int extension)Virtual method bool QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension)
voidupdateMicroFocusMethod void QGraphicsItem::updateMicroFocus()
voidwheelEvent(QGraphicsSceneWheelEvent ptr event)Virtual method void QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent *event)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]booldestroyed?Use of this method is deprecated. Use _destroyed? instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

DeviceCoordinateCache

Signature: [static,const] QGraphicsItem_CacheMode DeviceCoordinateCache

Description: Enum constant QGraphicsItem::DeviceCoordinateCache

Python specific notes:
The object exposes a readable attribute 'DeviceCoordinateCache'. This is the getter.
The object exposes a readable attribute 'DeviceCoordinateCache'. This is the getter.

ItemAcceptsInputMethod

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemAcceptsInputMethod

Description: Enum constant QGraphicsItem::ItemAcceptsInputMethod

Python specific notes:
The object exposes a readable attribute 'ItemAcceptsInputMethod'. This is the getter.
The object exposes a readable attribute 'ItemAcceptsInputMethod'. This is the getter.

ItemChildAddedChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemChildAddedChange

Description: Enum constant QGraphicsItem::ItemChildAddedChange

Python specific notes:
The object exposes a readable attribute 'ItemChildAddedChange'. This is the getter.
The object exposes a readable attribute 'ItemChildAddedChange'. This is the getter.

ItemChildRemovedChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemChildRemovedChange

Description: Enum constant QGraphicsItem::ItemChildRemovedChange

Python specific notes:
The object exposes a readable attribute 'ItemChildRemovedChange'. This is the getter.
The object exposes a readable attribute 'ItemChildRemovedChange'. This is the getter.

ItemClipsChildrenToShape

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemClipsChildrenToShape

Description: Enum constant QGraphicsItem::ItemClipsChildrenToShape

Python specific notes:
The object exposes a readable attribute 'ItemClipsChildrenToShape'. This is the getter.
The object exposes a readable attribute 'ItemClipsChildrenToShape'. This is the getter.

ItemClipsToShape

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemClipsToShape

Description: Enum constant QGraphicsItem::ItemClipsToShape

Python specific notes:
The object exposes a readable attribute 'ItemClipsToShape'. This is the getter.
The object exposes a readable attribute 'ItemClipsToShape'. This is the getter.

ItemContainsChildrenInShape

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemContainsChildrenInShape

Description: Enum constant QGraphicsItem::ItemContainsChildrenInShape

Python specific notes:
The object exposes a readable attribute 'ItemContainsChildrenInShape'. This is the getter.
The object exposes a readable attribute 'ItemContainsChildrenInShape'. This is the getter.

ItemCoordinateCache

Signature: [static,const] QGraphicsItem_CacheMode ItemCoordinateCache

Description: Enum constant QGraphicsItem::ItemCoordinateCache

Python specific notes:
The object exposes a readable attribute 'ItemCoordinateCache'. This is the getter.
The object exposes a readable attribute 'ItemCoordinateCache'. This is the getter.

ItemCursorChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemCursorChange

Description: Enum constant QGraphicsItem::ItemCursorChange

Python specific notes:
The object exposes a readable attribute 'ItemCursorChange'. This is the getter.
The object exposes a readable attribute 'ItemCursorChange'. This is the getter.

ItemCursorHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemCursorHasChanged

Description: Enum constant QGraphicsItem::ItemCursorHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemCursorHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemCursorHasChanged'. This is the getter.

ItemDoesntPropagateOpacityToChildren

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemDoesntPropagateOpacityToChildren

Description: Enum constant QGraphicsItem::ItemDoesntPropagateOpacityToChildren

Python specific notes:
The object exposes a readable attribute 'ItemDoesntPropagateOpacityToChildren'. This is the getter.
The object exposes a readable attribute 'ItemDoesntPropagateOpacityToChildren'. This is the getter.

ItemEnabledChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemEnabledChange

Description: Enum constant QGraphicsItem::ItemEnabledChange

Python specific notes:
The object exposes a readable attribute 'ItemEnabledChange'. This is the getter.
The object exposes a readable attribute 'ItemEnabledChange'. This is the getter.

ItemEnabledHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemEnabledHasChanged

Description: Enum constant QGraphicsItem::ItemEnabledHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemEnabledHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemEnabledHasChanged'. This is the getter.

ItemFlagsChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemFlagsChange

Description: Enum constant QGraphicsItem::ItemFlagsChange

Python specific notes:
The object exposes a readable attribute 'ItemFlagsChange'. This is the getter.
The object exposes a readable attribute 'ItemFlagsChange'. This is the getter.

ItemFlagsHaveChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemFlagsHaveChanged

Description: Enum constant QGraphicsItem::ItemFlagsHaveChanged

Python specific notes:
The object exposes a readable attribute 'ItemFlagsHaveChanged'. This is the getter.
The object exposes a readable attribute 'ItemFlagsHaveChanged'. This is the getter.

ItemHasNoContents

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemHasNoContents

Description: Enum constant QGraphicsItem::ItemHasNoContents

Python specific notes:
The object exposes a readable attribute 'ItemHasNoContents'. This is the getter.
The object exposes a readable attribute 'ItemHasNoContents'. This is the getter.

ItemIgnoresParentOpacity

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemIgnoresParentOpacity

Description: Enum constant QGraphicsItem::ItemIgnoresParentOpacity

Python specific notes:
The object exposes a readable attribute 'ItemIgnoresParentOpacity'. This is the getter.
The object exposes a readable attribute 'ItemIgnoresParentOpacity'. This is the getter.

ItemIgnoresTransformations

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemIgnoresTransformations

Description: Enum constant QGraphicsItem::ItemIgnoresTransformations

Python specific notes:
The object exposes a readable attribute 'ItemIgnoresTransformations'. This is the getter.
The object exposes a readable attribute 'ItemIgnoresTransformations'. This is the getter.

ItemIsFocusScope

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemIsFocusScope

Description: Enum constant QGraphicsItem::ItemIsFocusScope

Python specific notes:
The object exposes a readable attribute 'ItemIsFocusScope'. This is the getter.
The object exposes a readable attribute 'ItemIsFocusScope'. This is the getter.

ItemIsFocusable

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemIsFocusable

Description: Enum constant QGraphicsItem::ItemIsFocusable

Python specific notes:
The object exposes a readable attribute 'ItemIsFocusable'. This is the getter.
The object exposes a readable attribute 'ItemIsFocusable'. This is the getter.

ItemIsMovable

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemIsMovable

Description: Enum constant QGraphicsItem::ItemIsMovable

Python specific notes:
The object exposes a readable attribute 'ItemIsMovable'. This is the getter.
The object exposes a readable attribute 'ItemIsMovable'. This is the getter.

ItemIsPanel

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemIsPanel

Description: Enum constant QGraphicsItem::ItemIsPanel

Python specific notes:
The object exposes a readable attribute 'ItemIsPanel'. This is the getter.
The object exposes a readable attribute 'ItemIsPanel'. This is the getter.

ItemIsSelectable

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemIsSelectable

Description: Enum constant QGraphicsItem::ItemIsSelectable

Python specific notes:
The object exposes a readable attribute 'ItemIsSelectable'. This is the getter.
The object exposes a readable attribute 'ItemIsSelectable'. This is the getter.

ItemMatrixChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemMatrixChange

Description: Enum constant QGraphicsItem::ItemMatrixChange

Python specific notes:
The object exposes a readable attribute 'ItemMatrixChange'. This is the getter.
The object exposes a readable attribute 'ItemMatrixChange'. This is the getter.

ItemNegativeZStacksBehindParent

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemNegativeZStacksBehindParent

Description: Enum constant QGraphicsItem::ItemNegativeZStacksBehindParent

Python specific notes:
The object exposes a readable attribute 'ItemNegativeZStacksBehindParent'. This is the getter.
The object exposes a readable attribute 'ItemNegativeZStacksBehindParent'. This is the getter.

ItemOpacityChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemOpacityChange

Description: Enum constant QGraphicsItem::ItemOpacityChange

Python specific notes:
The object exposes a readable attribute 'ItemOpacityChange'. This is the getter.
The object exposes a readable attribute 'ItemOpacityChange'. This is the getter.

ItemOpacityHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemOpacityHasChanged

Description: Enum constant QGraphicsItem::ItemOpacityHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemOpacityHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemOpacityHasChanged'. This is the getter.

ItemParentChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemParentChange

Description: Enum constant QGraphicsItem::ItemParentChange

Python specific notes:
The object exposes a readable attribute 'ItemParentChange'. This is the getter.
The object exposes a readable attribute 'ItemParentChange'. This is the getter.

ItemParentHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemParentHasChanged

Description: Enum constant QGraphicsItem::ItemParentHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemParentHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemParentHasChanged'. This is the getter.

ItemPositionChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemPositionChange

Description: Enum constant QGraphicsItem::ItemPositionChange

Python specific notes:
The object exposes a readable attribute 'ItemPositionChange'. This is the getter.
The object exposes a readable attribute 'ItemPositionChange'. This is the getter.

ItemPositionHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemPositionHasChanged

Description: Enum constant QGraphicsItem::ItemPositionHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemPositionHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemPositionHasChanged'. This is the getter.

ItemRotationChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemRotationChange

Description: Enum constant QGraphicsItem::ItemRotationChange

Python specific notes:
The object exposes a readable attribute 'ItemRotationChange'. This is the getter.
The object exposes a readable attribute 'ItemRotationChange'. This is the getter.

ItemRotationHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemRotationHasChanged

Description: Enum constant QGraphicsItem::ItemRotationHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemRotationHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemRotationHasChanged'. This is the getter.

ItemScaleChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemScaleChange

Description: Enum constant QGraphicsItem::ItemScaleChange

Python specific notes:
The object exposes a readable attribute 'ItemScaleChange'. This is the getter.
The object exposes a readable attribute 'ItemScaleChange'. This is the getter.

ItemScaleHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemScaleHasChanged

Description: Enum constant QGraphicsItem::ItemScaleHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemScaleHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemScaleHasChanged'. This is the getter.

ItemSceneChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemSceneChange

Description: Enum constant QGraphicsItem::ItemSceneChange

Python specific notes:
The object exposes a readable attribute 'ItemSceneChange'. This is the getter.
The object exposes a readable attribute 'ItemSceneChange'. This is the getter.

ItemSceneHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemSceneHasChanged

Description: Enum constant QGraphicsItem::ItemSceneHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemSceneHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemSceneHasChanged'. This is the getter.

ItemScenePositionHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemScenePositionHasChanged

Description: Enum constant QGraphicsItem::ItemScenePositionHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemScenePositionHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemScenePositionHasChanged'. This is the getter.

ItemSelectedChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemSelectedChange

Description: Enum constant QGraphicsItem::ItemSelectedChange

Python specific notes:
The object exposes a readable attribute 'ItemSelectedChange'. This is the getter.
The object exposes a readable attribute 'ItemSelectedChange'. This is the getter.

ItemSelectedHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemSelectedHasChanged

Description: Enum constant QGraphicsItem::ItemSelectedHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemSelectedHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemSelectedHasChanged'. This is the getter.

ItemSendsGeometryChanges

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemSendsGeometryChanges

Description: Enum constant QGraphicsItem::ItemSendsGeometryChanges

Python specific notes:
The object exposes a readable attribute 'ItemSendsGeometryChanges'. This is the getter.
The object exposes a readable attribute 'ItemSendsGeometryChanges'. This is the getter.

ItemSendsScenePositionChanges

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemSendsScenePositionChanges

Description: Enum constant QGraphicsItem::ItemSendsScenePositionChanges

Python specific notes:
The object exposes a readable attribute 'ItemSendsScenePositionChanges'. This is the getter.
The object exposes a readable attribute 'ItemSendsScenePositionChanges'. This is the getter.

ItemStacksBehindParent

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemStacksBehindParent

Description: Enum constant QGraphicsItem::ItemStacksBehindParent

Python specific notes:
The object exposes a readable attribute 'ItemStacksBehindParent'. This is the getter.
The object exposes a readable attribute 'ItemStacksBehindParent'. This is the getter.

ItemStopsClickFocusPropagation

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemStopsClickFocusPropagation

Description: Enum constant QGraphicsItem::ItemStopsClickFocusPropagation

Python specific notes:
The object exposes a readable attribute 'ItemStopsClickFocusPropagation'. This is the getter.
The object exposes a readable attribute 'ItemStopsClickFocusPropagation'. This is the getter.

ItemStopsFocusHandling

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemStopsFocusHandling

Description: Enum constant QGraphicsItem::ItemStopsFocusHandling

Python specific notes:
The object exposes a readable attribute 'ItemStopsFocusHandling'. This is the getter.
The object exposes a readable attribute 'ItemStopsFocusHandling'. This is the getter.

ItemToolTipChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemToolTipChange

Description: Enum constant QGraphicsItem::ItemToolTipChange

Python specific notes:
The object exposes a readable attribute 'ItemToolTipChange'. This is the getter.
The object exposes a readable attribute 'ItemToolTipChange'. This is the getter.

ItemToolTipHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemToolTipHasChanged

Description: Enum constant QGraphicsItem::ItemToolTipHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemToolTipHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemToolTipHasChanged'. This is the getter.

ItemTransformChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemTransformChange

Description: Enum constant QGraphicsItem::ItemTransformChange

Python specific notes:
The object exposes a readable attribute 'ItemTransformChange'. This is the getter.
The object exposes a readable attribute 'ItemTransformChange'. This is the getter.

ItemTransformHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemTransformHasChanged

Description: Enum constant QGraphicsItem::ItemTransformHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemTransformHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemTransformHasChanged'. This is the getter.

ItemTransformOriginPointChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemTransformOriginPointChange

Description: Enum constant QGraphicsItem::ItemTransformOriginPointChange

Python specific notes:
The object exposes a readable attribute 'ItemTransformOriginPointChange'. This is the getter.
The object exposes a readable attribute 'ItemTransformOriginPointChange'. This is the getter.

ItemTransformOriginPointHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemTransformOriginPointHasChanged

Description: Enum constant QGraphicsItem::ItemTransformOriginPointHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemTransformOriginPointHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemTransformOriginPointHasChanged'. This is the getter.

ItemUsesExtendedStyleOption

Signature: [static,const] QGraphicsItem_GraphicsItemFlag ItemUsesExtendedStyleOption

Description: Enum constant QGraphicsItem::ItemUsesExtendedStyleOption

Python specific notes:
The object exposes a readable attribute 'ItemUsesExtendedStyleOption'. This is the getter.
The object exposes a readable attribute 'ItemUsesExtendedStyleOption'. This is the getter.

ItemVisibleChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemVisibleChange

Description: Enum constant QGraphicsItem::ItemVisibleChange

Python specific notes:
The object exposes a readable attribute 'ItemVisibleChange'. This is the getter.
The object exposes a readable attribute 'ItemVisibleChange'. This is the getter.

ItemVisibleHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemVisibleHasChanged

Description: Enum constant QGraphicsItem::ItemVisibleHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemVisibleHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemVisibleHasChanged'. This is the getter.

ItemZValueChange

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemZValueChange

Description: Enum constant QGraphicsItem::ItemZValueChange

Python specific notes:
The object exposes a readable attribute 'ItemZValueChange'. This is the getter.
The object exposes a readable attribute 'ItemZValueChange'. This is the getter.

ItemZValueHasChanged

Signature: [static,const] QGraphicsItem_GraphicsItemChange ItemZValueHasChanged

Description: Enum constant QGraphicsItem::ItemZValueHasChanged

Python specific notes:
The object exposes a readable attribute 'ItemZValueHasChanged'. This is the getter.
The object exposes a readable attribute 'ItemZValueHasChanged'. This is the getter.

NoCache

Signature: [static,const] QGraphicsItem_CacheMode NoCache

Description: Enum constant QGraphicsItem::NoCache

Python specific notes:
The object exposes a readable attribute 'NoCache'. This is the getter.
The object exposes a readable attribute 'NoCache'. This is the getter.

NonModal

Signature: [static,const] QGraphicsItem_PanelModality NonModal

Description: Enum constant QGraphicsItem::NonModal

Python specific notes:
The object exposes a readable attribute 'NonModal'. This is the getter.
The object exposes a readable attribute 'NonModal'. This is the getter.

PanelModal

Signature: [static,const] QGraphicsItem_PanelModality PanelModal

Description: Enum constant QGraphicsItem::PanelModal

Python specific notes:
The object exposes a readable attribute 'PanelModal'. This is the getter.
The object exposes a readable attribute 'PanelModal'. This is the getter.

SceneModal

Signature: [static,const] QGraphicsItem_PanelModality SceneModal

Description: Enum constant QGraphicsItem::SceneModal

Python specific notes:
The object exposes a readable attribute 'SceneModal'. This is the getter.
The object exposes a readable attribute 'SceneModal'. This is the getter.

_const_cast

Signature: [const] QGraphicsItem ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

acceptDrops

Signature: [const] bool acceptDrops

Description: Method bool QGraphicsItem::acceptDrops()

Python specific notes:
The object exposes a readable attribute 'acceptDrops'. This is the getter.

acceptDrops=

Signature: void acceptDrops= (bool on)

Description: Method void QGraphicsItem::setAcceptDrops(bool on)

Python specific notes:
The object exposes a writable attribute 'acceptDrops'. This is the setter.

acceptHoverEvents

Signature: [const] bool acceptHoverEvents

Description: Method bool QGraphicsItem::acceptHoverEvents()

Python specific notes:
The object exposes a readable attribute 'acceptHoverEvents'. This is the getter.

acceptHoverEvents=

Signature: void acceptHoverEvents= (bool enabled)

Description: Method void QGraphicsItem::setAcceptHoverEvents(bool enabled)

Python specific notes:
The object exposes a writable attribute 'acceptHoverEvents'. This is the setter.

acceptTouchEvents

Signature: [const] bool acceptTouchEvents

Description: Method bool QGraphicsItem::acceptTouchEvents()

Python specific notes:
The object exposes a readable attribute 'acceptTouchEvents'. This is the getter.

acceptTouchEvents=

Signature: void acceptTouchEvents= (bool enabled)

Description: Method void QGraphicsItem::setAcceptTouchEvents(bool enabled)

Python specific notes:
The object exposes a writable attribute 'acceptTouchEvents'. This is the setter.

acceptedMouseButtons

Signature: [const] Qt_QFlags_MouseButton acceptedMouseButtons

Description: Method QFlags<Qt::MouseButton> QGraphicsItem::acceptedMouseButtons()

Python specific notes:
The object exposes a readable attribute 'acceptedMouseButtons'. This is the getter.

acceptedMouseButtons=

Signature: void acceptedMouseButtons= (Qt_QFlags_MouseButton buttons)

Description: Method void QGraphicsItem::setAcceptedMouseButtons(QFlags<Qt::MouseButton> buttons)

Python specific notes:
The object exposes a writable attribute 'acceptedMouseButtons'. This is the setter.

active

Signature: [const] bool active

Description: Method bool QGraphicsItem::isActive()

Python specific notes:
The object exposes a readable attribute 'active'. This is the getter.

active=

Signature: void active= (bool active)

Description: Method void QGraphicsItem::setActive(bool active)

Python specific notes:
The object exposes a writable attribute 'active'. This is the setter.

addToIndex

Signature: void addToIndex

Description: Method void QGraphicsItem::addToIndex()

This method is protected and can only be called from inside a derived class.

advance

Signature: void advance (int phase)

Description: Virtual method void QGraphicsItem::advance(int phase)

This method can be reimplemented in a derived class.

boundingRect

Signature: [const] QRectF boundingRect

Description: Virtual method QRectF QGraphicsItem::boundingRect()

This method can be reimplemented in a derived class.

boundingRegion

Signature: [const] QRegion boundingRegion (const QTransform itemToDeviceTransform)

Description: Method QRegion QGraphicsItem::boundingRegion(const QTransform &itemToDeviceTransform)

boundingRegionGranularity

Signature: [const] double boundingRegionGranularity

Description: Method double QGraphicsItem::boundingRegionGranularity()

Python specific notes:
The object exposes a readable attribute 'boundingRegionGranularity'. This is the getter.

boundingRegionGranularity=

Signature: void boundingRegionGranularity= (double granularity)

Description: Method void QGraphicsItem::setBoundingRegionGranularity(double granularity)

Python specific notes:
The object exposes a writable attribute 'boundingRegionGranularity'. This is the setter.

cacheMode

Signature: [const] QGraphicsItem_CacheMode cacheMode

Description: Method QGraphicsItem::CacheMode QGraphicsItem::cacheMode()

Python specific notes:
The object exposes a readable attribute 'cacheMode'. This is the getter.

childItems

Signature: [const] QGraphicsItem ptr[] childItems

Description: Method QList<QGraphicsItem *> QGraphicsItem::childItems()

childrenBoundingRect

Signature: [const] QRectF childrenBoundingRect

Description: Method QRectF QGraphicsItem::childrenBoundingRect()

clearFocus

Signature: void clearFocus

Description: Method void QGraphicsItem::clearFocus()

clipPath

Signature: [const] QPainterPath clipPath

Description: Method QPainterPath QGraphicsItem::clipPath()

collidesWithItem

Signature: [const] bool collidesWithItem (const QGraphicsItem ptr other, const Qt_ItemSelectionMode mode)

Description: Virtual method bool QGraphicsItem::collidesWithItem(const QGraphicsItem *other, Qt::ItemSelectionMode mode)

This method can be reimplemented in a derived class.

collidesWithPath

Signature: [const] bool collidesWithPath (const QPainterPath path, const Qt_ItemSelectionMode mode)

Description: Virtual method bool QGraphicsItem::collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode)

This method can be reimplemented in a derived class.

collidingItems

Signature: [const] QGraphicsItem ptr[] collidingItems (const Qt_ItemSelectionMode mode = Qt::IntersectsItemShape)

Description: Method QList<QGraphicsItem *> QGraphicsItem::collidingItems(Qt::ItemSelectionMode mode)

commonAncestorItem

Signature: [const] QGraphicsItem ptr commonAncestorItem (const QGraphicsItem ptr other)

Description: Method QGraphicsItem *QGraphicsItem::commonAncestorItem(const QGraphicsItem *other)

contains

Signature: [const] bool contains (const QPointF point)

Description: Virtual method bool QGraphicsItem::contains(const QPointF &point)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QGraphicsSceneContextMenuEvent ptr event)

Description: Virtual method void QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)

This method can be reimplemented in a derived class.

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

cursor

Signature: [const] QCursor cursor

Description: Method QCursor QGraphicsItem::cursor()

Python specific notes:
The object exposes a readable attribute 'cursor'. This is the getter.

cursor=

Signature: void cursor= (const QCursor cursor)

Description: Method void QGraphicsItem::setCursor(const QCursor &cursor)

Python specific notes:
The object exposes a writable attribute 'cursor'. This is the setter.

data

Signature: [const] variant data (int key)

Description: Method QVariant QGraphicsItem::data(int key)

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

destroyed?

Signature: [const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

Use of this method is deprecated. Use _destroyed? instead

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

deviceTransform

Signature: [const] QTransform deviceTransform (const QTransform viewportTransform)

Description: Method QTransform QGraphicsItem::deviceTransform(const QTransform &viewportTransform)

dragEnterEvent

Signature: void dragEnterEvent (QGraphicsSceneDragDropEvent ptr event)

Description: Virtual method void QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QGraphicsSceneDragDropEvent ptr event)

Description: Virtual method void QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QGraphicsSceneDragDropEvent ptr event)

Description: Virtual method void QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent *event)

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QGraphicsSceneDragDropEvent ptr event)

Description: Virtual method void QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent *event)

This method can be reimplemented in a derived class.

effectiveOpacity

Signature: [const] double effectiveOpacity

Description: Method double QGraphicsItem::effectiveOpacity()

enabled

Signature: [const] bool enabled

Description: Method bool QGraphicsItem::isEnabled()

Python specific notes:
The object exposes a readable attribute 'enabled'. This is the getter.

enabled=

Signature: void enabled= (bool enabled)

Description: Method void QGraphicsItem::setEnabled(bool enabled)

Python specific notes:
The object exposes a writable attribute 'enabled'. This is the setter.

ensureVisible

(1) Signature: void ensureVisible (const QRectF rect = QRectF(), int xmargin = 50, int ymargin = 50)

Description: Method void QGraphicsItem::ensureVisible(const QRectF &rect, int xmargin, int ymargin)

(2) Signature: void ensureVisible (double x, double y, double w, double h, int xmargin = 50, int ymargin = 50)

Description: Method void QGraphicsItem::ensureVisible(double x, double y, double w, double h, int xmargin, int ymargin)

extension

Signature: [const] variant extension (variant variant)

Description: Virtual method QVariant QGraphicsItem::extension(const QVariant &variant)

This method can be reimplemented in a derived class.

filtersChildEvents

Signature: [const] bool filtersChildEvents

Description: Method bool QGraphicsItem::filtersChildEvents()

Python specific notes:
The object exposes a readable attribute 'filtersChildEvents'. This is the getter.

filtersChildEvents=

Signature: void filtersChildEvents= (bool enabled)

Description: Method void QGraphicsItem::setFiltersChildEvents(bool enabled)

Python specific notes:
The object exposes a writable attribute 'filtersChildEvents'. This is the setter.

flags

Signature: [const] QGraphicsItem_QFlags_GraphicsItemFlag flags

Description: Method QFlags<QGraphicsItem::GraphicsItemFlag> QGraphicsItem::flags()

Python specific notes:
The object exposes a readable attribute 'flags'. This is the getter.

flags=

Signature: void flags= (QGraphicsItem_QFlags_GraphicsItemFlag flags)

Description: Method void QGraphicsItem::setFlags(QFlags<QGraphicsItem::GraphicsItemFlag> flags)

Python specific notes:
The object exposes a writable attribute 'flags'. This is the setter.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

Description: Virtual method void QGraphicsItem::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusItem

Signature: [const] QGraphicsItem ptr focusItem

Description: Method QGraphicsItem *QGraphicsItem::focusItem()

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

Description: Virtual method void QGraphicsItem::focusOutEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusProxy

Signature: [const] QGraphicsItem ptr focusProxy

Description: Method QGraphicsItem *QGraphicsItem::focusProxy()

Python specific notes:
The object exposes a readable attribute 'focusProxy'. This is the getter.

focusProxy=

Signature: void focusProxy= (QGraphicsItem ptr item)

Description: Method void QGraphicsItem::setFocusProxy(QGraphicsItem *item)

Python specific notes:
The object exposes a writable attribute 'focusProxy'. This is the setter.

focusScopeItem

Signature: [const] QGraphicsItem ptr focusScopeItem

Description: Method QGraphicsItem *QGraphicsItem::focusScopeItem()

grabKeyboard

Signature: void grabKeyboard

Description: Method void QGraphicsItem::grabKeyboard()

grabMouse

Signature: void grabMouse

Description: Method void QGraphicsItem::grabMouse()

graphicsEffect

Signature: [const] QGraphicsEffect ptr graphicsEffect

Description: Method QGraphicsEffect *QGraphicsItem::graphicsEffect()

Python specific notes:
The object exposes a readable attribute 'graphicsEffect'. This is the getter.

graphicsEffect=

Signature: void graphicsEffect= (QGraphicsEffect ptr effect)

Description: Method void QGraphicsItem::setGraphicsEffect(QGraphicsEffect *effect)

Python specific notes:
The object exposes a writable attribute 'graphicsEffect'. This is the setter.

group

Signature: [const] QGraphicsItemGroup ptr group

Description: Method QGraphicsItemGroup *QGraphicsItem::group()

Python specific notes:
The object exposes a readable attribute 'group'. This is the getter.

group=

Signature: void group= (QGraphicsItemGroup ptr group)

Description: Method void QGraphicsItem::setGroup(QGraphicsItemGroup *group)

Python specific notes:
The object exposes a writable attribute 'group'. This is the setter.

handlesChildEvents

Signature: [const] bool handlesChildEvents

Description: Method bool QGraphicsItem::handlesChildEvents()

Python specific notes:
The object exposes a readable attribute 'handlesChildEvents'. This is the getter.

handlesChildEvents=

Signature: void handlesChildEvents= (bool enabled)

Description: Method void QGraphicsItem::setHandlesChildEvents(bool enabled)

Python specific notes:
The object exposes a writable attribute 'handlesChildEvents'. This is the setter.

hasCursor

Signature: [const] bool hasCursor

Description: Method bool QGraphicsItem::hasCursor()

hasFocus

Signature: [const] bool hasFocus

Description: Method bool QGraphicsItem::hasFocus()

hide

Signature: void hide

Description: Method void QGraphicsItem::hide()

hoverEnterEvent

Signature: void hoverEnterEvent (QGraphicsSceneHoverEvent ptr event)

Description: Virtual method void QGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)

This method can be reimplemented in a derived class.

hoverLeaveEvent

Signature: void hoverLeaveEvent (QGraphicsSceneHoverEvent ptr event)

Description: Virtual method void QGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)

This method can be reimplemented in a derived class.

hoverMoveEvent

Signature: void hoverMoveEvent (QGraphicsSceneHoverEvent ptr event)

Description: Virtual method void QGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent *event)

This method can be reimplemented in a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr event)

Description: Virtual method void QGraphicsItem::inputMethodEvent(QInputMethodEvent *event)

This method can be reimplemented in a derived class.

inputMethodHints

Signature: [const] Qt_QFlags_InputMethodHint inputMethodHints

Description: Method QFlags<Qt::InputMethodHint> QGraphicsItem::inputMethodHints()

Python specific notes:
The object exposes a readable attribute 'inputMethodHints'. This is the getter.

inputMethodHints=

Signature: void inputMethodHints= (Qt_QFlags_InputMethodHint hints)

Description: Method void QGraphicsItem::setInputMethodHints(QFlags<Qt::InputMethodHint> hints)

Python specific notes:
The object exposes a writable attribute 'inputMethodHints'. This is the setter.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery query)

Description: Virtual method QVariant QGraphicsItem::inputMethodQuery(Qt::InputMethodQuery query)

This method can be reimplemented in a derived class.

installSceneEventFilter

Signature: void installSceneEventFilter (QGraphicsItem ptr filterItem)

Description: Method void QGraphicsItem::installSceneEventFilter(QGraphicsItem *filterItem)

isActive?

Signature: [const] bool isActive?

Description: Method bool QGraphicsItem::isActive()

Python specific notes:
The object exposes a readable attribute 'active'. This is the getter.

isAncestorOf?

Signature: [const] bool isAncestorOf? (const QGraphicsItem ptr child)

Description: Method bool QGraphicsItem::isAncestorOf(const QGraphicsItem *child)

isClipped?

Signature: [const] bool isClipped?

Description: Method bool QGraphicsItem::isClipped()

isEnabled?

Signature: [const] bool isEnabled?

Description: Method bool QGraphicsItem::isEnabled()

Python specific notes:
The object exposes a readable attribute 'enabled'. This is the getter.

isObscured?

(1) Signature: [const] bool isObscured? (const QRectF rect = QRectF())

Description: Method bool QGraphicsItem::isObscured(const QRectF &rect)

(2) Signature: [const] bool isObscured? (double x, double y, double w, double h)

Description: Method bool QGraphicsItem::isObscured(double x, double y, double w, double h)

isObscuredBy

Signature: [const] bool isObscuredBy (const QGraphicsItem ptr item)

Description: Virtual method bool QGraphicsItem::isObscuredBy(const QGraphicsItem *item)

This method can be reimplemented in a derived class.

isObscuredBy?

Signature: [const] bool isObscuredBy? (const QGraphicsItem ptr item)

Description: Method bool QGraphicsItem::isObscuredBy(const QGraphicsItem *item)

isPanel?

Signature: [const] bool isPanel?

Description: Method bool QGraphicsItem::isPanel()

isSelected?

Signature: [const] bool isSelected?

Description: Method bool QGraphicsItem::isSelected()

Python specific notes:
The object exposes a readable attribute 'selected'. This is the getter.

isUnderMouse?

Signature: [const] bool isUnderMouse?

Description: Method bool QGraphicsItem::isUnderMouse()

isVisible?

Signature: [const] bool isVisible?

Description: Method bool QGraphicsItem::isVisible()

Python specific notes:
The object exposes a readable attribute 'visible'. This is the getter.

isVisibleTo?

Signature: [const] bool isVisibleTo? (const QGraphicsItem ptr parent)

Description: Method bool QGraphicsItem::isVisibleTo(const QGraphicsItem *parent)

isWidget?

Signature: [const] bool isWidget?

Description: Method bool QGraphicsItem::isWidget()

isWindow?

Signature: [const] bool isWindow?

Description: Method bool QGraphicsItem::isWindow()

is_const_object?

Signature: [const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

itemChange

Signature: variant itemChange (const QGraphicsItem_GraphicsItemChange change, variant value)

Description: Virtual method QVariant QGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value)

This method can be reimplemented in a derived class.

itemTransform

Signature: [const] QTransform itemTransform (const QGraphicsItem ptr other, bool ptr ok = nullptr)

Description: Method QTransform QGraphicsItem::itemTransform(const QGraphicsItem *other, bool *ok)

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr event)

Description: Virtual method void QGraphicsItem::keyPressEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QGraphicsItem::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

mapFromItem

(1) Signature: [const] QPointF mapFromItem (const QGraphicsItem ptr item, const QPointF point)

Description: Method QPointF QGraphicsItem::mapFromItem(const QGraphicsItem *item, const QPointF &point)

(2) Signature: [const] QPolygonF mapFromItem (const QGraphicsItem ptr item, const QRectF rect)

Description: Method QPolygonF QGraphicsItem::mapFromItem(const QGraphicsItem *item, const QRectF &rect)

(3) Signature: [const] QPolygonF mapFromItem (const QGraphicsItem ptr item, const QPolygonF polygon)

Description: Method QPolygonF QGraphicsItem::mapFromItem(const QGraphicsItem *item, const QPolygonF &polygon)

(4) Signature: [const] QPainterPath mapFromItem (const QGraphicsItem ptr item, const QPainterPath path)

Description: Method QPainterPath QGraphicsItem::mapFromItem(const QGraphicsItem *item, const QPainterPath &path)

(5) Signature: [const] QPointF mapFromItem (const QGraphicsItem ptr item, double x, double y)

Description: Method QPointF QGraphicsItem::mapFromItem(const QGraphicsItem *item, double x, double y)

(6) Signature: [const] QPolygonF mapFromItem (const QGraphicsItem ptr item, double x, double y, double w, double h)

Description: Method QPolygonF QGraphicsItem::mapFromItem(const QGraphicsItem *item, double x, double y, double w, double h)

mapFromParent

(1) Signature: [const] QPointF mapFromParent (const QPointF point)

Description: Method QPointF QGraphicsItem::mapFromParent(const QPointF &point)

(2) Signature: [const] QPolygonF mapFromParent (const QRectF rect)

Description: Method QPolygonF QGraphicsItem::mapFromParent(const QRectF &rect)

(3) Signature: [const] QPolygonF mapFromParent (const QPolygonF polygon)

Description: Method QPolygonF QGraphicsItem::mapFromParent(const QPolygonF &polygon)

(4) Signature: [const] QPainterPath mapFromParent (const QPainterPath path)

Description: Method QPainterPath QGraphicsItem::mapFromParent(const QPainterPath &path)

(5) Signature: [const] QPointF mapFromParent (double x, double y)

Description: Method QPointF QGraphicsItem::mapFromParent(double x, double y)

(6) Signature: [const] QPolygonF mapFromParent (double x, double y, double w, double h)

Description: Method QPolygonF QGraphicsItem::mapFromParent(double x, double y, double w, double h)

mapFromScene

(1) Signature: [const] QPointF mapFromScene (const QPointF point)

Description: Method QPointF QGraphicsItem::mapFromScene(const QPointF &point)

(2) Signature: [const] QPolygonF mapFromScene (const QRectF rect)

Description: Method QPolygonF QGraphicsItem::mapFromScene(const QRectF &rect)

(3) Signature: [const] QPolygonF mapFromScene (const QPolygonF polygon)

Description: Method QPolygonF QGraphicsItem::mapFromScene(const QPolygonF &polygon)

(4) Signature: [const] QPainterPath mapFromScene (const QPainterPath path)

Description: Method QPainterPath QGraphicsItem::mapFromScene(const QPainterPath &path)

(5) Signature: [const] QPointF mapFromScene (double x, double y)

Description: Method QPointF QGraphicsItem::mapFromScene(double x, double y)

(6) Signature: [const] QPolygonF mapFromScene (double x, double y, double w, double h)

Description: Method QPolygonF QGraphicsItem::mapFromScene(double x, double y, double w, double h)

mapRectFromItem

(1) Signature: [const] QRectF mapRectFromItem (const QGraphicsItem ptr item, const QRectF rect)

Description: Method QRectF QGraphicsItem::mapRectFromItem(const QGraphicsItem *item, const QRectF &rect)

(2) Signature: [const] QRectF mapRectFromItem (const QGraphicsItem ptr item, double x, double y, double w, double h)

Description: Method QRectF QGraphicsItem::mapRectFromItem(const QGraphicsItem *item, double x, double y, double w, double h)

mapRectFromParent

(1) Signature: [const] QRectF mapRectFromParent (const QRectF rect)

Description: Method QRectF QGraphicsItem::mapRectFromParent(const QRectF &rect)

(2) Signature: [const] QRectF mapRectFromParent (double x, double y, double w, double h)

Description: Method QRectF QGraphicsItem::mapRectFromParent(double x, double y, double w, double h)

mapRectFromScene

(1) Signature: [const] QRectF mapRectFromScene (const QRectF rect)

Description: Method QRectF QGraphicsItem::mapRectFromScene(const QRectF &rect)

(2) Signature: [const] QRectF mapRectFromScene (double x, double y, double w, double h)

Description: Method QRectF QGraphicsItem::mapRectFromScene(double x, double y, double w, double h)

mapRectToItem

(1) Signature: [const] QRectF mapRectToItem (const QGraphicsItem ptr item, const QRectF rect)

Description: Method QRectF QGraphicsItem::mapRectToItem(const QGraphicsItem *item, const QRectF &rect)

(2) Signature: [const] QRectF mapRectToItem (const QGraphicsItem ptr item, double x, double y, double w, double h)

Description: Method QRectF QGraphicsItem::mapRectToItem(const QGraphicsItem *item, double x, double y, double w, double h)

mapRectToParent

(1) Signature: [const] QRectF mapRectToParent (const QRectF rect)

Description: Method QRectF QGraphicsItem::mapRectToParent(const QRectF &rect)

(2) Signature: [const] QRectF mapRectToParent (double x, double y, double w, double h)

Description: Method QRectF QGraphicsItem::mapRectToParent(double x, double y, double w, double h)

mapRectToScene

(1) Signature: [const] QRectF mapRectToScene (const QRectF rect)

Description: Method QRectF QGraphicsItem::mapRectToScene(const QRectF &rect)

(2) Signature: [const] QRectF mapRectToScene (double x, double y, double w, double h)

Description: Method QRectF QGraphicsItem::mapRectToScene(double x, double y, double w, double h)

mapToItem

(1) Signature: [const] QPointF mapToItem (const QGraphicsItem ptr item, const QPointF point)

Description: Method QPointF QGraphicsItem::mapToItem(const QGraphicsItem *item, const QPointF &point)

(2) Signature: [const] QPolygonF mapToItem (const QGraphicsItem ptr item, const QRectF rect)

Description: Method QPolygonF QGraphicsItem::mapToItem(const QGraphicsItem *item, const QRectF &rect)

(3) Signature: [const] QPolygonF mapToItem (const QGraphicsItem ptr item, const QPolygonF polygon)

Description: Method QPolygonF QGraphicsItem::mapToItem(const QGraphicsItem *item, const QPolygonF &polygon)

(4) Signature: [const] QPainterPath mapToItem (const QGraphicsItem ptr item, const QPainterPath path)

Description: Method QPainterPath QGraphicsItem::mapToItem(const QGraphicsItem *item, const QPainterPath &path)

(5) Signature: [const] QPointF mapToItem (const QGraphicsItem ptr item, double x, double y)

Description: Method QPointF QGraphicsItem::mapToItem(const QGraphicsItem *item, double x, double y)

(6) Signature: [const] QPolygonF mapToItem (const QGraphicsItem ptr item, double x, double y, double w, double h)

Description: Method QPolygonF QGraphicsItem::mapToItem(const QGraphicsItem *item, double x, double y, double w, double h)

mapToParent

(1) Signature: [const] QPointF mapToParent (const QPointF point)

Description: Method QPointF QGraphicsItem::mapToParent(const QPointF &point)

(2) Signature: [const] QPolygonF mapToParent (const QRectF rect)

Description: Method QPolygonF QGraphicsItem::mapToParent(const QRectF &rect)

(3) Signature: [const] QPolygonF mapToParent (const QPolygonF polygon)

Description: Method QPolygonF QGraphicsItem::mapToParent(const QPolygonF &polygon)

(4) Signature: [const] QPainterPath mapToParent (const QPainterPath path)

Description: Method QPainterPath QGraphicsItem::mapToParent(const QPainterPath &path)

(5) Signature: [const] QPointF mapToParent (double x, double y)

Description: Method QPointF QGraphicsItem::mapToParent(double x, double y)

(6) Signature: [const] QPolygonF mapToParent (double x, double y, double w, double h)

Description: Method QPolygonF QGraphicsItem::mapToParent(double x, double y, double w, double h)

mapToScene

(1) Signature: [const] QPointF mapToScene (const QPointF point)

Description: Method QPointF QGraphicsItem::mapToScene(const QPointF &point)

(2) Signature: [const] QPolygonF mapToScene (const QRectF rect)

Description: Method QPolygonF QGraphicsItem::mapToScene(const QRectF &rect)

(3) Signature: [const] QPolygonF mapToScene (const QPolygonF polygon)

Description: Method QPolygonF QGraphicsItem::mapToScene(const QPolygonF &polygon)

(4) Signature: [const] QPainterPath mapToScene (const QPainterPath path)

Description: Method QPainterPath QGraphicsItem::mapToScene(const QPainterPath &path)

(5) Signature: [const] QPointF mapToScene (double x, double y)

Description: Method QPointF QGraphicsItem::mapToScene(double x, double y)

(6) Signature: [const] QPolygonF mapToScene (double x, double y, double w, double h)

Description: Method QPolygonF QGraphicsItem::mapToScene(double x, double y, double w, double h)

matrix

Signature: [const] QMatrix matrix

Description: Method QMatrix QGraphicsItem::matrix()

Python specific notes:
The object exposes a readable attribute 'matrix'. This is the getter.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QGraphicsSceneMouseEvent ptr event)

Description: Virtual method void QGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QGraphicsSceneMouseEvent ptr event)

Description: Virtual method void QGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QGraphicsSceneMouseEvent ptr event)

Description: Virtual method void QGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent *event)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QGraphicsSceneMouseEvent ptr event)

Description: Virtual method void QGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)

This method can be reimplemented in a derived class.

moveBy

Signature: void moveBy (double dx, double dy)

Description: Method void QGraphicsItem::moveBy(double dx, double dy)

new

Signature: [static] new QGraphicsItem new (QGraphicsItem ptr parent = nullptr)

Description: Constructor QGraphicsItem::QGraphicsItem(QGraphicsItem *parent)

This method creates an object of class QGraphicsItem.

Python specific notes:
This method is the default initializer of the object.

opacity

Signature: [const] double opacity

Description: Method double QGraphicsItem::opacity()

Python specific notes:
The object exposes a readable attribute 'opacity'. This is the getter.

opacity=

Signature: void opacity= (double opacity)

Description: Method void QGraphicsItem::setOpacity(double opacity)

Python specific notes:
The object exposes a writable attribute 'opacity'. This is the setter.

opaqueArea

Signature: [const] QPainterPath opaqueArea

Description: Virtual method QPainterPath QGraphicsItem::opaqueArea()

This method can be reimplemented in a derived class.

paint

Signature: void paint (QPainter ptr painter, const QStyleOptionGraphicsItem ptr option, QWidget ptr widget)

Description: Virtual method void QGraphicsItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)

This method can be reimplemented in a derived class.

panel

Signature: [const] QGraphicsItem ptr panel

Description: Method QGraphicsItem *QGraphicsItem::panel()

panelModality

Signature: [const] QGraphicsItem_PanelModality panelModality

Description: Method QGraphicsItem::PanelModality QGraphicsItem::panelModality()

Python specific notes:
The object exposes a readable attribute 'panelModality'. This is the getter.

panelModality=

Signature: void panelModality= (const QGraphicsItem_PanelModality panelModality)

Description: Method void QGraphicsItem::setPanelModality(QGraphicsItem::PanelModality panelModality)

Python specific notes:
The object exposes a writable attribute 'panelModality'. This is the setter.

parentItem

Signature: [const] QGraphicsItem ptr parentItem

Description: Method QGraphicsItem *QGraphicsItem::parentItem()

Python specific notes:
The object exposes a readable attribute 'parentItem'. This is the getter.

parentItem=

Signature: void parentItem= (QGraphicsItem ptr parent)

Description: Method void QGraphicsItem::setParentItem(QGraphicsItem *parent)

Python specific notes:
The object exposes a writable attribute 'parentItem'. This is the setter.

parentObject

Signature: [const] QGraphicsObject ptr parentObject

Description: Method QGraphicsObject *QGraphicsItem::parentObject()

parentWidget

Signature: [const] QGraphicsWidget ptr parentWidget

Description: Method QGraphicsWidget *QGraphicsItem::parentWidget()

pos

Signature: [const] QPointF pos

Description: Method QPointF QGraphicsItem::pos()

Python specific notes:
The object exposes a readable attribute 'pos'. This is the getter.

pos=

Signature: void pos= (const QPointF pos)

Description: Method void QGraphicsItem::setPos(const QPointF &pos)

Python specific notes:
The object exposes a writable attribute 'pos'. This is the setter.

prepareGeometryChange

Signature: void prepareGeometryChange

Description: Method void QGraphicsItem::prepareGeometryChange()

This method is protected and can only be called from inside a derived class.

removeFromIndex

Signature: void removeFromIndex

Description: Method void QGraphicsItem::removeFromIndex()

This method is protected and can only be called from inside a derived class.

removeSceneEventFilter

Signature: void removeSceneEventFilter (QGraphicsItem ptr filterItem)

Description: Method void QGraphicsItem::removeSceneEventFilter(QGraphicsItem *filterItem)

resetMatrix

Signature: void resetMatrix

Description: Method void QGraphicsItem::resetMatrix()

resetTransform

Signature: void resetTransform

Description: Method void QGraphicsItem::resetTransform()

rotation

Signature: [const] double rotation

Description: Method double QGraphicsItem::rotation()

Python specific notes:
The object exposes a readable attribute 'rotation'. This is the getter.

rotation=

Signature: void rotation= (double angle)

Description: Method void QGraphicsItem::setRotation(double angle)

Python specific notes:
The object exposes a writable attribute 'rotation'. This is the setter.

scale

Signature: [const] double scale

Description: Method double QGraphicsItem::scale()

Python specific notes:
The object exposes a readable attribute 'scale'. This is the getter.

scale=

Signature: void scale= (double scale)

Description: Method void QGraphicsItem::setScale(double scale)

Python specific notes:
The object exposes a writable attribute 'scale'. This is the setter.

scene

Signature: [const] QGraphicsScene ptr scene

Description: Method QGraphicsScene *QGraphicsItem::scene()

sceneBoundingRect

Signature: [const] QRectF sceneBoundingRect

Description: Method QRectF QGraphicsItem::sceneBoundingRect()

sceneEvent

Signature: bool sceneEvent (QEvent ptr event)

Description: Virtual method bool QGraphicsItem::sceneEvent(QEvent *event)

This method can be reimplemented in a derived class.

sceneEventFilter

Signature: bool sceneEventFilter (QGraphicsItem ptr watched, QEvent ptr event)

Description: Virtual method bool QGraphicsItem::sceneEventFilter(QGraphicsItem *watched, QEvent *event)

This method can be reimplemented in a derived class.

sceneMatrix

Signature: [const] QMatrix sceneMatrix

Description: Method QMatrix QGraphicsItem::sceneMatrix()

scenePos

Signature: [const] QPointF scenePos

Description: Method QPointF QGraphicsItem::scenePos()

sceneTransform

Signature: [const] QTransform sceneTransform

Description: Method QTransform QGraphicsItem::sceneTransform()

scroll

Signature: void scroll (double dx, double dy, const QRectF rect = QRectF())

Description: Method void QGraphicsItem::scroll(double dx, double dy, const QRectF &rect)

selected

Signature: [const] bool selected

Description: Method bool QGraphicsItem::isSelected()

Python specific notes:
The object exposes a readable attribute 'selected'. This is the getter.

selected=

Signature: void selected= (bool selected)

Description: Method void QGraphicsItem::setSelected(bool selected)

Python specific notes:
The object exposes a writable attribute 'selected'. This is the setter.

setAcceptDrops

Signature: void setAcceptDrops (bool on)

Description: Method void QGraphicsItem::setAcceptDrops(bool on)

Python specific notes:
The object exposes a writable attribute 'acceptDrops'. This is the setter.

setAcceptHoverEvents

Signature: void setAcceptHoverEvents (bool enabled)

Description: Method void QGraphicsItem::setAcceptHoverEvents(bool enabled)

Python specific notes:
The object exposes a writable attribute 'acceptHoverEvents'. This is the setter.

setAcceptTouchEvents

Signature: void setAcceptTouchEvents (bool enabled)

Description: Method void QGraphicsItem::setAcceptTouchEvents(bool enabled)

Python specific notes:
The object exposes a writable attribute 'acceptTouchEvents'. This is the setter.

setAcceptedMouseButtons

Signature: void setAcceptedMouseButtons (Qt_QFlags_MouseButton buttons)

Description: Method void QGraphicsItem::setAcceptedMouseButtons(QFlags<Qt::MouseButton> buttons)

Python specific notes:
The object exposes a writable attribute 'acceptedMouseButtons'. This is the setter.

setActive

Signature: void setActive (bool active)

Description: Method void QGraphicsItem::setActive(bool active)

Python specific notes:
The object exposes a writable attribute 'active'. This is the setter.

setBoundingRegionGranularity

Signature: void setBoundingRegionGranularity (double granularity)

Description: Method void QGraphicsItem::setBoundingRegionGranularity(double granularity)

Python specific notes:
The object exposes a writable attribute 'boundingRegionGranularity'. This is the setter.

setCacheMode

Signature: void setCacheMode (const QGraphicsItem_CacheMode mode, const QSize cacheSize = QSize())

Description: Method void QGraphicsItem::setCacheMode(QGraphicsItem::CacheMode mode, const QSize &cacheSize)

setCursor

Signature: void setCursor (const QCursor cursor)

Description: Method void QGraphicsItem::setCursor(const QCursor &cursor)

Python specific notes:
The object exposes a writable attribute 'cursor'. This is the setter.

setData

Signature: void setData (int key, variant value)

Description: Method void QGraphicsItem::setData(int key, const QVariant &value)

setEnabled

Signature: void setEnabled (bool enabled)

Description: Method void QGraphicsItem::setEnabled(bool enabled)

Python specific notes:
The object exposes a writable attribute 'enabled'. This is the setter.

setExtension

Signature: void setExtension (unsigned int extension, variant variant)

Description: Virtual method void QGraphicsItem::setExtension(QGraphicsItem::Extension extension, const QVariant &variant)

This method can be reimplemented in a derived class.

setFiltersChildEvents

Signature: void setFiltersChildEvents (bool enabled)

Description: Method void QGraphicsItem::setFiltersChildEvents(bool enabled)

Python specific notes:
The object exposes a writable attribute 'filtersChildEvents'. This is the setter.

setFlag

Signature: void setFlag (const QGraphicsItem_GraphicsItemFlag flag, bool enabled = true)

Description: Method void QGraphicsItem::setFlag(QGraphicsItem::GraphicsItemFlag flag, bool enabled)

setFlags

Signature: void setFlags (QGraphicsItem_QFlags_GraphicsItemFlag flags)

Description: Method void QGraphicsItem::setFlags(QFlags<QGraphicsItem::GraphicsItemFlag> flags)

Python specific notes:
The object exposes a writable attribute 'flags'. This is the setter.

setFocus

Signature: void setFocus (const Qt_FocusReason focusReason = Qt::OtherFocusReason)

Description: Method void QGraphicsItem::setFocus(Qt::FocusReason focusReason)

setFocusProxy

Signature: void setFocusProxy (QGraphicsItem ptr item)

Description: Method void QGraphicsItem::setFocusProxy(QGraphicsItem *item)

Python specific notes:
The object exposes a writable attribute 'focusProxy'. This is the setter.

setGraphicsEffect

Signature: void setGraphicsEffect (QGraphicsEffect ptr effect)

Description: Method void QGraphicsItem::setGraphicsEffect(QGraphicsEffect *effect)

Python specific notes:
The object exposes a writable attribute 'graphicsEffect'. This is the setter.

setGroup

Signature: void setGroup (QGraphicsItemGroup ptr group)

Description: Method void QGraphicsItem::setGroup(QGraphicsItemGroup *group)

Python specific notes:
The object exposes a writable attribute 'group'. This is the setter.

setHandlesChildEvents

Signature: void setHandlesChildEvents (bool enabled)

Description: Method void QGraphicsItem::setHandlesChildEvents(bool enabled)

Python specific notes:
The object exposes a writable attribute 'handlesChildEvents'. This is the setter.

setInputMethodHints

Signature: void setInputMethodHints (Qt_QFlags_InputMethodHint hints)

Description: Method void QGraphicsItem::setInputMethodHints(QFlags<Qt::InputMethodHint> hints)

Python specific notes:
The object exposes a writable attribute 'inputMethodHints'. This is the setter.

setMatrix

Signature: void setMatrix (const QMatrix matrix, bool combine = false)

Description: Method void QGraphicsItem::setMatrix(const QMatrix &matrix, bool combine)

setOpacity

Signature: void setOpacity (double opacity)

Description: Method void QGraphicsItem::setOpacity(double opacity)

Python specific notes:
The object exposes a writable attribute 'opacity'. This is the setter.

setPanelModality

Signature: void setPanelModality (const QGraphicsItem_PanelModality panelModality)

Description: Method void QGraphicsItem::setPanelModality(QGraphicsItem::PanelModality panelModality)

Python specific notes:
The object exposes a writable attribute 'panelModality'. This is the setter.

setParentItem

Signature: void setParentItem (QGraphicsItem ptr parent)

Description: Method void QGraphicsItem::setParentItem(QGraphicsItem *parent)

Python specific notes:
The object exposes a writable attribute 'parentItem'. This is the setter.

setPos

(1) Signature: void setPos (const QPointF pos)

Description: Method void QGraphicsItem::setPos(const QPointF &pos)

Python specific notes:
The object exposes a writable attribute 'pos'. This is the setter.

(2) Signature: void setPos (double x, double y)

Description: Method void QGraphicsItem::setPos(double x, double y)

setRotation

Signature: void setRotation (double angle)

Description: Method void QGraphicsItem::setRotation(double angle)

Python specific notes:
The object exposes a writable attribute 'rotation'. This is the setter.

setScale

Signature: void setScale (double scale)

Description: Method void QGraphicsItem::setScale(double scale)

Python specific notes:
The object exposes a writable attribute 'scale'. This is the setter.

setSelected

Signature: void setSelected (bool selected)

Description: Method void QGraphicsItem::setSelected(bool selected)

Python specific notes:
The object exposes a writable attribute 'selected'. This is the setter.

setToolTip

Signature: void setToolTip (string toolTip)

Description: Method void QGraphicsItem::setToolTip(const QString &toolTip)

Python specific notes:
The object exposes a writable attribute 'toolTip'. This is the setter.

setTransform

Signature: void setTransform (const QTransform matrix, bool combine = false)

Description: Method void QGraphicsItem::setTransform(const QTransform &matrix, bool combine)

setTransformOriginPoint

(1) Signature: void setTransformOriginPoint (const QPointF origin)

Description: Method void QGraphicsItem::setTransformOriginPoint(const QPointF &origin)

Python specific notes:
The object exposes a writable attribute 'transformOriginPoint'. This is the setter.

(2) Signature: void setTransformOriginPoint (double ax, double ay)

Description: Method void QGraphicsItem::setTransformOriginPoint(double ax, double ay)

setTransformations

Signature: void setTransformations (QGraphicsTransform ptr[] transformations)

Description: Method void QGraphicsItem::setTransformations(const QList<QGraphicsTransform *> &transformations)

Python specific notes:
The object exposes a writable attribute 'transformations'. This is the setter.

setVisible

Signature: void setVisible (bool visible)

Description: Method void QGraphicsItem::setVisible(bool visible)

Python specific notes:
The object exposes a writable attribute 'visible'. This is the setter.

setX

Signature: void setX (double x)

Description: Method void QGraphicsItem::setX(double x)

Python specific notes:
The object exposes a writable attribute 'x'. This is the setter.

setY

Signature: void setY (double y)

Description: Method void QGraphicsItem::setY(double y)

Python specific notes:
The object exposes a writable attribute 'y'. This is the setter.

setZValue

Signature: void setZValue (double z)

Description: Method void QGraphicsItem::setZValue(double z)

Python specific notes:
The object exposes a writable attribute 'zValue'. This is the setter.

shape

Signature: [const] QPainterPath shape

Description: Virtual method QPainterPath QGraphicsItem::shape()

This method can be reimplemented in a derived class.

show

Signature: void show

Description: Method void QGraphicsItem::show()

stackBefore

Signature: void stackBefore (const QGraphicsItem ptr sibling)

Description: Method void QGraphicsItem::stackBefore(const QGraphicsItem *sibling)

supportsExtension

Signature: [const] bool supportsExtension (unsigned int extension)

Description: Virtual method bool QGraphicsItem::supportsExtension(QGraphicsItem::Extension extension)

This method can be reimplemented in a derived class.

toGraphicsObject

(1) Signature: QGraphicsObject ptr toGraphicsObject

Description: Method QGraphicsObject *QGraphicsItem::toGraphicsObject()

(2) Signature: [const] const QGraphicsObject ptr toGraphicsObject

Description: Method const QGraphicsObject *QGraphicsItem::toGraphicsObject()

toolTip

Signature: [const] string toolTip

Description: Method QString QGraphicsItem::toolTip()

Python specific notes:
The object exposes a readable attribute 'toolTip'. This is the getter.

toolTip=

Signature: void toolTip= (string toolTip)

Description: Method void QGraphicsItem::setToolTip(const QString &toolTip)

Python specific notes:
The object exposes a writable attribute 'toolTip'. This is the setter.

topLevelItem

Signature: [const] QGraphicsItem ptr topLevelItem

Description: Method QGraphicsItem *QGraphicsItem::topLevelItem()

topLevelWidget

Signature: [const] QGraphicsWidget ptr topLevelWidget

Description: Method QGraphicsWidget *QGraphicsItem::topLevelWidget()

transform

Signature: [const] QTransform transform

Description: Method QTransform QGraphicsItem::transform()

Python specific notes:
The object exposes a readable attribute 'transform'. This is the getter.

transformOriginPoint

Signature: [const] QPointF transformOriginPoint

Description: Method QPointF QGraphicsItem::transformOriginPoint()

Python specific notes:
The object exposes a readable attribute 'transformOriginPoint'. This is the getter.

transformOriginPoint=

Signature: void transformOriginPoint= (const QPointF origin)

Description: Method void QGraphicsItem::setTransformOriginPoint(const QPointF &origin)

Python specific notes:
The object exposes a writable attribute 'transformOriginPoint'. This is the setter.

transformations

Signature: [const] QGraphicsTransform ptr[] transformations

Description: Method QList<QGraphicsTransform *> QGraphicsItem::transformations()

Python specific notes:
The object exposes a readable attribute 'transformations'. This is the getter.

transformations=

Signature: void transformations= (QGraphicsTransform ptr[] transformations)

Description: Method void QGraphicsItem::setTransformations(const QList<QGraphicsTransform *> &transformations)

Python specific notes:
The object exposes a writable attribute 'transformations'. This is the setter.

type

Signature: [const] int type

Description: Virtual method int QGraphicsItem::type()

This method can be reimplemented in a derived class.

ungrabKeyboard

Signature: void ungrabKeyboard

Description: Method void QGraphicsItem::ungrabKeyboard()

ungrabMouse

Signature: void ungrabMouse

Description: Method void QGraphicsItem::ungrabMouse()

unsetCursor

Signature: void unsetCursor

Description: Method void QGraphicsItem::unsetCursor()

update

(1) Signature: void update (const QRectF rect = QRectF())

Description: Method void QGraphicsItem::update(const QRectF &rect)

(2) Signature: void update (double x, double y, double width, double height)

Description: Method void QGraphicsItem::update(double x, double y, double width, double height)

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QGraphicsItem::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

visible

Signature: [const] bool visible

Description: Method bool QGraphicsItem::isVisible()

Python specific notes:
The object exposes a readable attribute 'visible'. This is the getter.

visible=

Signature: void visible= (bool visible)

Description: Method void QGraphicsItem::setVisible(bool visible)

Python specific notes:
The object exposes a writable attribute 'visible'. This is the setter.

wheelEvent

Signature: void wheelEvent (QGraphicsSceneWheelEvent ptr event)

Description: Virtual method void QGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent *event)

This method can be reimplemented in a derived class.

window

Signature: [const] QGraphicsWidget ptr window

Description: Method QGraphicsWidget *QGraphicsItem::window()

x

Signature: [const] double x

Description: Method double QGraphicsItem::x()

Python specific notes:
The object exposes a readable attribute 'x'. This is the getter.

x=

Signature: void x= (double x)

Description: Method void QGraphicsItem::setX(double x)

Python specific notes:
The object exposes a writable attribute 'x'. This is the setter.

y

Signature: [const] double y

Description: Method double QGraphicsItem::y()

Python specific notes:
The object exposes a readable attribute 'y'. This is the getter.

y=

Signature: void y= (double y)

Description: Method void QGraphicsItem::setY(double y)

Python specific notes:
The object exposes a writable attribute 'y'. This is the setter.

zValue

Signature: [const] double zValue

Description: Method double QGraphicsItem::zValue()

Python specific notes:
The object exposes a readable attribute 'zValue'. This is the getter.

zValue=

Signature: void zValue= (double z)

Description: Method void QGraphicsItem::setZValue(double z)

Python specific notes:
The object exposes a writable attribute 'zValue'. This is the setter.