Skip to content

PythonQt.QtGui.QAbstractGraphicsShapeItem · declarations 002

Back to PythonQt.QtGui.QAbstractGraphicsShapeItem

ItemSceneHasChanged instance-attribute

ItemSceneHasChanged: Any

ItemScenePositionHasChanged instance-attribute

ItemScenePositionHasChanged: Any

ItemSelectedChange instance-attribute

ItemSelectedChange: Any

ItemSelectedHasChanged instance-attribute

ItemSelectedHasChanged: Any

ItemSendsGeometryChanges instance-attribute

ItemSendsGeometryChanges: Any

ItemSendsScenePositionChanges instance-attribute

ItemSendsScenePositionChanges: Any

ItemStacksBehindParent instance-attribute

ItemStacksBehindParent: Any

ItemStopsClickFocusPropagation instance-attribute

ItemStopsClickFocusPropagation: Any

ItemStopsFocusHandling instance-attribute

ItemStopsFocusHandling: Any

ItemToolTipChange instance-attribute

ItemToolTipChange: Any

ItemToolTipHasChanged instance-attribute

ItemToolTipHasChanged: Any

ItemTransformChange instance-attribute

ItemTransformChange: Any

ItemTransformHasChanged instance-attribute

ItemTransformHasChanged: Any

ItemTransformOriginPointChange instance-attribute

ItemTransformOriginPointChange: Any

ItemTransformOriginPointHasChanged instance-attribute

ItemTransformOriginPointHasChanged: Any

ItemUsesExtendedStyleOption instance-attribute

ItemUsesExtendedStyleOption: Any

ItemVisibleChange instance-attribute

ItemVisibleChange: Any

ItemVisibleHasChanged instance-attribute

ItemVisibleHasChanged: Any

ItemZValueChange instance-attribute

ItemZValueChange: Any

ItemZValueHasChanged instance-attribute

ItemZValueHasChanged: Any

NoCache instance-attribute

NoCache: Any

PanelModal instance-attribute

PanelModal: Any

PanelModality instance-attribute

PanelModality: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

SceneModal instance-attribute

SceneModal: Any

UserExtension instance-attribute

UserExtension: Any

UserType instance-attribute

UserType: Any

acceptDrops

acceptDrops() -> bool

X.acceptDrops() -> bool

acceptHoverEvents

acceptHoverEvents() -> bool

X.acceptHoverEvents() -> bool

acceptTouchEvents

acceptTouchEvents() -> bool

X.acceptTouchEvents() -> bool

acceptedMouseButtons

acceptedMouseButtons() -> Any

X.acceptedMouseButtons()

addToIndex

addToIndex() -> Any

X.addToIndex()

advance

advance(phase: Any) -> Any

X.advance(phase)

boundingRect

boundingRect() -> Any

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

boundingRegion

boundingRegion(itemToDeviceTransform: Any) -> Any

X.boundingRegion(itemToDeviceTransform) -> PythonQt.QtGui.QRegion

boundingRegionGranularity

boundingRegionGranularity() -> float

X.boundingRegionGranularity() -> float

brush

brush() -> Any

X.brush() -> PythonQt.QtGui.QBrush

Supplemental documentation: Qt 5 reference:

QBrush QAbstractGraphicsShapeItem::brush() const

Returns the item's brush, or an empty brush if no brush has been set.

See also setBrush().

Upstream PySide2 reference signatures (binding differences may apply):

brush(self) -> PySide2.QtGui.QBrush

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

cacheMode

cacheMode() -> Any

X.cacheMode()

childItems

childItems() -> tuple

X.childItems() -> tuple

childrenBoundingRect

childrenBoundingRect() -> Any

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

clipPath

clipPath() -> Any

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