File: qslider.html

package info (click to toggle)
qt4-x11 4%3A4.8.2%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 701,696 kB
  • sloc: cpp: 2,686,179; ansic: 375,485; python: 25,859; sh: 19,349; xml: 17,091; perl: 14,765; yacc: 5,383; asm: 5,038; makefile: 1,259; lex: 555; ruby: 526; objc: 347; cs: 112; pascal: 112; php: 54; sed: 34
file content (265 lines) | stat: -rw-r--r-- 21,799 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qslider.cpp -->
  <title>Qt 4.8: QSlider Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtgui.html">QtGui</a></li>
<li>QSlider</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QSlider Class Reference</h1>
<!-- $$$QSlider-brief -->
<p>The QSlider widget provides a vertical or horizontal slider. <a href="#details">More...</a></p>
<!-- @@@QSlider -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QSlider&gt;</span></pre><p><b>Inherits: </b><a href="qabstractslider.html">QAbstractSlider</a>.</p>
<ul>
<li><a href="qslider-members.html">List of all members, including inherited members</a></li>
<li><a href="qslider-qt3.html">Qt 3 support members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#TickPosition-enum">TickPosition</a></b> { NoTicks, TicksBothSides, TicksAbove, TicksBelow, TicksLeft, TicksRight }</td></tr>
</table>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><a href="qslider.html#tickInterval-prop">tickInterval</a></b> : int</li>
<li class="fn"><b><a href="qslider.html#tickPosition-prop">tickPosition</a></b> : TickPosition</li>
</ul>
<ul>
<li class="fn">11 properties inherited from <a href="qabstractslider.html#properties">QAbstractSlider</a></li>
<li class="fn">58 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
<li class="fn">1 property inherited from <a href="qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#QSlider">QSlider</a></b> ( QWidget * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#QSlider-2">QSlider</a></b> ( Qt::Orientation <i>orientation</i>, QWidget * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#dtor.QSlider">~QSlider</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#tickInterval-prop">setTickInterval</a></b> ( int <i>ti</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#tickPosition-prop">setTickPosition</a></b> ( TickPosition <i>position</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#tickInterval-prop">tickInterval</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> TickPosition </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#tickPosition-prop">tickPosition</a></b> () const</td></tr>
</table>
<a name="reimplemented-public-functions"></a>
<h2>Reimplemented Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#event">event</a></b> ( QEvent * <i>event</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QSize </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#minimumSizeHint">minimumSizeHint</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QSize </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#sizeHint">sizeHint</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">22 public functions inherited from <a href="qabstractslider.html#public-functions">QAbstractSlider</a></li>
<li class="fn">221 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
<li class="fn">29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
<li class="fn">13 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
</ul>
<a name="protected-functions"></a>
<h2>Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#initStyleOption">initStyleOption</a></b> ( QStyleOptionSlider * <i>option</i> ) const</td></tr>
</table>
<a name="reimplemented-protected-functions"></a>
<h2>Reimplemented Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#mouseMoveEvent">mouseMoveEvent</a></b> ( QMouseEvent * <i>ev</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#mousePressEvent">mousePressEvent</a></b> ( QMouseEvent * <i>ev</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#mouseReleaseEvent">mouseReleaseEvent</a></b> ( QMouseEvent * <i>ev</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qslider.html#paintEvent">paintEvent</a></b> ( QPaintEvent * <i>ev</i> )</td></tr>
</table>
<ul>
<li class="fn">8 protected functions inherited from <a href="qabstractslider.html#protected-functions">QAbstractSlider</a></li>
<li class="fn">37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
<li class="fn">8 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
<li class="fn">1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">2 public slots inherited from <a href="qabstractslider.html#public-slots">QAbstractSlider</a></li>
<li class="fn">19 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
<li class="fn">1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
<li class="fn">6 signals inherited from <a href="qabstractslider.html#signals">QAbstractSlider</a></li>
<li class="fn">1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li>
<li class="fn">1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
<li class="fn">7 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
<li class="fn">1 protected slot inherited from <a href="qwidget.html#protected-slots">QWidget</a></li>
</ul>
<a name="details"></a>
<!-- $$$QSlider-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QSlider widget provides a vertical or horizontal slider.</p>
<p>The slider is the classic widget for controlling a bounded value. It lets the user move a slider handle along a horizontal or vertical groove and translates the handle's position into an integer value within the legal range.</p>
<p>QSlider has very few of its own functions; most of the functionality is in <a href="qabstractslider.html">QAbstractSlider</a>. The most useful functions are <a href="qabstractslider.html#value-prop">setValue</a>() to set the slider directly to some value; <a href="qabstractslider.html#triggerAction">triggerAction</a>() to simulate the effects of clicking (useful for shortcut keys); <a href="qabstractslider.html#singleStep-prop">setSingleStep</a>(), <a href="qabstractslider.html#pageStep-prop">setPageStep</a>() to set the steps; and <a href="qabstractslider.html#minimum-prop">setMinimum</a>() and <a href="qabstractslider.html#maximum-prop">setMaximum</a>() to define the range of the scroll bar.</p>
<p>QSlider provides methods for controlling tickmarks. You can use <a href="qslider.html#tickPosition-prop">setTickPosition</a>() to indicate where you want the tickmarks to be, <a href="qslider.html#tickInterval-prop">setTickInterval</a>() to indicate how many of them you want. the currently set tick position and interval can be queried using the <a href="qslider.html#tickPosition-prop">tickPosition</a>() and <a href="qslider.html#tickInterval-prop">tickInterval</a>() functions, respectively.</p>
<p>QSlider inherits a comprehensive set of signals:</p>
<table class="generic">
<thead><tr class="qt-style"><th >Signal</th><th >Description</th></tr></thead>
<tr valign="top" class="odd"><td ><a href="qabstractslider.html#valueChanged">valueChanged</a>()</td><td >Emitted when the slider's value has changed. The tracking() determines whether this signal is emitted during user interaction.</td></tr>
<tr valign="top" class="even"><td ><a href="qabstractslider.html#sliderPressed">sliderPressed</a>()</td><td >Emitted when the user starts to drag the slider.</td></tr>
<tr valign="top" class="odd"><td ><a href="qabstractslider.html#sliderMoved">sliderMoved</a>()</td><td >Emitted when the user drags the slider.</td></tr>
<tr valign="top" class="even"><td ><a href="qabstractslider.html#sliderReleased">sliderReleased</a>()</td><td >Emitted when the user releases the slider.</td></tr>
</table>
<p>QSlider only provides integer ranges. Note that although QSlider handles very large numbers, it becomes difficult for users to use a slider accurately for very large ranges.</p>
<p>A slider accepts focus on Tab and provides both a mouse wheel and a keyboard interface. The keyboard interface is the following:</p>
<ul>
<li>Left/Right move a horizontal slider by one single step.</li>
<li>Up/Down move a vertical slider by one single step.</li>
<li>PageUp moves up one page.</li>
<li>PageDown moves down one page.</li>
<li>Home moves to the start (mininum).</li>
<li>End moves to the end (maximum).</li>
</ul>
<table class="generic" width="100%">
 <tr valign="top" class="odd"><td ><img src="images/macintosh-slider.png" alt="Screenshot of a Macintosh slider" /></td><td >A slider shown in the <a href="gallery-macintosh.html">Macintosh widget style</a>.</td></tr>
<tr valign="top" class="even"><td ><img src="images/windows-slider.png" alt="Screenshot of a Windows XP slider" /></td><td >A slider shown in the <a href="gallery-windowsxp.html">Windows XP widget style</a>.</td></tr>
<tr valign="top" class="odd"><td ><img src="images/plastique-slider.png" alt="Screenshot of a Plastique slider" /></td><td >A slider shown in the <a href="gallery-plastique.html">Plastique widget style</a>.</td></tr>
</table>
</div>
<p><b>See also </b><a href="qscrollbar.html">QScrollBar</a>, <a href="qspinbox.html">QSpinBox</a>, <a href="qdial.html">QDial</a>, <a href="guibooks.html#fowler">GUI Design Handbook: Slider</a>, and <a href="widgets-sliders.html">Sliders Example</a>.</p>
<!-- @@@QSlider -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$TickPosition$$$NoTicks$$$TicksAbove$$$TicksLeft$$$TicksBelow$$$TicksRight$$$TicksBothSides$$$NoMarks$$$Above$$$Left$$$Below$$$Right$$$Both -->
<h3 class="fn"><a name="TickPosition-enum"></a>enum QSlider::<span class="name">TickPosition</span></h3>
<p>This enum specifies where the tick marks are to be drawn relative to the slider's groove and the handle the user moves.</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QSlider::NoTicks</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">Do not draw any tick marks.</td></tr>
<tr><td class="topAlign"><tt>QSlider::TicksBothSides</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">Draw tick marks on both sides of the groove.</td></tr>
<tr><td class="topAlign"><tt>QSlider::TicksAbove</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">Draw tick marks above the (horizontal) slider</td></tr>
<tr><td class="topAlign"><tt>QSlider::TicksBelow</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">Draw tick marks below the (horizontal) slider</td></tr>
<tr><td class="topAlign"><tt>QSlider::TicksLeft</tt></td><td class="topAlign"><tt>TicksAbove</tt></td><td class="topAlign">Draw tick marks to the left of the (vertical) slider</td></tr>
<tr><td class="topAlign"><tt>QSlider::TicksRight</tt></td><td class="topAlign"><tt>TicksBelow</tt></td><td class="topAlign">Draw tick marks to the right of the (vertical) slider</td></tr>
</table>
<!-- @@@TickPosition -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$tickInterval-prop$$$tickInterval$$$setTickIntervalint -->
<h3 class="fn"><a name="tickInterval-prop"></a><span class="name">tickInterval</span> : <span class="type">int</span></h3>
<p>This property holds the interval between tickmarks.</p>
<p>This is a value interval, not a pixel interval. If it is 0, the slider will choose between <a href="qabstractslider.html#singleStep-prop">singleStep</a>() and <a href="qabstractslider.html#pageStep-prop">pageStep</a>().</p>
<p>The default value is 0.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>tickInterval</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTickInterval</b></span> ( int <i>ti</i> )</td></tr>
</table>
<p><b>See also </b><a href="qslider.html#tickPosition-prop">tickPosition</a>, <a href="qabstractslider-qt3.html#lineStepx" class="compat">lineStep</a>(), and <a href="qabstractslider.html#pageStep-prop">pageStep</a>().</p>
<!-- @@@tickInterval -->
<!-- $$$tickPosition-prop$$$tickPosition$$$setTickPositionTickPosition -->
<h3 class="fn"><a name="tickPosition-prop"></a><span class="name">tickPosition</span> : <span class="type"><a href="qslider.html#TickPosition-enum">TickPosition</a></span></h3>
<p>This property holds the tickmark position for this slider.</p>
<p>The valid values are described by the <a href="qslider.html#TickPosition-enum">QSlider::TickPosition</a> enum.</p>
<p>The default value is <a href="qslider.html#TickPosition-enum">QSlider::NoTicks</a>.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> TickPosition </td><td class="memItemRight bottomAlign"><span class="name"><b>tickPosition</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTickPosition</b></span> ( TickPosition <i>position</i> )</td></tr>
</table>
<p><b>See also </b><a href="qslider.html#tickInterval-prop">tickInterval</a>.</p>
<!-- @@@tickPosition -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QSlider[overload1]$$$QSliderQWidget* -->
<h3 class="fn"><a name="QSlider"></a>QSlider::<span class="name">QSlider</span> ( <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0 )</h3>
<p>Constructs a vertical slider with the given <i>parent</i>.</p>
<!-- @@@QSlider -->
<!-- $$$QSlider$$$QSliderQt::OrientationQWidget* -->
<h3 class="fn"><a name="QSlider-2"></a>QSlider::<span class="name">QSlider</span> ( <span class="type"><a href="qt.html#Orientation-enum">Qt::Orientation</a></span> <i>orientation</i>, <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>parent</i> = 0 )</h3>
<p>Constructs a slider with the given <i>parent</i>. The <i>orientation</i> parameter determines whether the slider is horizontal or vertical; the valid values are <a href="qt.html#Orientation-enum">Qt::Vertical</a> and <a href="qt.html#Orientation-enum">Qt::Horizontal</a>.</p>
<!-- @@@QSlider -->
<!-- $$$~QSlider[overload1]$$$~QSlider -->
<h3 class="fn"><a name="dtor.QSlider"></a>QSlider::<span class="name">~QSlider</span> ()</h3>
<p>Destroys this slider.</p>
<!-- @@@~QSlider -->
<!-- $$$event[overload1]$$$eventQEvent* -->
<h3 class="fn"><a name="event"></a><span class="type">bool</span> QSlider::<span class="name">event</span> ( <span class="type"><a href="qevent.html">QEvent</a></span> * <i>event</i> )<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qobject.html#event">QObject::event</a>().</p>
<!-- @@@event -->
<!-- $$$initStyleOption[overload1]$$$initStyleOptionQStyleOptionSlider* -->
<h3 class="fn"><a name="initStyleOption"></a><span class="type">void</span> QSlider::<span class="name">initStyleOption</span> ( <span class="type"><a href="qstyleoptionslider.html">QStyleOptionSlider</a></span> * <i>option</i> ) const<tt> [protected]</tt></h3>
<p>Initialize <i>option</i> with the values from this <a href="qslider.html">QSlider</a>. This method is useful for subclasses when they need a <a href="qstyleoptionslider.html">QStyleOptionSlider</a>, but don't want to fill in all the information themselves.</p>
<p><b>See also </b><a href="qstyleoption.html#initFrom">QStyleOption::initFrom</a>().</p>
<!-- @@@initStyleOption -->
<!-- $$$minimumSizeHint[overload1]$$$minimumSizeHint -->
<h3 class="fn"><a name="minimumSizeHint"></a><span class="type"><a href="qsize.html">QSize</a></span> QSlider::<span class="name">minimumSizeHint</span> () const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qwidget.html#minimumSizeHint-prop">QWidget::minimumSizeHint</a>().</p>
<!-- @@@minimumSizeHint -->
<!-- $$$mouseMoveEvent[overload1]$$$mouseMoveEventQMouseEvent* -->
<h3 class="fn"><a name="mouseMoveEvent"></a><span class="type">void</span> QSlider::<span class="name">mouseMoveEvent</span> ( <span class="type"><a href="qmouseevent.html">QMouseEvent</a></span> * <i>ev</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qwidget.html#mouseMoveEvent">QWidget::mouseMoveEvent</a>().</p>
<!-- @@@mouseMoveEvent -->
<!-- $$$mousePressEvent[overload1]$$$mousePressEventQMouseEvent* -->
<h3 class="fn"><a name="mousePressEvent"></a><span class="type">void</span> QSlider::<span class="name">mousePressEvent</span> ( <span class="type"><a href="qmouseevent.html">QMouseEvent</a></span> * <i>ev</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qwidget.html#mousePressEvent">QWidget::mousePressEvent</a>().</p>
<!-- @@@mousePressEvent -->
<!-- $$$mouseReleaseEvent[overload1]$$$mouseReleaseEventQMouseEvent* -->
<h3 class="fn"><a name="mouseReleaseEvent"></a><span class="type">void</span> QSlider::<span class="name">mouseReleaseEvent</span> ( <span class="type"><a href="qmouseevent.html">QMouseEvent</a></span> * <i>ev</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qwidget.html#mouseReleaseEvent">QWidget::mouseReleaseEvent</a>().</p>
<!-- @@@mouseReleaseEvent -->
<!-- $$$paintEvent[overload1]$$$paintEventQPaintEvent* -->
<h3 class="fn"><a name="paintEvent"></a><span class="type">void</span> QSlider::<span class="name">paintEvent</span> ( <span class="type"><a href="qpaintevent.html">QPaintEvent</a></span> * <i>ev</i> )<tt> [virtual protected]</tt></h3>
<p>Reimplemented from <a href="qwidget.html#paintEvent">QWidget::paintEvent</a>().</p>
<!-- @@@paintEvent -->
<!-- $$$sizeHint[overload1]$$$sizeHint -->
<h3 class="fn"><a name="sizeHint"></a><span class="type"><a href="qsize.html">QSize</a></span> QSlider::<span class="name">sizeHint</span> () const<tt> [virtual]</tt></h3>
<p>Reimplemented from <a href="qwidget.html#sizeHint-prop">QWidget::sizeHint</a>().</p>
<!-- @@@sizeHint -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2012 Nokia Corporation and/or its
      subsidiaries. Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      The documentation provided herein is licensed under the terms of the
      <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
      License version 1.3</a> as published by the Free Software Foundation.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
      in Finland and/or other countries worldwide. All other trademarks are property
      of their respective owners. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
</div>
</body>
</html>