Table Of Contents

Previous topic

QCloseEvent

Next topic

QMoveEvent

QResizeEvent

Inheritance diagram of QResizeEvent

Synopsis

Functions

Detailed Description

The PySide.QtGui.QResizeEvent class contains event parameters for resize events.

Resize events are sent to widgets that have been resized.

The event handler QWidget.resizeEvent() receives resize events.

class PySide.QtGui.QResizeEvent(size, oldSize)
Parameters:

Constructs a resize event with the new and old widget sizes, size and oldSize respectively.

PySide.QtGui.QResizeEvent.oldSize()
Return type:PySide.QtCore.QSize

Returns the old size of the widget.

PySide.QtGui.QResizeEvent.size()
Return type:PySide.QtCore.QSize

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