Skip to content

PythonQt.QtGui.QMoveEvent · declarations 001

Back to PythonQt.QtGui.QMoveEvent

oldPos

oldPos() -> Any

X.oldPos() -> PythonQt.QtCore.QPoint

Supplemental documentation: Qt 5 reference:

const QPoint \&QMoveEvent::oldPos() const

Returns the old position of the widget.

Upstream PySide2 reference signatures (binding differences may apply):

oldPos(self) -> PySide2.QtCore.QPoint

Source: https://doc.qt.io/archives/qt-5.15/qmoveevent.html#oldPos

pos

pos() -> Any

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

Supplemental documentation: Qt 5 reference:

const QPoint \&QMoveEvent::pos() const

Returns the new position of the widget. This excludes the window frame for top level widgets.

Upstream PySide2 reference signatures (binding differences may apply):

pos(self) -> PySide2.QtCore.QPoint

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