Skip to content

PythonQt.QtGui.QGraphicsSceneEvent · declarations 001

Back to PythonQt.QtGui.QGraphicsSceneEvent

widget

widget() -> Any

X.widget() -> PythonQt.QtGui.QWidget

Supplemental documentation: Qt 5 reference:

QWidget *QGraphicsSceneEvent::widget() const

Returns the widget where the event originated, or nullptr if the event originates from another application.

Upstream PySide2 reference signatures (binding differences may apply):

widget(self) -> PySide2.QtWidgets.QWidget

Source: https://doc.qt.io/archives/qt-5.15/qgraphicssceneevent.html#widget