Skip to content

PythonQt.QtGui.QResizeEvent · declarations 001

Back to PythonQt.QtGui.QResizeEvent

oldSize

oldSize() -> Any

X.oldSize() -> PythonQt.QtCore.QSize

Supplemental documentation: Qt 5 reference:

const QSize \&QResizeEvent::oldSize() const

Returns the old size of the widget.

Upstream PySide2 reference signatures (binding differences may apply):

oldSize(self) -> PySide2.QtCore.QSize

Source: https://doc.qt.io/archives/qt-5.15/qresizeevent.html#oldSize

size

size() -> Any

X.size() -> PythonQt.QtCore.QSize

Supplemental documentation: Qt 5 reference:

const QSize \&QResizeEvent::size() const

Returns the new size of the widget. This is the same as QWidget::size().

Upstream PySide2 reference signatures (binding differences may apply):

size(self) -> PySide2.QtCore.QSize

Source: https://doc.qt.io/archives/qt-5.15/qresizeevent.html#size