Skip to content

PythonQt.QtGui.QGraphicsObject · declarations 001

Back to PythonQt.QtGui.QGraphicsObject

children instance-attribute

children: Any

childrenChanged

childrenChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.childrenChanged; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.destroyed; argument details are not documented.

effect instance-attribute

Qt 5 reference:

effect : QGraphicsEffect* const

This property holds the effect attached to this item

This property was introduced in Qt 4.7.

See also QGraphicsItem::setGraphicsEffect() and QGraphicsItem::graphicsEffect().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#effect

enabled instance-attribute

enabled: Any

Qt 5 reference:

enabled : const bool

This property holds whether the item is enabled or not

This property is declared in QGraphicsItem.

By default, this property is true.

Notifier signal:

void enabledChanged()

See also QGraphicsItem::isEnabled() and QGraphicsItem::setEnabled().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#enabled

enabledChanged

enabledChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.enabledChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsObject::enabledChanged()

This signal gets emitted whenever the item gets enabled or disabled.

Note: Notifier signal for property enabled.

See also isEnabled().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#enabledChanged

event

event(ev: Any) -> bool

X.event(ev) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual protected] bool QGraphicsObject::event(QEvent *ev)

Reimplements: QObject::event(QEvent *e).

Upstream PySide2 reference signatures (binding differences may apply):

event(self, ev: PySide2.QtCore.QEvent) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#event

grabGesture

grabGesture(type: Any, arg1: flags) -> None

X.grabGesture(type, flags)

Supplemental documentation: Qt 5 reference:

void QGraphicsObject::grabGesture(Qt::GestureType gesture, Qt::GestureFlags flags \= Qt::GestureFlags())

Subscribes the graphics object to the given gesture with specific flags.

See also ungrabGesture() and QGestureEvent.

Upstream PySide2 reference signatures (binding differences may apply):

grabGesture(self, type: PySide2.QtCore.Qt.GestureType, flags: PySide2.QtCore.Qt.GestureFlags=...) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#grabGesture

heightChanged

heightChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.heightChanged; argument details are not documented.

isObscuredBy

isObscuredBy(item: Any) -> bool

X.isObscuredBy(item) -> bool

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.objectNameChanged; argument details are not documented.

opacity instance-attribute

opacity: Any

Qt 5 reference:

opacity : const qreal

This property holds the opacity of the item

Notifier signal:

void opacityChanged()

See also QGraphicsItem::setOpacity() and QGraphicsItem::opacity().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#opacity

opacityChanged

opacityChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.opacityChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsObject::opacityChanged()

This signal gets emitted whenever the opacity of the item changes

Note: Notifier signal for property opacity.

See also QGraphicsItem::opacity().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#opacityChanged

opaqueArea

opaqueArea() -> Any

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

parent instance-attribute

Qt 5 reference:

parent : QGraphicsObject* const

This property holds the parent of the item

Note: The item's parent is set independently of the parent object returned by QObject::parent().

Notifier signal:

void parentChanged()

See also QGraphicsItem::setParentItem() and QGraphicsItem::parentObject().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#parent

parentChanged

parentChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.parentChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsObject::parentChanged()

This signal gets emitted whenever the parent of the item changes

Note: Notifier signal for property parent.

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#parentChanged

pos instance-attribute

pos: QPointF

Qt 5 reference:

pos : const QPointF

This property holds the position of the item

Describes the items position.

See also QGraphicsItem::setPos() and QGraphicsItem::pos().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#pos

rotation instance-attribute

rotation: Any

Qt 5 reference:

rotation : const qreal

This property holds the rotation of the item in degrees.

This specifies how many degrees to rotate the item around its transformOrigin. The default rotation is 0 degrees (i.e. not rotated at all).

Notifier signal:

void rotationChanged()

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#rotation

rotationChanged

rotationChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.rotationChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsObject::rotationChanged()

This signal gets emitted whenever the rotation of the item changes.

Note: Notifier signal for property rotation.

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#rotationChanged

scale instance-attribute

scale: Any

Qt 5 reference:

scale : const qreal

This property holds the scale of the item.

A scale of less than 1 means the item will be displayed smaller than normal, and a scale of greater than 1 means the item will be displayed larger than normal. A negative scale means the item will be mirrored.

By default, items are displayed at a scale of 1 (i.e. at their normal size).

Scaling is from the item's transformOrigin.

Notifier signal:

void scaleChanged()

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#scale

scaleChanged

scaleChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.scaleChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsObject::scaleChanged()

This signal is emitted when the scale of the item changes.

Note: Notifier signal for property scale.

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#scaleChanged

transformOriginPoint instance-attribute

transformOriginPoint: QPointF

Qt 5 reference:

transformOriginPoint : const QPointF

This property holds the transformation origin

This property sets a specific point in the item's coordinate system as the origin for scale and rotation.

See also scale, rotation, and QGraphicsItem::transformOriginPoint().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#transformOriginPoint

ungrabGesture

ungrabGesture(type: Any) -> None

X.ungrabGesture(type)

Supplemental documentation: Qt 5 reference:

void QGraphicsObject::ungrabGesture(Qt::GestureType gesture)

Unsubscribes the graphics object from the given gesture.

See also grabGesture() and QGestureEvent.

Upstream PySide2 reference signatures (binding differences may apply):

ungrabGesture(self, type: PySide2.QtCore.Qt.GestureType) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#ungrabGesture

updateMicroFocus

updateMicroFocus() -> None

X.updateMicroFocus()

Supplemental documentation: Qt 5 reference:

[protected slot] void QGraphicsObject::updateMicroFocus()

Updates the item's micro focus. This is slot for convenience.

This function was introduced in Qt 4.7.

See also QInputMethod.

Upstream PySide2 reference signatures (binding differences may apply):

updateMicroFocus(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#updateMicroFocus

visible instance-attribute

visible: Any

Qt 5 reference:

visible : const bool

This property holds whether the item is visible or not

This property is declared in QGraphicsItem.

By default, this property is true.

Notifier signal:

void visibleChanged()

See also QGraphicsItem::isVisible() and QGraphicsItem::setVisible().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#visible

visibleChanged

visibleChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.visibleChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsObject::visibleChanged()

This signal gets emitted whenever the visibility of the item changes

Note: Notifier signal for property visible.

See also visible.

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#visibleChanged

widthChanged

widthChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.widthChanged; argument details are not documented.

x instance-attribute

x: Any

Qt 5 reference:

x : const qreal

This property holds the x position of the item

Describes the items x position.

Notifier signal:

void xChanged()

See also QGraphicsItem::setX() and setPos().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#x

xChanged

xChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.xChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsObject::xChanged()

This signal gets emitted whenever the x position of the item changes

Note: Notifier signal for property x.

See also pos().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#xChanged

y instance-attribute

y: Any

Qt 5 reference:

y : const qreal

This property holds the y position of the item

Describes the items y position.

Notifier signal:

void yChanged()

See also QGraphicsItem::setY() and setPos().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#y

yChanged

yChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.yChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsObject::yChanged()

This signal gets emitted whenever the y position of the item changes.

Note: Notifier signal for property y.

See also pos().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#yChanged

z instance-attribute

z: Any

Qt 5 reference:

z : const qreal

This property holds the z value of the item

Describes the items z value.

Notifier signal:

void zChanged()

See also QGraphicsItem::setZValue() and zValue().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#z

zChanged

zChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QGraphicsObject.zChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QGraphicsObject::zChanged()

This signal gets emitted whenever the z value of the item changes.

Note: Notifier signal for property z.

See also pos().

Source: https://doc.qt.io/archives/qt-5.15/qgraphicsobject.html#zChanged