1QSizeGrip(3qt)                                                  QSizeGrip(3qt)
2
3
4

NAME

6       QSizeGrip - Corner-grip for resizing a top-level window
7

SYNOPSIS

9       #include <qsizegrip.h>
10
11       Inherits QWidget.
12
13   Public Members
14       QSizeGrip ( QWidget * parent, const char * name = 0 )
15       ~QSizeGrip ()
16       virtual QSize sizeHint () const
17
18   Protected Members
19       virtual void paintEvent ( QPaintEvent * e )
20       virtual void mousePressEvent ( QMouseEvent * e )
21       virtual void mouseMoveEvent ( QMouseEvent * e )
22

DESCRIPTION

24       The QSizeGrip class provides a corner-grip for resizing a top-level
25       window.
26
27       This widget works like the standard Windows resize handle. In the X11
28       version this resize handle generally works differently from the one
29       provided by the system; we hope to reduce this difference in the
30       future.
31
32       Put this widget anywhere in a widget tree and the user can use it to
33       resize the top-level window. Generally, this should be in the lower
34       right-hand corner. Note that QStatusBar already uses this widget, so if
35       you have a status bar (e.g. you are using QMainWindow), then you don't
36       need to use this widget explicitly.
37
38                                   [Image Omitted]
39
40                                   [Image Omitted]
41
42       See also QStatusBar, Widget Appearance and Style, Main Window and
43       Related Classes, and Basic Widgets.
44

MEMBER FUNCTION DOCUMENTATION

QSizeGrip::QSizeGrip ( QWidget * parent, const char * name = 0 )

47       Constructs a resize corner called name, as a child widget of parent.
48

QSizeGrip::~QSizeGrip ()

50       Destroys the size grip.
51

void QSizeGrip::mouseMoveEvent ( QMouseEvent * e ) [virtual protected]

53       Resizes the top-level widget containing this widget. The event is in e.
54
55       Reimplemented from QWidget.
56

void QSizeGrip::mousePressEvent ( QMouseEvent * e ) [virtual protected]

58       Primes the resize operation. The event is in e.
59
60       Reimplemented from QWidget.
61

void QSizeGrip::paintEvent ( QPaintEvent * e ) [virtual protected]

63       Paints the resize grip. Resize grips are usually rendered as small
64       diagonal textured lines in the lower-right corner. The event is in e.
65
66       Reimplemented from QWidget.
67

QSize QSizeGrip::sizeHint () const [virtual]

69       Returns the size grip's size hint; this is a small size.
70
71       Reimplemented from QWidget.
72
73

SEE ALSO

75       http://doc.trolltech.com/qsizegrip.html
76       http://www.trolltech.com/faq/tech.html
77
79       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
80       license file included in the distribution for a complete license
81       statement.
82

AUTHOR

84       Generated automatically from the source code.
85

BUGS

87       If you find a bug in Qt, please report it as described in
88       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
89       help you. Thank you.
90
91       The definitive Qt documentation is provided in HTML format; it is
92       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
93       web browser. This man page is provided as a convenience for those users
94       who prefer man pages, although this format is not officially supported
95       by Trolltech.
96
97       If you find errors in this manual page, please report them to qt-
98       bugs@trolltech.com.  Please include the name of the manual page
99       (qsizegrip.3qt) and the Qt version (3.3.8).
100
101
102
103Trolltech AS                    2 February 2007                 QSizeGrip(3qt)
Impressum