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