summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/src/widgets-and-layouts/gallery-gtk.qdoc
blob: 5c3ae8cb971a835f03f5d9b747ce9ee85b671474 (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
142
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:FDL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Free Documentation License Usage
** 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. Please review the following information to ensure
** the GNU Free Documentation License version 1.3 requirements
** will be met: http://www.gnu.org/copyleft/fdl.html.
** $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. This style is
  only available on desktop environments with GTK runtime
  support. This style provides native look'n'feel by
  integrating to the GTK platform theme. Thus, the final
  appearance varies depending on the active GTK theme.

\section2 Buttons

\table 100%
\row
\li \image gtk-pushbutton.png
   \caption The QPushButton widget provides a command button.
\li \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
\li \image gtk-checkbox.png
   \caption The QCheckBox widget provides a checkbox with a text label.
\li \image gtk-radiobutton.png
   \caption The QRadioButton widget provides a radio button with a text or pixmap label.
\endtable

\section2 Containers

\table 100%
\row
\li \image gtk-groupbox.png
   The QGroupBox widget provides a group box frame with a title.
\li \image gtk-tabwidget.png
   The QTabWidget class provides a stack of tabbed widgets.
\li \image gtk-frame.png
   The QFrame widget provides a simple decorated container for other widgets.
\li \image gtk-toolbox.png
   The QToolBox class provides a column of tabbed widget items.
\endtable

\section2 Item Views

\table 100%
\row
\li \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.
\li \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.
\li \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.\li
\li
\endtable

\section2 Display Widgets

\table 100%
\row
\li \image gtk-progressbar.png
   The QProgressBar widget provides a horizontal progress bar.
\li \image gtk-label.png
   The QLabel widget provides a text or image display.
\li \image gtk-lcdnumber.png
   The QLCDNumber widget displays a number with LCD-like digits.
\endtable

\section2 Input Widgets

\table 100%
\row
\li \image gtk-lineedit.png
   The QLineEdit widget is a one-line text editor.
\li \image gtk-dateedit.png
   The QDateEdit class provides a widget for editing dates.
\li \image gtk-timeedit.png
   The QTimeEdit class provides a widget for editing times.
\li \image gtk-datetimeedit.png
   The QDateTimeEdit class provides a widget for editing dates and times.
\endtable

\table 100%
\row
\li \image gtk-slider.png
   The QSlider widget provides a vertical or horizontal slider.
\li \image gtk-combobox.png
   The QComboBox widget is a combined button and pop-up list.
\li \image gtk-spinbox.png
   The QSpinBox class provides a spin box widget.
\endtable

\table 100%
\row
\li \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.
\li \image gtk-doublespinbox.png
   The QDoubleSpinBox class provides a spin box widget that allows double precision floating point numbers to be entered.
\li \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
\li \image gtk-dial.png
   The QDial class provides a rounded range control (like a speedometer or potentiometer).
\li \image gtk-textedit.png
   The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
\li \image gtk-calendarwidget.png
   The QCalendarWidget class provides a monthly calendar widget that can be used to select dates.
\endtable
*/