Skip to content

PythonQt.QtGui.QAbstractGraphicsShapeItem · declarations 004

Back to PythonQt.QtGui.QAbstractGraphicsShapeItem

itemTransform

itemTransform(other: Any, ok: Any) -> Any

X.itemTransform(other, ok) -> PythonQt.QtGui.QTransform

keyPressEvent

keyPressEvent(event: Any) -> Any

X.keyPressEvent(event)

keyReleaseEvent

keyReleaseEvent(event: Any) -> Any

X.keyReleaseEvent(event)

mapFromItem

mapFromItem(item: Any, x: Any, y: Any, w: Any, h: Any) -> Any

X.mapFromItem(item, x, y, w, h) -> PythonQt.QtGui.QPainterPath

mapFromParent

mapFromParent(x: Any, y: Any, w: Any, h: Any) -> Any

X.mapFromParent(x, y, w, h) -> PythonQt.QtGui.QPainterPath

mapFromScene

mapFromScene(x: Any, y: Any, w: Any, h: Any) -> Any

X.mapFromScene(x, y, w, h) -> PythonQt.QtGui.QPainterPath

mapRectFromItem

mapRectFromItem(item: Any, x: Any, y: Any, w: Any, h: Any) -> Any

X.mapRectFromItem(item, x, y, w, h) -> PythonQt.QtCore.QRectF

mapRectFromParent

mapRectFromParent(x: Any, y: Any, w: Any, h: Any) -> Any

X.mapRectFromParent(x, y, w, h) -> PythonQt.QtCore.QRectF

mapRectFromScene

mapRectFromScene(x: Any, y: Any, w: Any, h: Any) -> Any

X.mapRectFromScene(x, y, w, h) -> PythonQt.QtCore.QRectF

mapRectToItem

mapRectToItem(item: Any, x: Any, y: Any, w: Any, h: Any) -> Any

X.mapRectToItem(item, x, y, w, h) -> PythonQt.QtCore.QRectF

mapRectToParent

mapRectToParent(x: Any, y: Any, w: Any, h: Any) -> Any

X.mapRectToParent(x, y, w, h) -> PythonQt.QtCore.QRectF

mapRectToScene

mapRectToScene(x: Any, y: Any, w: Any, h: Any) -> Any

X.mapRectToScene(x, y, w, h) -> PythonQt.QtCore.QRectF

mapToItem

mapToItem(item: Any, x: Any, y: Any, w: Any, h: Any) -> Any

X.mapToItem(item, x, y, w, h) -> PythonQt.QtGui.QPainterPath

mapToParent

mapToParent(x: Any, y: Any, w: Any, h: Any) -> Any

X.mapToParent(x, y, w, h) -> PythonQt.QtGui.QPainterPath

mapToScene

mapToScene(x: Any, y: Any, w: Any, h: Any) -> Any

X.mapToScene(x, y, w, h) -> PythonQt.QtGui.QPainterPath

mouseMoveEvent

mouseMoveEvent(event: Any) -> Any

X.mouseMoveEvent(event)

mousePressEvent

mousePressEvent(event: Any) -> Any

X.mousePressEvent(event)

mouseReleaseEvent

mouseReleaseEvent(event: Any) -> Any

X.mouseReleaseEvent(event)

moveBy

moveBy(dx: Any, dy: Any) -> Any

X.moveBy(dx, dy)

opacity

opacity() -> float

X.opacity() -> float

opaqueArea

opaqueArea() -> Any

X.opaqueArea() -> PythonQt.QtGui.QPainterPath

Supplemental documentation: Qt 5 reference:

[override virtual] QPainterPath QAbstractGraphicsShapeItem::opaqueArea() const

Reimplements: QGraphicsItem::opaqueArea() const.

Upstream PySide2 reference signatures (binding differences may apply):

opaqueArea(self) -> PySide2.QtGui.QPainterPath

Source: https://doc.qt.io/archives/qt-5.15/qabstractgraphicsshapeitem.html#opaqueArea

paint

paint(painter: Any, option: Any, widget: Any) -> Any

X.paint(painter, option, widget)

panel

panel() -> Any

X.panel() -> PythonQt.QtGui.QGraphicsItem

panelModality

panelModality() -> Any

X.panelModality()

parentItem

parentItem() -> Any

X.parentItem() -> PythonQt.QtGui.QGraphicsItem

parentObject

parentObject() -> Any

X.parentObject() -> PythonQt.QtGui.QGraphicsObject

parentWidget

parentWidget() -> Any

X.parentWidget() -> PythonQt.QtGui.QGraphicsWidget

pen

pen() -> Any

X.pen() -> PythonQt.QtGui.QPen

Supplemental documentation: Qt 5 reference:

QPen QAbstractGraphicsShapeItem::pen() const

Returns the item's pen. If no pen has been set, this function returns QPen(), a default black solid line pen with 1 width.

See also setPen().

Upstream PySide2 reference signatures (binding differences may apply):

pen(self) -> PySide2.QtGui.QPen

Source: https://doc.qt.io/archives/qt-5.15/qabstractgraphicsshapeitem.html#pen

pos

pos() -> Any

X.pos() -> PythonQt.QtCore.QPointF

prepareGeometryChange

prepareGeometryChange() -> Any

X.prepareGeometryChange()

removeFromIndex

removeFromIndex() -> Any

X.removeFromIndex()

removeSceneEventFilter

removeSceneEventFilter(filterItem: Any) -> Any

X.removeSceneEventFilter(filterItem)

resetTransform

resetTransform() -> Any

X.resetTransform()

rotation

rotation() -> float

X.rotation() -> float

scale

scale() -> float

X.scale() -> float

scene

scene() -> Any

X.scene() -> PythonQt.QtGui.QGraphicsScene

sceneBoundingRect

sceneBoundingRect() -> Any

X.sceneBoundingRect() -> PythonQt.QtCore.QRectF

sceneEvent

sceneEvent(event: Any) -> bool

X.sceneEvent(event) -> bool

sceneEventFilter

sceneEventFilter(watched: Any, event: Any) -> bool

X.sceneEventFilter(watched, event) -> bool

scenePos

scenePos() -> Any

X.scenePos() -> PythonQt.QtCore.QPointF