source: trunk/doc/src/gallery-motif.qdoc@ 321

Last change on this file since 321 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 9.1 KB
Line 
1/****************************************************************************
2**
3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
4** Contact: Qt Software Information ([email protected])
5**
6** This file is part of the documentation of the Qt Toolkit.
7**
8** $QT_BEGIN_LICENSE:LGPL$
9** Commercial Usage
10** Licensees holding valid Qt Commercial licenses may use this file in
11** accordance with the Qt Commercial License Agreement provided with the
12** Software or, alternatively, in accordance with the terms contained in
13** a written agreement between you and Nokia.
14**
15** GNU Lesser General Public License Usage
16** Alternatively, this file may be used under the terms of the GNU Lesser
17** General Public License version 2.1 as published by the Free Software
18** Foundation and appearing in the file LICENSE.LGPL included in the
19** packaging of this file. Please review the following information to
20** ensure the GNU Lesser General Public License version 2.1 requirements
21** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
22**
23** In addition, as a special exception, Nokia gives you certain
24** additional rights. These rights are described in the Nokia Qt LGPL
25** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
26** package.
27**
28** GNU General Public License Usage
29** Alternatively, this file may be used under the terms of the GNU
30** General Public License version 3.0 as published by the Free Software
31** Foundation and appearing in the file LICENSE.GPL included in the
32** packaging of this file. Please review the following information to
33** ensure the GNU General Public License version 3.0 requirements will be
34** met: http://www.gnu.org/copyleft/gpl.html.
35**
36** If you are unsure which license is appropriate for your use, please
37** contact the sales department at [email protected].
38** $QT_END_LICENSE$
39**
40****************************************************************************/
41
42/*!
43 \page gallery-motif.html
44
45 \title Motif Style Widget Gallery
46 \ingroup gallery
47
48 This page shows some of the widgets available in Qt
49 when configured to use the "motif" style.
50
51\raw HTML
52<h2 align="center">Buttons</h2>
53
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 motif-pushbutton.png
63\raw HTML
64</td>
65<td align="center">
66\endraw
67\inlineimage motif-toolbutton.png
68\raw HTML
69</td>
70</tr><tr>
71<td halign="justify" valign="top">
72\endraw
73The QPushButton widget provides a command button.\raw HTML
74</td>
75<td halign="justify" valign="top">
76\endraw
77The 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 motif-checkbox.png
85\raw HTML
86</td>
87<td align="center">
88\endraw
89\inlineimage motif-radiobutton.png
90\raw HTML
91</td>
92</tr><tr>
93<td halign="justify" valign="top">
94\endraw
95The QCheckBox widget provides a checkbox with a text label.\raw HTML
96</td>
97<td halign="justify" valign="top">
98\endraw
99The 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>
106
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 motif-groupbox.png
116\raw HTML
117</td>
118<td align="center">
119\endraw
120\inlineimage motif-tabwidget.png
121\raw HTML
122</td>
123</tr><tr>
124<td halign="justify" valign="top">
125\endraw
126The QGroupBox widget provides a group box frame with a title.\raw HTML
127</td>
128<td halign="justify" valign="top">
129\endraw
130The QTabWidget class provides a stack of tabbed widgets.\raw HTML
131</td>
132</tr>
133<tr>
134<td align="center">
135\endraw
136\inlineimage motif-frame.png
137\raw HTML
138</td>
139<td align="center">
140\endraw
141\inlineimage motif-toolbox.png
142\raw HTML
143</td>
144</tr><tr>
145<td halign="justify" valign="top">
146\endraw
147The QFrame widget provides a simple decorated container for other widgets.\raw HTML
148</td>
149<td halign="justify" valign="top">
150\endraw
151The 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>
158
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 motif-listview.png
168\raw HTML
169</td>
170<td align="center">
171\endraw
172\inlineimage motif-treeview.png
173\raw HTML
174</td>
175</tr><tr>
176<td halign="justify" valign="top">
177\endraw
178The 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
182The 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 motif-tableview.png
189\raw HTML
190</td>
191</tr><tr>
192<td halign="justify" valign="top">
193\endraw
194The 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>
201
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 motif-progressbar.png
211\raw HTML
212</td>
213<td align="center">
214\endraw
215\inlineimage motif-lcdnumber.png
216\raw HTML
217</td>
218</tr><tr>
219<td halign="justify" valign="top">
220\endraw
221The QProgressBar widget provides a horizontal progress bar.\raw HTML
222</td>
223<td halign="justify" valign="top">
224\endraw
225The 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 motif-label.png
232\raw HTML
233</td>
234</tr><tr>
235<td halign="justify" valign="top">
236\endraw
237The 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>
244
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 motif-slider.png
254\raw HTML
255</td>
256<td align="center">
257\endraw
258\inlineimage motif-lineedit.png
259\raw HTML
260</td>
261</tr><tr>
262<td halign="justify" valign="top">
263\endraw
264The QSlider widget provides a vertical or horizontal slider.\raw HTML
265</td>
266<td halign="justify" valign="top">
267\endraw
268The QLineEdit widget is a one-line text editor.\raw HTML
269</td>
270</tr>
271<tr>
272<td align="center">
273\endraw
274\inlineimage motif-combobox.png
275\raw HTML
276</td>
277<td align="center">
278\endraw
279\inlineimage motif-doublespinbox.png
280\raw HTML
281</td>
282</tr><tr>
283<td halign="justify" valign="top">
284\endraw
285The QComboBox widget is a combined button and pop-up list.\raw HTML
286</td>
287<td halign="justify" valign="top">
288\endraw
289The 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 motif-spinbox.png
296\raw HTML
297</td>
298<td align="center">
299\endraw
300\inlineimage motif-timeedit.png
301\raw HTML
302</td>
303</tr><tr>
304<td halign="justify" valign="top">
305\endraw
306The QSpinBox class provides a spin box widget.\raw HTML
307</td>
308<td halign="justify" valign="top">
309\endraw
310The QTimeEdit class provides a widget for editing times.\raw HTML
311</td>
312</tr>
313<tr>
314<td align="center">
315\endraw
316\inlineimage motif-dateedit.png
317\raw HTML
318</td>
319<td align="center">
320\endraw
321\inlineimage motif-datetimeedit.png
322\raw HTML
323</td>
324</tr><tr>
325<td halign="justify" valign="top">
326\endraw
327The QDateEdit class provides a widget for editing dates.\raw HTML
328</td>
329<td halign="justify" valign="top">
330\endraw
331The 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 motif-textedit.png
338\raw HTML
339</td>
340<td align="center">
341\endraw
342\inlineimage motif-horizontalscrollbar.png
343\raw HTML
344</td>
345</tr><tr>
346<td halign="justify" valign="top">
347\endraw
348The 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
353The 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 motif-dial.png
360\raw HTML
361</td>
362<td align="center">
363\endraw
364\inlineimage motif-calendarwidget.png
365\raw HTML
366</td>
367</tr><tr>
368<td halign="justify" valign="top">
369\endraw
370The 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
375The 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 motif-fontcombobox.png
382\raw HTML
383</td>
384</tr><tr>
385<td halign="justify" valign="top">
386\endraw
387The 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
392*/
Note: See TracBrowser for help on using the repository browser.