Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

TQResizeEvent Class Reference

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

#include <qevent.h>

Inherits TQEvent.

List of all member functions.

Public Members


Detailed Description

The TQResizeEvent class contains event parameters for resize events.

Resize events are sent to widgets that have been resized.

The event handler TQWidget::resizeEvent() receives resize events.

See also TQWidget::size, TQWidget::geometry, and Event Classes.


Member Function Documentation

TQResizeEvent::TQResizeEvent ( const TQSize & size, const TQSize & oldSize )

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

const TQSize & TQResizeEvent::oldSize () const

Returns the old size of the widget.

const TQSize & TQResizeEvent::size () const

Returns the new size of the widget, which is the same as TQWidget::size().

Examples: chart/canvasview.cpp and life/life.cpp.


This file is part of the TQt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.


Copyright © 2007 TrolltechTrademarks
TQt 3.3.8