Home · All Classes · Modules

QResizeEvent Class Reference
[QtGui module]

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

Inherits QEvent.

Methods


Detailed Description

The 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.


Method Documentation

QResizeEvent.__init__ (self, QSize size, QSize oldSize)

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

QResizeEvent.__init__ (self, QResizeEvent)

QSize QResizeEvent.oldSize (self)

Returns the old size of the widget.

QSize QResizeEvent.size (self)

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


PyQt 4.12.1 for X11Copyright © Riverbank Computing Ltd and The Qt Company 2015Qt 4.8.7