source: trunk/doc/html/qsizegrip.html

Last change on this file was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 5.3 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qsizegrip.cpp:78 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QSizeGrip Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QSizeGrip Class Reference</h1>
33
34<p>The QSizeGrip class provides a corner-grip for resizing a top-level window.
35<a href="#details">More...</a>
36<p><tt>#include &lt;<a href="qsizegrip-h.html">qsizegrip.h</a>&gt;</tt>
37<p>Inherits <a href="qwidget.html">QWidget</a>.
38<p><a href="qsizegrip-members.html">List of all member functions.</a>
39<h2>Public Members</h2>
40<ul>
41<li class=fn><a href="#QSizeGrip"><b>QSizeGrip</b></a> ( QWidget&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
42<li class=fn><a href="#~QSizeGrip"><b>~QSizeGrip</b></a> ()</li>
43<li class=fn>virtual QSize <a href="#sizeHint"><b>sizeHint</b></a> () const</li>
44</ul>
45<h2>Protected Members</h2>
46<ul>
47<li class=fn>virtual void <a href="#paintEvent"><b>paintEvent</b></a> ( QPaintEvent&nbsp;*&nbsp;e )</li>
48<li class=fn>virtual void <a href="#mousePressEvent"><b>mousePressEvent</b></a> ( QMouseEvent&nbsp;*&nbsp;e )</li>
49<li class=fn>virtual void <a href="#mouseMoveEvent"><b>mouseMoveEvent</b></a> ( QMouseEvent&nbsp;*&nbsp;e )</li>
50</ul>
51<hr><a name="details"></a><h2>Detailed Description</h2>
52
53
54<p> The QSizeGrip class provides a corner-grip for resizing a top-level window.
55<p>
56
57
58<p> This widget works like the standard Windows resize handle. In the
59X11 version this resize handle generally works differently from
60the one provided by the system; we hope to reduce this difference
61in the future.
62<p> Put this widget anywhere in a widget tree and the user can use it
63to resize the top-level window. Generally, this should be in the
64lower right-hand corner. Note that <a href="qstatusbar.html">QStatusBar</a> already uses this
65widget, so if you have a status bar (e.g. you are using
66<a href="qmainwindow.html">QMainWindow</a>), then you don't need to use this widget explicitly.
67<p> <img src=qsizegrip-m.png> <img src=qsizegrip-w.png>
68<p> <p>See also <a href="qstatusbar.html">QStatusBar</a>, <a href="appearance.html">Widget Appearance and Style</a>, <a href="application.html">Main Window and Related Classes</a>, and <a href="basic.html">Basic Widgets</a>.
69
70<hr><h2>Member Function Documentation</h2>
71<h3 class=fn><a name="QSizeGrip"></a>QSizeGrip::QSizeGrip ( <a href="qwidget.html">QWidget</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
72</h3>
73Constructs a resize corner called <em>name</em>, as a child widget of <em>parent</em>.
74
75<h3 class=fn><a name="~QSizeGrip"></a>QSizeGrip::~QSizeGrip ()
76</h3>
77Destroys the size grip.
78
79<h3 class=fn>void <a name="mouseMoveEvent"></a>QSizeGrip::mouseMoveEvent ( <a href="qmouseevent.html">QMouseEvent</a>&nbsp;*&nbsp;e )<tt> [virtual protected]</tt>
80</h3>
81Resizes the top-level widget containing this widget. The event is
82in <em>e</em>.
83
84<p>Reimplemented from <a href="qwidget.html#mouseMoveEvent">QWidget</a>.
85<h3 class=fn>void <a name="mousePressEvent"></a>QSizeGrip::mousePressEvent ( <a href="qmouseevent.html">QMouseEvent</a>&nbsp;*&nbsp;e )<tt> [virtual protected]</tt>
86</h3>
87Primes the resize operation. The event is in <em>e</em>.
88
89<p>Reimplemented from <a href="qwidget.html#mousePressEvent">QWidget</a>.
90<h3 class=fn>void <a name="paintEvent"></a>QSizeGrip::paintEvent ( <a href="qpaintevent.html">QPaintEvent</a>&nbsp;*&nbsp;e )<tt> [virtual protected]</tt>
91</h3>
92Paints the resize grip. Resize grips are usually rendered as small
93diagonal textured lines in the lower-right corner. The event is in
94<em>e</em>.
95
96<p>Reimplemented from <a href="qwidget.html#paintEvent">QWidget</a>.
97<h3 class=fn><a href="qsize.html">QSize</a> <a name="sizeHint"></a>QSizeGrip::sizeHint () const<tt> [virtual]</tt>
98</h3>
99Returns the size grip's size hint; this is a small size.
100
101<p>Reimplemented from <a href="qwidget.html#sizeHint">QWidget</a>.
102<!-- eof -->
103<hr><p>
104This file is part of the <a href="index.html">Qt toolkit</a>.
105Copyright &copy; 1995-2007
106<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
107<table width=100% cellspacing=0 border=0><tr>
108<td>Copyright &copy; 2007
109<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
110<td align=right><div align=right>Qt 3.3.8</div>
111</table></div></address></body>
112</html>
Note: See TracBrowser for help on using the repository browser.