PythonQt.QtGui.QGraphicsItem · declarations 005
Back to PythonQt.QtGui.QGraphicsItem
window
window() -> Any
X.window() -> PythonQt.QtGui.QGraphicsWidget
Supplemental documentation: Qt 5 reference:
QGraphicsWidget *QGraphicsItem::window() const
Returns the item's window, or nullptr if this item does not have a window. If the item
is a window, it will return itself. Otherwise it will return the closest ancestor that
is a window.
This function was introduced in Qt 4.4.
See also QGraphicsWidget::isWindow().
Upstream PySide2 reference signatures (binding differences may apply):
window(self) -> PySide2.QtWidgets.QGraphicsWidget
Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#window
x
x() -> float
X.x() -> float
Supplemental documentation: Qt 5 reference:
qreal QGraphicsItem::x() const
This convenience function is equivalent to calling pos().x().
Upstream PySide2 reference signatures (binding differences may apply):
x(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#x
y
y() -> float
X.y() -> float
Supplemental documentation: Qt 5 reference:
qreal QGraphicsItem::y() const
This convenience function is equivalent to calling pos().y().
Upstream PySide2 reference signatures (binding differences may apply):
y(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#y
zValue
zValue() -> float
X.zValue() -> float
Supplemental documentation: Qt 5 reference:
qreal QGraphicsItem::zValue() const
Returns the Z-value of the item. The Z-value affects the stacking order of sibling (neighboring) items.
The default Z-value is 0.
See also setZValue(), Sorting, stackBefore(), and ItemStacksBehindParent.
Upstream PySide2 reference signatures (binding differences may apply):
zValue(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qgraphicsitem.html#zValue