Only reset the backend pointer after we're done with it
[qt-netbsd.git] / doc / src / gallery-windowsvista.qdoc
blob7dddf565e58a33511e2096b6b9ce08fd0af05097
1 /****************************************************************************
2 **
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
6 **
7 ** This file is part of the documentation of the Qt Toolkit.
8 **
9 ** $QT_BEGIN_LICENSE:LGPL$
10 ** No Commercial Usage
11 ** This file contains pre-release code and may not be distributed.
12 ** You may use this file in accordance with the terms and conditions
13 ** contained in the Technology Preview License Agreement accompanying
14 ** this package.
16 ** GNU Lesser General Public License Usage
17 ** Alternatively, this file may be used under the terms of the GNU Lesser
18 ** General Public License version 2.1 as published by the Free Software
19 ** Foundation and appearing in the file LICENSE.LGPL included in the
20 ** packaging of this file.  Please review the following information to
21 ** ensure the GNU Lesser General Public License version 2.1 requirements
22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24 ** In addition, as a special exception, Nokia gives you certain additional
25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
28 ** If you have questions regarding the use of this file, please contact
29 ** Nokia at qt-info@nokia.com.
38 ** $QT_END_LICENSE$
40 ****************************************************************************/
42 /*!
43   \page gallery-windowsvista.html
45   \title Windows Vista Style Widget Gallery
46   \ingroup gallery
48   This page shows some of the widgets available in Qt
49   when configured to use the "windowsvista" style.
51 \raw HTML
52 <h2 align="center">Buttons</h2>
54 <table align="center" cellspacing="20%" width="100%">
55 <colgroup span="2">
56   <col width="40%" />
57   <col width="40%" />
58 </colgroup>
59 <tr>
60 <td align="center">
61 \endraw
62 \inlineimage windowsvista-pushbutton.png
63 \raw HTML
64 </td>
65 <td align="center">
66 \endraw
67 \inlineimage windowsvista-toolbutton.png
68 \raw HTML
69 </td>
70 </tr><tr>
71 <td halign="justify" valign="top">
72 \endraw
73 The QPushButton widget provides a command button.\raw HTML
74 </td>
75 <td halign="justify" valign="top">
76 \endraw
77 The QToolButton class provides a quick-access button to commands
78        or options, usually used inside a QToolBar.\raw HTML
79 </td>
80 </tr>
81 <tr>
82 <td align="center">
83 \endraw
84 \inlineimage windowsvista-checkbox.png
85 \raw HTML
86 </td>
87 <td align="center">
88 \endraw
89 \inlineimage windowsvista-radiobutton.png
90 \raw HTML
91 </td>
92 </tr><tr>
93 <td halign="justify" valign="top">
94 \endraw
95 The QCheckBox widget provides a checkbox with a text label.\raw HTML
96 </td>
97 <td halign="justify" valign="top">
98 \endraw
99 The QRadioButton widget provides a radio button with a text or pixmap label.\raw HTML
100 </td>
101 </tr>
102 </table>
103 \endraw
104 \raw HTML
105 <h2 align="center">Containers</h2>
107 <table align="center" cellspacing="20%" width="100%">
108 <colgroup span="2">
109   <col width="40%" />
110   <col width="40%" />
111 </colgroup>
112 <tr>
113 <td align="center">
114 \endraw
115 \inlineimage windowsvista-groupbox.png
116 \raw HTML
117 </td>
118 <td align="center">
119 \endraw
120 \inlineimage windowsvista-tabwidget.png
121 \raw HTML
122 </td>
123 </tr><tr>
124 <td halign="justify" valign="top">
125 \endraw
126 The QGroupBox widget provides a group box frame with a title.\raw HTML
127 </td>
128 <td halign="justify" valign="top">
129 \endraw
130 The QTabWidget class provides a stack of tabbed widgets.\raw HTML
131 </td>
132 </tr>
133 <tr>
134 <td align="center">
135 \endraw
136 \inlineimage windowsvista-frame.png
137 \raw HTML
138 </td>
139 <td align="center">
140 \endraw
141 \inlineimage windowsvista-toolbox.png
142 \raw HTML
143 </td>
144 </tr><tr>
145 <td halign="justify" valign="top">
146 \endraw
147 The QFrame widget provides a simple decorated container for other widgets.\raw HTML
148 </td>
149 <td halign="justify" valign="top">
150 \endraw
151 The QToolBox class provides a column of tabbed widget items.\raw HTML
152 </td>
153 </tr>
154 </table>
155 \endraw
156 \raw HTML
157 <h2 align="center">Item Views</h2>
159 <table align="center" cellspacing="20%" width="100%">
160 <colgroup span="2">
161   <col width="40%" />
162   <col width="40%" />
163 </colgroup>
164 <tr>
165 <td align="center">
166 \endraw
167 \inlineimage windowsvista-listview.png
168 \raw HTML
169 </td>
170 <td align="center">
171 \endraw
172 \inlineimage windowsvista-treeview.png
173 \raw HTML
174 </td>
175 </tr><tr>
176 <td halign="justify" valign="top">
177 \endraw
178 The QListView class provides a default model/view implementation of a list/icon view. The QListWidget class provides a classic item-based list/icon view.\raw HTML
179 </td>
180 <td halign="justify" valign="top">
181 \endraw
182 The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view.\raw HTML
183 </td>
184 </tr>
185 <tr>
186 <td align="center">
187 \endraw
188 \inlineimage windowsvista-tableview.png
189 \raw HTML
190 </td>
191 </tr><tr>
192 <td halign="justify" valign="top">
193 \endraw
194 The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.\raw HTML
195 </td>
196 </tr>
197 </table>
198 \endraw
199 \raw HTML
200 <h2 align="center">Display Widgets</h2>
202 <table align="center" cellspacing="20%" width="100%">
203 <colgroup span="2">
204   <col width="40%" />
205   <col width="40%" />
206 </colgroup>
207 <tr>
208 <td align="center">
209 \endraw
210 \inlineimage windowsvista-progressbar.png
211 \raw HTML
212 </td>
213 <td align="center">
214 \endraw
215 \inlineimage windowsvista-lcdnumber.png
216 \raw HTML
217 </td>
218 </tr><tr>
219 <td halign="justify" valign="top">
220 \endraw
221 The QProgressBar widget provides a horizontal progress bar.\raw HTML
222 </td>
223 <td halign="justify" valign="top">
224 \endraw
225 The QLCDNumber widget displays a number with LCD-like digits.\raw HTML
226 </td>
227 </tr>
228 <tr>
229 <td align="center">
230 \endraw
231 \inlineimage windowsvista-label.png
232 \raw HTML
233 </td>
234 </tr><tr>
235 <td halign="justify" valign="top">
236 \endraw
237 The QLabel widget provides a text or image display.\raw HTML
238 </td>
239 </tr>
240 </table>
241 \endraw
242 \raw HTML
243 <h2 align="center">Input Widgets</h2>
245 <table align="center" cellspacing="20%" width="100%">
246 <colgroup span="2">
247   <col width="40%" />
248   <col width="40%" />
249 </colgroup>
250 <tr>
251 <td align="center">
252 \endraw
253 \inlineimage windowsvista-slider.png
254 \raw HTML
255 </td>
256 <td align="center">
257 \endraw
258 \inlineimage windowsvista-lineedit.png
259 \raw HTML
260 </td>
261 </tr><tr>
262 <td halign="justify" valign="top">
263 \endraw
264 The QSlider widget provides a vertical or horizontal slider.\raw HTML
265 </td>
266 <td halign="justify" valign="top">
267 \endraw
268 The QLineEdit widget is a one-line text editor.\raw HTML
269 </td>
270 </tr>
271 <tr>
272 <td align="center">
273 \endraw
274 \inlineimage windowsvista-combobox.png
275 \raw HTML
276 </td>
277 <td align="center">
278 \endraw
279 \inlineimage windowsvista-doublespinbox.png
280 \raw HTML
281 </td>
282 </tr><tr>
283 <td halign="justify" valign="top">
284 \endraw
285 The QComboBox widget is a combined button and pop-up list.\raw HTML
286 </td>
287 <td halign="justify" valign="top">
288 \endraw
289 The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.\raw HTML
290 </td>
291 </tr>
292 <tr>
293 <td align="center">
294 \endraw
295 \inlineimage windowsvista-spinbox.png
296 \raw HTML
297 </td>
298 <td align="center">
299 \endraw
300 \inlineimage windowsvista-timeedit.png
301 \raw HTML
302 </td>
303 </tr><tr>
304 <td halign="justify" valign="top">
305 \endraw
306 The QSpinBox class provides a spin box widget.\raw HTML
307 </td>
308 <td halign="justify" valign="top">
309 \endraw
310 The QTimeEdit class provides a widget for editing times.\raw HTML
311 </td>
312 </tr>
313 <tr>
314 <td align="center">
315 \endraw
316 \inlineimage windowsvista-dateedit.png
317 \raw HTML
318 </td>
319 <td align="center">
320 \endraw
321 \inlineimage windowsvista-datetimeedit.png
322 \raw HTML
323 </td>
324 </tr><tr>
325 <td halign="justify" valign="top">
326 \endraw
327 The QDateEdit class provides a widget for editing dates.\raw HTML
328 </td>
329 <td halign="justify" valign="top">
330 \endraw
331 The QDateTimeEdit class provides a widget for editing dates and times.\raw HTML
332 </td>
333 </tr>
334 <tr>
335 <td align="center">
336 \endraw
337 \inlineimage windowsvista-textedit.png
338 \raw HTML
339 </td>
340 <td align="center">
341 \endraw
342 \inlineimage windowsvista-horizontalscrollbar.png
343 \raw HTML
344 </td>
345 </tr><tr>
346 <td halign="justify" valign="top">
347 \endraw
348 The QTextEdit class provides a widget that is used to edit and
349      display both plain and rich text.\raw HTML
350 </td>
351 <td halign="justify" valign="top">
352 \endraw
353 The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.\raw HTML
354 </td>
355 </tr>
356 <tr>
357 <td align="center">
358 \endraw
359 \inlineimage windowsvista-dial.png
360 \raw HTML
361 </td>
362 <td align="center">
363 \endraw
364 \inlineimage windowsvista-calendarwidget.png
365 \raw HTML
366 </td>
367 </tr><tr>
368 <td halign="justify" valign="top">
369 \endraw
370 The QDial class provides a rounded range control (like a
371        speedometer or potentiometer).\raw HTML
372 </td>
373 <td halign="justify" valign="top">
374 \endraw
375 The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.\raw HTML
376 </td>
377 </tr>
378 <tr>
379 <td align="center">
380 \endraw
381 \inlineimage windowsvista-fontcombobox.png
382 \raw HTML
383 </td>
384 </tr><tr>
385 <td halign="justify" valign="top">
386 \endraw
387 The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a pop-up list containing previews of available fonts.\raw HTML
388 </td>
389 </tr>
390 </table>
391 \endraw