QResizeEvent¶
The
QResizeEvent
class contains event parameters for resize events. More…

Detailed Description¶
Resize events are sent to widgets that have been resized.
The event handler
resizeEvent()
receives resize events.See also
resize()
setGeometry()
-
class
QResizeEvent
(size, oldSize)¶ - param size
QSize
- param oldSize
QSize
Constructs a resize event with the new and old widget sizes,
size
andoldSize
respectively.
-
PySide2.QtGui.QResizeEvent.
oldSize
()¶ - Return type
QSize
Returns the old size of the widget.
-
PySide2.QtGui.QResizeEvent.
size
()¶ - Return type
QSize
Returns the new size of the widget. This is the same as
size()
.