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