QResizeEvent#
The QResizeEvent
class contains event parameters for resize events. More…
Synopsis#
Functions#
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 resizeEvent()
receives resize events.
See also
resize()
setGeometry()
- class PySide6.QtGui.QResizeEvent(arg__1)#
PySide6.QtGui.QResizeEvent(size, oldSize)
- Parameters:
arg__1 –
PySide6.QtGui.QResizeEvent
size –
PySide6.QtCore.QSize
oldSize –
PySide6.QtCore.QSize
Constructs a resize event with the new and old widget sizes, size
and oldSize
respectively.
- PySide6.QtGui.QResizeEvent.__repr__()#
- Return type:
object
- PySide6.QtGui.QResizeEvent.oldSize()#
- Return type:
Returns the old size of the widget.
- PySide6.QtGui.QResizeEvent.size()#
- Return type:
Returns the new size of the widget. This is the same as size()
.