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()
.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.