Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The QSizeGrip class provides a corner-grip for resizing a top-level window. More...
#include <QSizeGrip>
Inherits QWidget.
The QSizeGrip class provides a corner-grip for resizing a top-level window.
This widget works like the standard Windows resize handle. In the X11 version this resize handle generally works differently from the one provided by the system; we hope to reduce this difference in the future.
Put this widget anywhere in a widget tree and the user can use it to resize the top-level window. Generally, this should be in the lower right-hand corner. Note that QStatusBar already uses this widget, so if you have a status bar (e.g. you are using QMainWindow), then you don't need to use this widget explicitly.
On some platforms the sizegrip automatically hides itself when the window is shown full screen or maximised.
See also QStatusBar and QWidget::windowState().
Constructs a resize corner as a child widget of parent.
Destroys the size grip.
Resizes the top-level widget containing this widget. The event is in e.
Reimplemented from QWidget.
Primes the resize operation. The event is in e.
Reimplemented from QWidget.
Paints the resize grip. Resize grips are usually rendered as small diagonal textured lines in the lower-right corner. The event is in event.
Reimplemented from QWidget.
Returns the size grip's size hint; this is a small size.
Reimplemented from QWidget.
Copyright © 2005 Trolltech | Trademarks | Qt 4.1.0 |