1 /****************************************************************************
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
7 ** This file is part of the documentation of the Qt Toolkit.
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
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.
40 ****************************************************************************/
43 \page gallery-macintosh.html
45 \title Macintosh Style Widget Gallery
48 This page shows some of the widgets available in Qt
49 when configured to use the "macintosh" style.
52 <h2 align="center">Buttons</h2>
54 <table align="center" cellspacing="20%" width="100%">
62 \inlineimage macintosh-pushbutton.png
67 \inlineimage macintosh-toolbutton.png
71 <td halign="justify" valign="top">
73 The QPushButton widget provides a command button.\raw HTML
75 <td halign="justify" valign="top">
77 The QToolButton class provides a quick-access button to commands
78 or options, usually used inside a QToolBar.\raw HTML
84 \inlineimage macintosh-checkbox.png
89 \inlineimage macintosh-radiobutton.png
93 <td halign="justify" valign="top">
95 The QCheckBox widget provides a checkbox with a text label.\raw HTML
97 <td halign="justify" valign="top">
99 The QRadioButton widget provides a radio button with a text or pixmap label.\raw HTML
105 <h2 align="center">Containers</h2>
107 <table align="center" cellspacing="20%" width="100%">
115 \inlineimage macintosh-groupbox.png
120 \inlineimage macintosh-tabwidget.png
124 <td halign="justify" valign="top">
126 The QGroupBox widget provides a group box frame with a title.\raw HTML
128 <td halign="justify" valign="top">
130 The QTabWidget class provides a stack of tabbed widgets.\raw HTML
136 \inlineimage macintosh-frame.png
141 \inlineimage macintosh-toolbox.png
145 <td halign="justify" valign="top">
147 The QFrame widget provides a simple decorated container for other widgets.\raw HTML
149 <td halign="justify" valign="top">
151 The QToolBox class provides a column of tabbed widget items.\raw HTML
157 <h2 align="center">Item Views</h2>
159 <table align="center" cellspacing="20%" width="100%">
167 \inlineimage macintosh-listview.png
172 \inlineimage macintosh-treeview.png
176 <td halign="justify" valign="top">
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
180 <td halign="justify" valign="top">
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
188 \inlineimage macintosh-tableview.png
192 <td halign="justify" valign="top">
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
200 <h2 align="center">Display Widgets</h2>
202 <table align="center" cellspacing="20%" width="100%">
210 \inlineimage macintosh-progressbar.png
215 \inlineimage macintosh-lcdnumber.png
219 <td halign="justify" valign="top">
221 The QProgressBar widget provides a horizontal progress bar.\raw HTML
223 <td halign="justify" valign="top">
225 The QLCDNumber widget displays a number with LCD-like digits.\raw HTML
231 \inlineimage macintosh-label.png
235 <td halign="justify" valign="top">
237 The QLabel widget provides a text or image display.\raw HTML
243 <h2 align="center">Input Widgets</h2>
245 <table align="center" cellspacing="20%" width="100%">
253 \inlineimage macintosh-slider.png
258 \inlineimage macintosh-lineedit.png
262 <td halign="justify" valign="top">
264 The QSlider widget provides a vertical or horizontal slider.\raw HTML
266 <td halign="justify" valign="top">
268 The QLineEdit widget is a one-line text editor.\raw HTML
274 \inlineimage macintosh-combobox.png
279 \inlineimage macintosh-doublespinbox.png
283 <td halign="justify" valign="top">
285 The QComboBox widget is a combined button and pop-up list.\raw HTML
287 <td halign="justify" valign="top">
289 The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.\raw HTML
295 \inlineimage macintosh-spinbox.png
300 \inlineimage macintosh-timeedit.png
304 <td halign="justify" valign="top">
306 The QSpinBox class provides a spin box widget.\raw HTML
308 <td halign="justify" valign="top">
310 The QTimeEdit class provides a widget for editing times.\raw HTML
316 \inlineimage macintosh-dateedit.png
321 \inlineimage macintosh-datetimeedit.png
325 <td halign="justify" valign="top">
327 The QDateEdit class provides a widget for editing dates.\raw HTML
329 <td halign="justify" valign="top">
331 The QDateTimeEdit class provides a widget for editing dates and times.\raw HTML
337 \inlineimage macintosh-textedit.png
342 \inlineimage macintosh-horizontalscrollbar.png
346 <td halign="justify" valign="top">
348 The QTextEdit class provides a widget that is used to edit and
349 display both plain and rich text.\raw HTML
351 <td halign="justify" valign="top">
353 The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.\raw HTML
359 \inlineimage macintosh-dial.png
364 \inlineimage macintosh-calendarwidget.png
368 <td halign="justify" valign="top">
370 The QDial class provides a rounded range control (like a
371 speedometer or potentiometer).\raw HTML
373 <td halign="justify" valign="top">
375 The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.\raw HTML
381 \inlineimage macintosh-fontcombobox.png
385 <td halign="justify" valign="top">
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