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 demos.html
|
---|
30 | \title Qt Demonstrations
|
---|
31 | \brief Information about the demonstration programs provided with Qt.
|
---|
32 |
|
---|
33 | \previouspage Qt Examples
|
---|
34 | \contentspage How to Learn Qt
|
---|
35 | \nextpage What's New in Qt 4.7
|
---|
36 |
|
---|
37 | This is the list of demonstrations in Qt's \c demos directory.
|
---|
38 | These are larger and more complicated programs than the
|
---|
39 | \l{Qt Examples} and are used to highlight certain features of
|
---|
40 | Qt.
|
---|
41 |
|
---|
42 | \table
|
---|
43 | \header
|
---|
44 | \o {2,1} Getting an Overview
|
---|
45 | \row
|
---|
46 | \o \inlineimage qtdemo-small.png
|
---|
47 | \o If you run the \l{Examples and Demos Launcher}, you'll see many of Qt's
|
---|
48 | widgets in action.
|
---|
49 |
|
---|
50 | The \l{Qt Widget Gallery} also provides overviews of selected Qt
|
---|
51 | widgets in each of the styles used on various supported platforms.
|
---|
52 | \endtable
|
---|
53 |
|
---|
54 | If you are new to Qt, and want to start developing applications,
|
---|
55 | you should probably start by going through the \l{Tutorials}.
|
---|
56 |
|
---|
57 | \section1 Painting
|
---|
58 |
|
---|
59 | \list
|
---|
60 | \o \l{demos/composition}{Composition Modes} demonstrates the range of
|
---|
61 | composition modes available with Qt.
|
---|
62 | \o \l{demos/deform}{Vector Deformation} demonstrates effects that are made
|
---|
63 | possible with a vector-oriented paint engine.
|
---|
64 | \o \l{demos/gradients}{Gradients} shows the different types of gradients
|
---|
65 | that are available in Qt.
|
---|
66 | \o \l{demos/pathstroke}{Path Stroking} shows Qt's built-in dash patterns
|
---|
67 | and shows how custom patterns can be used to extend the range of
|
---|
68 | available patterns.
|
---|
69 | \o \l{demos/affine}{Affine Transformations} demonstrates the different
|
---|
70 | affine transformations that can be used to influence painting operations.
|
---|
71 | \o \l{demos/arthurplugin}{Arthur Plugin} shows the widgets from the
|
---|
72 | other painting demos packaged as a custom widget plugin for \QD.
|
---|
73 | \endlist
|
---|
74 |
|
---|
75 | \section1 Item Views
|
---|
76 |
|
---|
77 | \list
|
---|
78 | \o \l{demos/interview}{Interview} shows the same model and selection being
|
---|
79 | shared between three different views.
|
---|
80 | \o \l{demos/spreadsheet}{Spreadsheet} demonstrates the use of a table view
|
---|
81 | as a spreadsheet, using custom delegates to render each item according to
|
---|
82 | the type of data it contains.
|
---|
83 | \endlist
|
---|
84 |
|
---|
85 | \section1 SQL
|
---|
86 |
|
---|
87 | \list
|
---|
88 | \o \l{demos/books}{Books} shows how Qt's SQL support and model/view integration
|
---|
89 | enables the user to modify the contents of a database without requiring
|
---|
90 | knowledge of SQL.
|
---|
91 | \o \l{demos/sqlbrowser}{SQL Browser} demonstrates a console for executing SQL
|
---|
92 | statements on a live database and provides a data browser for interactively
|
---|
93 | visualizing the results.
|
---|
94 | \endlist
|
---|
95 |
|
---|
96 | \section1 Rich Text
|
---|
97 |
|
---|
98 | \list
|
---|
99 | \o \l{demos/textedit}{Text Edit} shows Qt's rich text editing features and provides
|
---|
100 | an environment for experimenting with them.
|
---|
101 | \endlist
|
---|
102 |
|
---|
103 | \section1 Main Window
|
---|
104 |
|
---|
105 | \list
|
---|
106 | \o \l{demos/mainwindow}{Main Window} shows Qt's extensive support for main window
|
---|
107 | features, such as tool bars, dock windows, and menus.
|
---|
108 | \o \l{demos/macmainwindow}{Mac Main Window} shows how to create main window applications that has
|
---|
109 | the same appearance as other Mac OS X applications.
|
---|
110 | \endlist
|
---|
111 |
|
---|
112 | \section1 Graphics View
|
---|
113 |
|
---|
114 | \list
|
---|
115 | \o \l{demos/chip}{40000 Chips} uses the \l{Graphics View Framework} to
|
---|
116 | efficiently display a large number of individual graphical items on
|
---|
117 | a scrolling canvas and highlighting features including rotation,
|
---|
118 | zooming, level of detail control, and item selection.
|
---|
119 | \o \l{demos/embeddeddialogs}{Embedded Dialogs} showcases Qt 4.4's
|
---|
120 | \e{Widgets on the Canvas} feature by embedding several
|
---|
121 | fully-functional dialogs in a scene.
|
---|
122 | \o \l{demos/boxes}{Boxes} showcases Qt's OpenGL support and the
|
---|
123 | integration with the \l{Graphics View Framework}.
|
---|
124 | \endlist
|
---|
125 |
|
---|
126 | \section1 Tools
|
---|
127 |
|
---|
128 | \list
|
---|
129 | \o \l{demos/undo}{Undo Framework} demonstrates how Qt's
|
---|
130 | \l{Overview of Qt's Undo Framework}{undo framework} is used to
|
---|
131 | provide advanced undo/redo functionality.
|
---|
132 | \endlist
|
---|
133 |
|
---|
134 | \section1 QtWebKit
|
---|
135 |
|
---|
136 | \list
|
---|
137 | \o \l{Web Browser} demonstrates how Qt's \l{QtWebKit} module can be used to
|
---|
138 | implement a small Web browser.
|
---|
139 | \endlist
|
---|
140 |
|
---|
141 | \section1 Multimedia
|
---|
142 |
|
---|
143 | \list
|
---|
144 | \o \l{demos/spectrum}{Spectrum Analyser} shows how the \l{QtMultimedia}
|
---|
145 | module can be used to manipulate audio as it is played.
|
---|
146 | \endlist
|
---|
147 |
|
---|
148 | \section1 Phonon
|
---|
149 |
|
---|
150 | \list
|
---|
151 | \o \l{demos/qmediaplayer}{Media Player} demonstrates how the
|
---|
152 | \l{Phonon Module}{Phonon module} can be used to implement a basic media player
|
---|
153 | application.
|
---|
154 | \endlist
|
---|
155 |
|
---|
156 | \note The Phonon demos are currently not available for the MinGW platform.
|
---|
157 |
|
---|
158 | \section1 Multimedia
|
---|
159 |
|
---|
160 | \list
|
---|
161 | \o \l{demos/spectrum}{Spectrum Analyzer} demonstrates how the \l{QtMultimedia Module}
|
---|
162 | can be used to capture and play back an audio stream, at the same time allowing the
|
---|
163 | application to access the raw audio data. This application analyzes the audio stream
|
---|
164 | in order to display a frequency spectrum.
|
---|
165 | \endlist
|
---|
166 |
|
---|
167 | \section1 Animation
|
---|
168 |
|
---|
169 | \list
|
---|
170 | \o \l{demos/sub-attaq}{Sub-Attaq} demonstrates the features of the
|
---|
171 | \l{The Animation Framework}{animation framework} and
|
---|
172 | \l{The State Machine Framework}{state machine framework} in the production of
|
---|
173 | a simple game.
|
---|
174 | \endlist
|
---|
175 |
|
---|
176 | \section1 Embedded Platforms
|
---|
177 |
|
---|
178 | \list
|
---|
179 | \o \l{demos/embedded/anomaly}{Anomaly} is a small screen browser with kinetic scrolling.
|
---|
180 | \o \l{demos/embedded/desktopservices}{Embedded Desktop Services} shows how to open
|
---|
181 | documents using the applications associated with their file types.
|
---|
182 | \o \l{demos/embedded/digiflip}{Digiflip} is a digital watch with transition effects.
|
---|
183 | \o \l{demos/embedded/embeddedsvgviewer}{Embedded SVG Viewer} shows how to display SVG
|
---|
184 | drawings on embedded devices.
|
---|
185 | \o \l{demos/embedded/flickable}{Flickable List} shows how to display a list with kinetic scrolling.
|
---|
186 | \o \l{demos/embedded/flightinfo}{Flight Info} fetches information about aircraft flights from the Web.
|
---|
187 | \o \l{demos/embedded/fluidlauncher}{Fluid Launcher} demo application launcher for embedded screens
|
---|
188 | \o \l{demos/embedded/lightmaps}{Light Maps} demonstrates OpenStreetMap integration with WebKit.
|
---|
189 | \o \l{demos/embedded/raycasting}{Ray Casting} demonstrates the use of ray casting with the
|
---|
190 | \l{Graphics View Framework}.
|
---|
191 | \o \l{demos/embedded/styledemo}{Embedded Styles} demonstrates the use of styles.
|
---|
192 | \o \l{demos/embedded/weatherinfo}{Weather Info} fetches weather information from the Web.
|
---|
193 | \endlist
|
---|
194 | */
|
---|