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-gtk.html
45
\title GTK Style Widget Gallery
48
This page shows some of the widgets available in Qt
49
when configured to use the "gtk" style.
51
Take a look at the \l{Qt Widget Gallery} to see how Qt
52
applications appear in other styles.
55
<h2 align="center">Buttons</h2>
57
<table align="center" cellspacing="20%" width="100%">
65
\inlineimage gtk-pushbutton.png
70
\inlineimage gtk-toolbutton.png
74
<td align="justify" valign="top">
76
The QPushButton widget provides a command button.\raw HTML
78
<td align="justify" valign="top">
80
The QToolButton class provides a quick-access button to commands
81
or options, usually used inside a QToolBar.\raw HTML
87
\inlineimage gtk-checkbox.png
92
\inlineimage gtk-radiobutton.png
96
<td align="justify" valign="top">
98
The QCheckBox widget provides a checkbox with a text label.\raw HTML
100
<td align="justify" valign="top">
102
The QRadioButton widget provides a radio button with a text or pixmap label.\raw HTML
108
<h2 align="center">Containers</h2>
110
<table align="center" cellspacing="20%" width="100%">
118
\inlineimage gtk-groupbox.png
123
\inlineimage gtk-tabwidget.png
127
<td align="justify" valign="top">
129
The QGroupBox widget provides a group box frame with a title.\raw HTML
131
<td align="justify" valign="top">
133
The QTabWidget class provides a stack of tabbed widgets.\raw HTML
139
\inlineimage gtk-toolbox.png
144
\inlineimage gtk-frame.png
148
<td align="justify" valign="top">
150
The QToolBox class provides a column of tabbed widget items.\raw HTML
152
<td align="justify" valign="top">
154
The QFrame widget provides a simple decorated container for other widgets.\raw HTML
160
<h2 align="center">Item Views</h2>
162
<table align="center" cellspacing="20%" width="100%">
170
\inlineimage gtk-listview.png
175
\inlineimage gtk-treeview.png
179
<td align="justify" valign="top">
181
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
183
<td align="justify" valign="top">
185
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
191
\inlineimage gtk-tableview.png
195
<td align="justify" valign="top">
197
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
199
<td align="justify" valign="top">
207
<h2 align="center">Display Widgets</h2>
209
<table align="center" cellspacing="20%" width="100%">
217
\inlineimage gtk-progressbar.png
222
\inlineimage gtk-lcdnumber.png
226
<td align="justify" valign="top">
228
The QProgressBar widget provides a horizontal progress bar.\raw HTML
230
<td align="justify" valign="top">
232
The QLCDNumber widget displays a number with LCD-like digits.\raw HTML
238
\inlineimage gtk-label.png
242
<td halign="justify" valign="top">
244
The QLabel widget provides a text or image display.\raw HTML
250
<h2 align="center">Input Widgets</h2>
252
<table align="center" cellspacing="20%" width="100%">
260
\inlineimage gtk-slider.png
265
\inlineimage gtk-lineedit.png
269
<td align="justify" valign="top">
271
The QSlider widget provides a vertical or horizontal slider.\raw HTML
273
<td align="justify" valign="top">
275
The QLineEdit widget is a one-line text editor.\raw HTML
281
\inlineimage gtk-combobox.png
286
\inlineimage gtk-doublespinbox.png
290
<td align="justify" valign="top">
292
The QComboBox widget is a combined button and pop-up list.\raw HTML
294
<td align="justify" valign="top">
296
The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.\raw HTML
302
\inlineimage gtk-spinbox.png
307
\inlineimage gtk-timeedit.png
311
<td align="justify" valign="top">
313
The QSpinBox class provides a spin box widget.\raw HTML
315
<td align="justify" valign="top">
317
The QTimeEdit class provides a widget for editing times.\raw HTML
323
\inlineimage gtk-dateedit.png
328
\inlineimage gtk-datetimeedit.png
332
<td align="justify" valign="top">
334
The QDateEdit class provides a widget for editing dates.\raw HTML
336
<td align="justify" valign="top">
338
The QDateTimeEdit class provides a widget for editing dates and times.\raw HTML
344
\inlineimage gtk-textedit.png
349
\inlineimage gtk-horizontalscrollbar.png
353
<td align="justify" valign="top">
355
The QTextEdit class provides a widget that is used to edit and
356
display both plain and rich text.\raw HTML
358
<td align="justify" valign="top">
360
The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.\raw HTML
366
\inlineimage gtk-dial.png
371
\inlineimage gtk-calendarwidget.png
375
<td align="justify" valign="top">
377
The QDial class provides a rounded range control (like a
378
speedometer or potentiometer).\raw HTML
380
<td align="justify" valign="top">
382
The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.\raw HTML
388
\inlineimage gtk-fontcombobox.png
392
<td halign="justify" valign="top">
394
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