1
/****************************************************************************
3
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
4
** Contact: http://www.qt-project.org/legal
6
** This file is part of the documentation of the Qt Toolkit.
8
** $QT_BEGIN_LICENSE:FDL$
9
** Commercial License Usage
10
** Licensees holding valid commercial Qt licenses may use this file in
11
** accordance with the commercial license agreement provided with the
12
** Software or, alternatively, in accordance with the terms contained in
13
** a written agreement between you and Digia. For licensing terms and
14
** conditions see http://qt.digia.com/licensing. For further information
15
** use the contact form at http://qt.digia.com/contact-us.
17
** GNU Free Documentation License Usage
18
** Alternatively, this file may be used under the terms of the GNU Free
19
** Documentation License version 1.3 as published by the Free Software
20
** Foundation and appearing in the file included in the packaging of
21
** this file. Please review the following information to ensure
22
** the GNU Free Documentation License version 1.3 requirements
23
** will be met: http://www.gnu.org/copyleft/fdl.html.
26
****************************************************************************/
29
\page gallery-gtk.html
31
\title GTK Style Widget Gallery
34
This page shows some of the widgets available in Qt
35
when configured to use the "gtk" style. This style is
36
only available on desktop environments with GTK runtime
37
support. This style provides native look'n'feel by
38
integrating to the GTK platform theme. Thus, the final
39
appearance varies depending on the active GTK theme.
45
\li \image gtk-pushbutton.png
46
\caption The QPushButton widget provides a command button.
47
\li \image gtk-toolbutton.png
48
\caption The QToolButton class provides a quick-access button to commands
49
or options, usually used inside a QToolBar.
54
\li \image gtk-checkbox.png
55
\caption The QCheckBox widget provides a checkbox with a text label.
56
\li \image gtk-radiobutton.png
57
\caption The QRadioButton widget provides a radio button with a text or pixmap label.
64
\li \image gtk-groupbox.png
65
The The QGroupBox widget provides a group box frame with a title.
66
\li \image gtk-tabwidget.png
67
The QTabWidget class provides a stack of tabbed widgets.
68
\li \image gtk-frame.png
69
The QFrame widget provides a simple decorated container for other widgets.
70
\li \image gtk-toolbox.png
71
The QToolBox class provides a column of tabbed widget items.
78
\li \image gtk-listview.png
79
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.
80
\li \image gtk-treeview.png
81
The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view.
82
\li \image gtk-tableview.png
83
The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.\li
87
\section2 Display Widgets
91
\li \image gtk-progressbar.png
92
The QProgressBar widget provides a horizontal progress bar.
93
\li \image gtk-label.png
94
The QLabel widget provides a text or image display.
95
\li \image gtk-lcdnumber.png
96
The QLCDNumber widget displays a number with LCD-like digits.
99
\section2 Input Widgets
103
\li \image gtk-lineedit.png
104
The QLineEdit widget is a one-line text editor.
105
\li \image gtk-dateedit.png
106
The QDateEdit class provides a widget for editing dates.
107
\li \image gtk-timeedit.png
108
The QTimeEdit class provides a widget for editing times.
109
\li \image gtk-datetimeedit.png
110
The QDateTimeEdit class provides a widget for editing dates and times.
115
\li \image gtk-slider.png
116
The QSlider widget provides a vertical or horizontal slider.
117
\li \image gtk-combobox.png
118
The QComboBox widget is a combined button and pop-up list.
119
\li \image gtk-spinbox.png
120
The QSpinBox class provides a spin box widget.
125
\li \image gtk-fontcombobox.png
126
The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a pop-up list containing previews of available fonts.
127
\li \image gtk-doublespinbox.png
128
The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
129
\li \image gtk-horizontalscrollbar.png
130
The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.
135
\li \image gtk-dial.png
136
The QDial class provides a rounded range control (like a speedometer or potentiometer).
137
\li \image gtk-textedit.png
138
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
139
\li \image gtk-calendarwidget.png
140
The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.