blob: b2f8458af81f9d948aebe5de2ea46575385ea702 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:FDL$
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Free Documentation License
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of this
** file.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/
/*!
\page gallery-gtk.html
\title GTK Style Widget Gallery
\ingroup gallery
This page shows some of the widgets available in Qt
when configured to use the "gtk" style.
Take a look at the \l{Qt Widget Gallery} to see how Qt
applications appear in other styles.
\section2 Buttons
\table 100%
\row
\o \image gtk-pushbutton.png
\caption The QPushButton widget provides a command button.
\o \image gtk-toolbutton.png
\caption The QToolButton class provides a quick-access button to commands
or options, usually used inside a QToolBar.
\endtable
\table 100%
\row
\o \image gtk-checkbox.png
\caption The QCheckBox widget provides a checkbox with a text label.
\o \image gtk-radiobutton.png
\caption The QRadioButton widget provides a radio button with a text or pixmap label.
\endtable
\section2 Containers
\table 100%
\row
\o \image gtk-groupbox.png
The The QGroupBox widget provides a group box frame with a title.
\o \image gtk-tabwidget.png
The QTabWidget class provides a stack of tabbed widgets.
\o \image gtk-frame.png
The QFrame widget provides a simple decorated container for other widgets.
\o \image gtk-toolbox.png
The QToolBox class provides a column of tabbed widget items.
\endtable
\section2 Item Views
\table 100%
\row
\o \image gtk-listview.png
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.
\o \image gtk-treeview.png
The QTreeView class provides a default model/view implementation of a tree view. The QTreeWidget class provides a classic item-based tree view.
\o \image gtk-tableview.png
The QTableView class provides a default model/view implementation of a table view. The QTableWidget class provides a classic item-based table view.\o
\o
\endtable
\section2 Display Widgets
\table 100%
\row
\o \image gtk-progressbar.png
The QProgressBar widget provides a horizontal progress bar.
\o \image gtk-label.png
The QLabel widget provides a text or image display.
\o \image gtk-lcdnumber.png
The QLCDNumber widget displays a number with LCD-like digits.
\endtable
\section2 Input Widgets
\table 100%
\row
\o \image gtk-lineedit.png
The QLineEdit widget is a one-line text editor.
\o \image gtk-dateedit.png
The QDateEdit class provides a widget for editing dates.
\o \image gtk-timeedit.png
The QTimeEdit class provides a widget for editing times.
\o \image gtk-datetimeedit.png
The QDateTimeEdit class provides a widget for editing dates and times.
\endtable
\table 100%
\row
\o \image gtk-slider.png
The QSlider widget provides a vertical or horizontal slider.
\o \image gtk-combobox.png
The QComboBox widget is a combined button and pop-up list.
\o \image gtk-spinbox.png
The QSpinBox class provides a spin box widget.
\endtable
\table 100%
\row
\o \image gtk-fontcombobox.png
The QFontComboBox widget is a specialized combobox that enables fonts to be selected from a pop-up list containing previews of available fonts.
\o \image gtk-doublespinbox.png
The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
\o \image gtk-horizontalscrollbar.png
The QScrollBar widget provides a vertical or horizontal scroll bar. Here, we show a scroll bar with horizontal orientation.
\endtable
\table 100%
\row
\o \image gtk-dial.png
The QDial class provides a rounded range control (like a speedometer or potentiometer).
\o \image gtk-textedit.png
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
\o \image gtk-calendarwidget.png
The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
\endtable
*/
|