![]() |
CopperSpice API
2.0.0
|
The QResizeEvent class contains event parameters for resize events. More...
Public Methods | |
| QResizeEvent (const QSize &size, const QSize &oldSize) | |
| const QSize & | oldSize () const |
| const QSize & | size () const |
Public Methods inherited from QEvent | |
| QEvent (const QEvent &other) | |
| QEvent (Type type) | |
| virtual | ~QEvent () |
| void | accept () |
| void | ignore () |
| bool | isAccepted () const |
| QEvent & | operator= (const QEvent &other) |
| void | setAccepted (bool accepted) |
| bool | spontaneous () const |
| Type | type () const |
Friends | |
| class | QApplication |
| class | QCoreApplication |
Additional Inherited Members | |
Public Types inherited from QEvent | |
| enum | Type |
Static Public Methods inherited from QEvent | |
| static int | registerEventType (int hint=-1) |
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.
Constructs a resize event with the new and old widget sizes, size and oldSize respectively.
|
inline |
Returns the old size of the widget.
|
inline |
Returns the new size of the widget. This is the same as QWidget::size().