PySide6.QtGui.QResizeEvent¶
- class QResizeEvent¶
- The - QResizeEventclass contains event parameters for resize events. More…- Synopsis¶- Methods¶- def - __init__()
- def - __repr__()
- def - oldSize()
- def - size()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - Detailed Description¶- Resize events are sent to widgets that have been resized. - The event handler QWidget::resizeEvent() receives resize events. - See also - setGeometry()- __init__(arg__1)¶
- Parameters:
- arg__1 – - QResizeEvent
 
 - Constructs a resize event with the new and old widget sizes, - sizeand- oldSizerespectively.- __repr__()¶
- Return type:
- str 
 
 - Returns the old size of the widget. - Returns the new size of the widget. This is the same as QWidget::size().