Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtwidgets-examples.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\title Qt Widgets Examples
6
\brief Lots of examples of how to use different kinds of widgets.
7
\ingroup all-examples
8
\group examples-widgets
9
10
\image widget-examples.png {Gallery of various widgets}
11
12
Qt comes with a large range of standard widgets that users of modern
13
applications have come to expect.
14
15
You can also develop your own custom widgets and controls, and use them
16
alongside standard widgets.
17
18
It is even possible to provide custom styles and themes for widgets that can
19
be used to change the appearance of standard widgets and appropriately
20
written custom widgets.
21
22
*/
23
24
/*!
25
\ingroup all-examples
26
\title Painting Examples
27
\brief How to use the Qt painting system.
28
\group examples-painting
29
30
\image painting-examples.png
31
{Application showing different geometric shapes and styles}
32
33
Qt's painting system is able to render vector graphics, images,
34
and outline font-based text with sub-pixel accuracy using
35
anti-aliasing to improve rendering quality.
36
37
These examples show the most common techniques that are used when painting
38
with Qt, from basic concepts such as drawing simple primitives to the use of
39
transformations.
40
41
*/
42
43
/*!
44
\ingroup all-examples
45
\title Rich Text Examples
46
\brief Using the document-oriented rich text engine.
47
\group examples-richtext
48
49
\image richtext-examples.png
50
{Application showing various rich text widgets}
51
52
Qt provides powerful document-oriented rich text engine that supports Unicode
53
and right-to-left scripts. Documents can be manipulated using a cursor-based
54
API, and their contents can be imported and exported as both HTML and in a
55
custom XML format.
56
57
*/
58
59
/*!
60
\ingroup all-examples
61
\title Desktop Examples
62
\brief Integrating your Qt application with your favorite desktop.
63
\group examples-desktop
64
65
\image desktop-examples.png
66
{Application showing widgets for desktop environments}
67
68
69
Qt provides features to enable applications to integrate with the user's
70
preferred desktop environment.
71
72
Features such as system tray icons, access to the desktop widget, and
73
support for desktop services can be used to improve the appearance of
74
applications and take advantage of underlying desktop facilities.
75
76
*/
77
78
/*!
79
\group examples-dialogs
80
\ingroup all-examples
81
\title Dialog Examples
82
\brief Using Qt's standard dialogs and building and using custom dialogs.
83
84
\image dialog-examples.png
85
{Application showing a dialog}
86
87
Qt includes standard dialogs for many common operations, such as file
88
selection, printing, and color selection.
89
90
Custom dialogs can also be created for specialized modal or modeless
91
interactions with users.
92
*/
93
94
/*!
95
\ingroup all-examples
96
\title Item Views Examples
97
\brief Using the model/view framework.
98
\group examples-itemviews
99
100
\image itemviews-examples.png
101
{Application showing a tree model editor}
102
103
Qt provides a lot of capabalities to display pre- and user-defined item models
104
in different ways.
105
The separation of functionality introduced by the model/view architecture gives
106
developers greater flexibility to customize the presentation of items.
107
108
*/
109
110
/*!
111
\ingroup all-examples
112
\keyword Graphicsview Examples
113
\title Graphics View Examples
114
\brief Using the Graphics View framework.
115
\page examples-graphicsview.html
116
117
\image graphicsview-examples.png
118
{Application showing various graphics options and views}
119
120
Qt provides powerful graphics engine that supports easy visualization of items, with
121
support for rotation and zooming.
122
Additionally it provides an event propagation architecture for interaction.
123
124
These examples demonstrate the fundamental aspects of canvas programming with Qt.
125
126
\annotatedlist{examples-graphicsview}
127
128
These examples show the use of graphics widgets and layouts.
129
130
\annotatedlist{examples-graphicsview-layout}
131
132
Some examples demonstrate the use of graphics effects with canvas items.
133
134
\annotatedlist{examples-graphicsview-graphicseffects}
135
*/
136
137
/*!
138
\group examples-mainwindow
139
\ingroup all-examples
140
\title Main Window Examples
141
\brief Building applications around a main window.
142
143
\image mainwindow-examples.png
144
{Application showing various widgets in a main window}
145
146
All the standard features of application main windows are provided by Qt.
147
148
Main windows can have pull down menus, tool bars, and dock windows. These
149
separate forms of user input are unified in an integrated action system that
150
also supports keyboard shortcuts and accelerator keys in menu items.
151
152
*/
153
154
/*!
155
\group examples-widgets-tools
156
\ingroup all-examples
157
\title Widget Tools Examples
158
\brief Using autocomplete features, regular expressions, and undo framework.
159
160
\image completer-example.png
161
{Application showing different completer options and tools}
162
163
Qt provides the functionality for autocomplete, Undo/Redo actions, and
164
regular expressions for the Widget-based applications.
165
166
*/
167
/*!
168
\group examples-user-input
169
\ingroup all-examples
170
\title User Input Examples
171
\brief Using user input in Qt Widgets applications.
172
173
\image imagegestures-example.png {Application handling touch gestures}
174
175
Qt provides the functionality for handling user input and drag-and-drop in
176
widget-based applications.
177
178
*/
qtbase
src
widgets
doc
src
qtwidgets-examples.qdoc
Generated on
for Qt by
1.14.0