~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qsizegrip.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/gui/widgets/qsizegrip.cpp -->
 
6
<head>
 
7
    <title>Qt 4.0: QSizeGrip Class Reference</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QSizeGrip Class Reference</h1>
 
21
<p>The QSizeGrip class provides a corner-grip for resizing a top-level window. <a href="#details">More...</a></p>
 
22
<pre>#include &lt;QSizeGrip&gt;</pre><p>Part of the <a href="qtgui.html">QtGui</a> module.</p>
 
23
<p>Inherits <a href="qwidget.html">QWidget</a>.</p>
 
24
<ul>
 
25
<li><a href="qsizegrip-members.html">List of all members, including inherited members</a></li>
 
26
<li><a href="qsizegrip-qt3.html">Qt 3 support members</a></li>
 
27
</ul>
 
28
<a name="public-functions"></a>
 
29
<h3>Public Functions</h3>
 
30
<ul>
 
31
<li><div class="fn"/><b><a href="qsizegrip.html#QSizeGrip">QSizeGrip</a></b> ( QWidget * <i>parent</i> )</li>
 
32
<li><div class="fn"/><b><a href="qsizegrip.html#dtor.QSizeGrip">~QSizeGrip</a></b> ()</li>
 
33
<li><div class="fn"/>virtual QSize <b><a href="qsizegrip.html#sizeHint">sizeHint</a></b> () const</li>
 
34
</ul>
 
35
<ul>
 
36
<li><div class="fn"/>183 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
 
37
<li><div class="fn"/>28 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
 
38
<li><div class="fn"/>10 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
 
39
</ul>
 
40
<a name="protected-functions"></a>
 
41
<h3>Protected Functions</h3>
 
42
<ul>
 
43
<li><div class="fn"/>virtual void <b><a href="qsizegrip.html#mouseMoveEvent">mouseMoveEvent</a></b> ( QMouseEvent * <i>e</i> )</li>
 
44
<li><div class="fn"/>virtual void <b><a href="qsizegrip.html#mousePressEvent">mousePressEvent</a></b> ( QMouseEvent * <i>e</i> )</li>
 
45
<li><div class="fn"/>virtual void <b><a href="qsizegrip.html#paintEvent">paintEvent</a></b> ( QPaintEvent * <i>event</i> )</li>
 
46
</ul>
 
47
<ul>
 
48
<li><div class="fn"/>39 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
 
49
<li><div class="fn"/>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
 
50
</ul>
 
51
<h3>Additional Inherited Members</h3>
 
52
<ul>
 
53
<li><div class="fn"/>52 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
 
54
<li><div class="fn"/>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
 
55
<li><div class="fn"/>17 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
 
56
<li><div class="fn"/>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
 
57
<li><div class="fn"/>1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li>
 
58
<li><div class="fn"/>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
 
59
<li><div class="fn"/>4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
 
60
<li><div class="fn"/>4 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
 
61
</ul>
 
62
<a name="details"></a>
 
63
<hr />
 
64
<h2>Detailed Description</h2>
 
65
<p>The QSizeGrip class provides a corner-grip for resizing a top-level window.</p>
 
66
<p>This widget works like the standard Windows resize handle. In the <a href="winsystem.html#x11">X11</a> version this resize handle generally works differently from the one provided by the system; we hope to reduce this difference in the future.</p>
 
67
<p>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 <a href="qstatusbar.html">QStatusBar</a> already uses this widget, so if you have a status bar (e.g. you are using <a href="qmainwindow.html">QMainWindow</a>), then you don't need to use this widget explicitly.</p>
 
68
<p>On some platforms the sizegrip automatically hides itself when the window is shown full screen or maximised.</p>
 
69
<p><img src="images/qsizegrip-m.png" alt="Screenshot in Motif style" /> <img src="images/qsizegrip-w.png" alt="Screenshot in Windows style" /></p>
 
70
<p>See also <a href="qstatusbar.html">QStatusBar</a> and <a href="qwidget.html#windowState">QWidget::windowState</a>().</p>
 
71
<hr />
 
72
<h2>Member Function Documentation</h2>
 
73
<h3 class="fn"><a name="QSizeGrip"></a>QSizeGrip::QSizeGrip ( <a href="qwidget.html">QWidget</a> * <i>parent</i> )</h3>
 
74
<p>Constructs a resize corner as a child widget of <i>parent</i>.</p>
 
75
<h3 class="fn"><a name="dtor.QSizeGrip"></a>QSizeGrip::~QSizeGrip ()</h3>
 
76
<p>Destroys the size grip.</p>
 
77
<h3 class="fn"><a name="mouseMoveEvent"></a>void QSizeGrip::mouseMoveEvent ( <a href="qmouseevent.html">QMouseEvent</a> * <i>e</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
78
<p>Resizes the top-level widget containing this widget. The event is in <i>e</i>.</p>
 
79
<p>Reimplemented from <a href="qwidget.html#mouseMoveEvent">QWidget</a>.</p>
 
80
<h3 class="fn"><a name="mousePressEvent"></a>void QSizeGrip::mousePressEvent ( <a href="qmouseevent.html">QMouseEvent</a> * <i>e</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
81
<p>Primes the resize operation. The event is in <i>e</i>.</p>
 
82
<p>Reimplemented from <a href="qwidget.html#mousePressEvent">QWidget</a>.</p>
 
83
<h3 class="fn"><a name="paintEvent"></a>void QSizeGrip::paintEvent ( <a href="qpaintevent.html">QPaintEvent</a> * <i>event</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
 
84
<p>Paints the resize grip. Resize grips are usually rendered as small diagonal textured lines in the lower-right corner. The event is in <i>event</i>.</p>
 
85
<p>Reimplemented from <a href="qwidget.html#paintEvent">QWidget</a>.</p>
 
86
<h3 class="fn"><a name="sizeHint"></a><a href="qsize.html">QSize</a> QSizeGrip::sizeHint () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
87
<p>Returns the size grip's size hint; this is a small size.</p>
 
88
<p>Reimplemented from <a href="qwidget.html#sizeHint-prop">QWidget</a>.</p>
 
89
<p /><address><hr /><div align="center">
 
90
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
91
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
92
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
93
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
94
</tr></table></div></address></body>
 
95
</html>