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
143
144
145
146
147
|
/****************************************************************************
**
** Pictures of Most Widgets in Qt
**
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
**
** This file is part of the TQt GUI Toolkit.
**
** This file may be used under the terms of the GNU General
** Public License versions 2.0 or 3.0 as published by the Free
** Software Foundation and appearing in the files LICENSE.GPL2
** and LICENSE.GPL3 included in the packaging of this file.
** Alternatively you may (at your option) use any later version
** of the GNU General Public License if such license has been
** publicly approved by Trolltech ASA (or its successors, if any)
** and the KDE Free TQt Foundation.
**
** Please review the following information to ensure GNU General
** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please
** review the following information:
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
** or contact the sales department at sales@trolltech.com.
**
** This file may be used under the terms of the Q Public License as
** defined by Trolltech ASA and appearing in the file LICENSE.QPL
** included in the packaging of this file. Licensees holding valid Qt
** Commercial licenses may use this file in accordance with the Qt
** Commercial License Agreement provided with the Software.
**
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
** herein.
**
**********************************************************************/
/*!
\page pictures.html
\title Pictures of Most TQt Widgets
Most of these widgets are shown in either Motif or Windows style.
All widgets are supported in both styles (and other \link TQStyle
styles\endlink), but for clarity we just present a selection.
Qt provides more widgets than the selection shown below. And extra Qt
are available from third parties, and as add-ons to Qt; see \link
http://www.trolltech.com/products/solutions/index.html Qt
Solutions\endlink, and \link
http://www.trolltech.com/freesoftware/index.html User contributed Qt
additions\endlink.
\omit
Below is a screen shot of the demo example running under Linux. It
shows off many of Qt's widgets. (The source is in \c{examples/demo}.
\img demo-screenshot.png
\endomit
Below we have three views seperated by \l {QSplitter}s. At the
top-left there's a \l TQListBox, at the top-right there's a \l
TQListView with a \l TQHeader and two \l {TQScrollBar}s. And at the
bottom there's a \l TQIconView.
\img splitter-views-w.png
Below we present a \l TQMainWindow which has
a \l TQMenuBar and some \l {TQToolBar}s that contain
various widgets, e.g. \l {TQToolButton}s and \l {TQComboBox}es. The central
widget is a \l TQWorkspace which is used for MDI window management and
which contains an MDI-Window featuring a \l TQTextEdit. At the bottom
you see a \l TQStatusBar and at the bottom-right a \l TQSizeGrip.
\img mainwindow-w.png
The image below shows a \l TQFileDialog. On the Macintosh and Windows
platforms you can either use a TQFileDialog or the native file
dialog. This is explained in the \l TQFileDialog class documentation.
\img tqfiledlg-w.png
Below is a QPrintDialog. On Macintosh and Windows the native print
dialog is used, but for other platforms we provide QPrintDialog. Use
TQPrinter::setup() for portability instead of the QPrintDialog if you
need to be platform independent.
\img qprintdlg-m.png
Below is a \l TQFontDialog.
\img tqfontdlg-w.png
\caption Windows
The screenshot below shows a \l TQColorDialog.
\img tqcolordlg-w.png
Messages are presented using \l{QMessageBox}es, as shown below.
\img qmsgbox-w.png
The image below shows a \l TQProgressDialog. The \l TQProgressBar can
also be used as a separate widget.
\img qprogdlg-w.png
In the screenshot below we have a \l TQGroupBox that contains a \l
TQLineEdit, a read-only \l TQComboBox and an editable \l TQComboBox.
\img groupbox-w.png
The screenshot below shows a \l TQPopupMenu.
\img qpopmenu-w.png
In the screenshot below there's a \l TQButtonGroup containing four \l
{TQRadioButton}s and two \l {TQCheckBox}es.
\img buttongroup-w.png
\omit
THIS IMAGE DOESN'T SHOW ANYTHING UNDERSTANDABLY USEFUL
All views in the first screenshot are widgets derived from a \l
TQScrollView. But this class can also manage lots of child-widgets,
like in this screenshot.
\img tqscrollview-m.png
\endomit
The screenshot below shows a \l TQTabDialog. The tabs (\l TQTabBar) or the
more convenient class \l TQTabWidget, which combines a tab bar with
the pages, can be used separately. In the visible page you see a \l
TQLabel, the range controls \l TQSlider and \l TQSpinBox and below a \l
TQLCDNumber. In the bottom row there are some \l {TQPushButton}s.
\img tqtabdlg-w.png
In the screenshot below there's a \l TQTextBrowser displaying a HTML
page. See also \l TQTextEdit.
\img tqtextbrowser-w.png
*/
|