| 1 | /**************************************************************************** | 
|---|
| 2 | ** | 
|---|
| 3 | ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). | 
|---|
| 4 | ** All rights reserved. | 
|---|
| 5 | ** Contact: Nokia Corporation (qt-info@nokia.com) | 
|---|
| 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 qt-info@nokia.com. | 
|---|
| 24 | ** $QT_END_LICENSE$ | 
|---|
| 25 | ** | 
|---|
| 26 | ****************************************************************************/ | 
|---|
| 27 |  | 
|---|
| 28 | /*! | 
|---|
| 29 | \group all-examples | 
|---|
| 30 | \title Qt Examples | 
|---|
| 31 |  | 
|---|
| 32 | Qt includes a set of examples that cover nearly every aspect of Qt | 
|---|
| 33 | development. They aren't meant to be impressive when you run them, | 
|---|
| 34 | but in each case the source code has been carefully written to | 
|---|
| 35 | illustrate one or more best Qt programming practices. | 
|---|
| 36 |  | 
|---|
| 37 | You can run the examples from the \l{Examples and Demos Launcher} | 
|---|
| 38 | application (except see \l{QML Examples and Demos} {QML Examples} | 
|---|
| 39 | for special instructions for running those examples). | 
|---|
| 40 |  | 
|---|
| 41 | The examples are listed below by functional area. Each example | 
|---|
| 42 | listed in a particular functional area is meant to illustrate how | 
|---|
| 43 | best to use Qt to do some particular task in that functional area, | 
|---|
| 44 | but the examples will often use features from other functional | 
|---|
| 45 | areas as well for completeness. | 
|---|
| 46 |  | 
|---|
| 47 | If you are new to Qt, you should probably start by going through | 
|---|
| 48 | the \l{Tutorials}, and then begin with the | 
|---|
| 49 | \l{mainwindows/application} {Application} example. | 
|---|
| 50 |  | 
|---|
| 51 | In addition to these examples and the \l{Tutorials}{tutorials}, Qt | 
|---|
| 52 | includes a \l{Qt Demonstrations}{selection of demos} that | 
|---|
| 53 | deliberately show off Qt's features. You might want to look at | 
|---|
| 54 | these as well. | 
|---|
| 55 |  | 
|---|
| 56 | These examples are provided under the terms of the | 
|---|
| 57 | \l{New and Modified BSD Licenses}{Modified BSD License}. | 
|---|
| 58 |  | 
|---|
| 59 |  | 
|---|
| 60 | \section1 Examples by Functional Area | 
|---|
| 61 |  | 
|---|
| 62 | \generatelist{related} | 
|---|
| 63 | */ | 
|---|
| 64 |  | 
|---|
| 65 | /*! | 
|---|
| 66 | \page examples-widgets.html | 
|---|
| 67 | \title Widget Examples | 
|---|
| 68 | \ingroup all-examples | 
|---|
| 69 | \brief Lots of examples of how to use different kinds of widgets. | 
|---|
| 70 |  | 
|---|
| 71 | \image widget-examples.png | 
|---|
| 72 |  | 
|---|
| 73 | Qt comes with a large range of standard widgets that users of modern | 
|---|
| 74 | applications have come to expect. | 
|---|
| 75 |  | 
|---|
| 76 | You can also develop your own custom widgets and controls, and use them | 
|---|
| 77 | alongside standard widgets. | 
|---|
| 78 |  | 
|---|
| 79 | It is even possible to provide custom styles and themes for widgets that can | 
|---|
| 80 | be used to change the appearance of standard widgets and appropriately | 
|---|
| 81 | written custom widgets. | 
|---|
| 82 |  | 
|---|
| 83 | \list | 
|---|
| 84 | \o \l{widgets/analogclock}{Analog Clock}\raisedaster | 
|---|
| 85 | \o \l{widgets/calculator}{Calculator}\raisedaster | 
|---|
| 86 | \o \l{widgets/calendarwidget}{Calendar Widget}\raisedaster | 
|---|
| 87 | \o \l{widgets/charactermap}{Character Map}\raisedaster | 
|---|
| 88 | \o \l{widgets/codeeditor}{Code Editor}\raisedaster | 
|---|
| 89 | \o \l{widgets/digitalclock}{Digital Clock}\raisedaster | 
|---|
| 90 | \o \l{widgets/groupbox}{Group Box}\raisedaster | 
|---|
| 91 | \o \l{widgets/icons}{Icons}\raisedaster | 
|---|
| 92 | \o \l{widgets/imageviewer}{Image Viewer}\raisedaster | 
|---|
| 93 | \o \l{widgets/lineedits}{Line Edits}\raisedaster | 
|---|
| 94 | \o \l{widgets/movie}{Movie} | 
|---|
| 95 | \o \l{widgets/scribble}{Scribble}\raisedaster | 
|---|
| 96 | \o \l{widgets/shapedclock}{Shaped Clock}\raisedaster | 
|---|
| 97 | \o \l{widgets/sliders}{Sliders}\raisedaster | 
|---|
| 98 | \o \l{widgets/softkeys}{Soft Keys} | 
|---|
| 99 | \o \l{widgets/spinboxes}{Spin Boxes}\raisedaster | 
|---|
| 100 | \o \l{widgets/styles}{Styles}\raisedaster | 
|---|
| 101 | \o \l{widgets/stylesheet}{Style Sheet}\raisedaster | 
|---|
| 102 | \o \l{widgets/tablet}{Tablet}\raisedaster | 
|---|
| 103 | \o \l{widgets/tetrix}{Tetrix}\raisedaster | 
|---|
| 104 | \o \l{widgets/tooltips}{Tooltips}\raisedaster | 
|---|
| 105 | \o \l{widgets/validators}{Validators} | 
|---|
| 106 | \o \l{widgets/wiggly}{Wiggly}\raisedaster | 
|---|
| 107 | \o \l{widgets/windowflags}{Window Flags}\raisedaster | 
|---|
| 108 | \endlist | 
|---|
| 109 |  | 
|---|
| 110 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 111 | */ | 
|---|
| 112 |  | 
|---|
| 113 | /*! | 
|---|
| 114 | \page examples-dialogs.html | 
|---|
| 115 | \ingroup all-examples | 
|---|
| 116 | \title Dialog Examples | 
|---|
| 117 | \brief Using Qt's standard dialogs and building and using custom dialogs. | 
|---|
| 118 |  | 
|---|
| 119 | \image dialog-examples.png | 
|---|
| 120 |  | 
|---|
| 121 | Qt includes standard dialogs for many common operations, such as file | 
|---|
| 122 | selection, printing, and color selection. | 
|---|
| 123 |  | 
|---|
| 124 | Custom dialogs can also be created for specialized modal or modeless | 
|---|
| 125 | interactions with users. | 
|---|
| 126 |  | 
|---|
| 127 | \list | 
|---|
| 128 | \o \l{dialogs/classwizard}{Class Wizard}\raisedaster | 
|---|
| 129 | \o \l{dialogs/configdialog}{Config Dialog} | 
|---|
| 130 | \o \l{dialogs/extension}{Extension}\raisedaster | 
|---|
| 131 | \o \l{dialogs/findfiles}{Find Files}\raisedaster | 
|---|
| 132 | \o \l{dialogs/licensewizard}{License Wizard}\raisedaster | 
|---|
| 133 | \o \l{dialogs/standarddialogs}{Standard Dialogs} | 
|---|
| 134 | \o \l{dialogs/tabdialog}{Tab Dialog}\raisedaster | 
|---|
| 135 | \o \l{dialogs/trivialwizard}{Trivial Wizard} | 
|---|
| 136 | \endlist | 
|---|
| 137 |  | 
|---|
| 138 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 139 | */ | 
|---|
| 140 |  | 
|---|
| 141 | /*! | 
|---|
| 142 | \page examples-mainwindow.html | 
|---|
| 143 | \ingroup all-examples | 
|---|
| 144 | \title Main Window Examples | 
|---|
| 145 | \brief Building applications around a main window. | 
|---|
| 146 |  | 
|---|
| 147 | \image mainwindow-examples.png | 
|---|
| 148 |  | 
|---|
| 149 | All the standard features of application main windows are provided by Qt. | 
|---|
| 150 |  | 
|---|
| 151 | Main windows can have pull down menus, tool bars, and dock windows. These | 
|---|
| 152 | separate forms of user input are unified in an integrated action system that | 
|---|
| 153 | also supports keyboard shortcuts and accelerator keys in menu items. | 
|---|
| 154 |  | 
|---|
| 155 | \list | 
|---|
| 156 | \o \l{mainwindows/application}{Application}\raisedaster | 
|---|
| 157 | \o \l{mainwindows/dockwidgets}{Dock Widgets}\raisedaster | 
|---|
| 158 | \o \l{mainwindows/mdi}{MDI} | 
|---|
| 159 | \o \l{mainwindows/menus}{Menus}\raisedaster | 
|---|
| 160 | \o \l{mainwindows/recentfiles}{Recent Files} | 
|---|
| 161 | \o \l{mainwindows/sdi}{SDI} | 
|---|
| 162 | \endlist | 
|---|
| 163 |  | 
|---|
| 164 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 165 | */ | 
|---|
| 166 |  | 
|---|
| 167 | /*! | 
|---|
| 168 | \page examples-layouts.html | 
|---|
| 169 | \ingroup all-examples | 
|---|
| 170 | \title Layout Examples | 
|---|
| 171 | \brief Using Qt's layout-based approach to widget management. | 
|---|
| 172 |  | 
|---|
| 173 | \image layout-examples.png | 
|---|
| 174 |  | 
|---|
| 175 | Qt uses a layout-based approach to widget management. Widgets are arranged in | 
|---|
| 176 | the optimal positions in windows based on simple layout rules, leading to a | 
|---|
| 177 | consistent look and feel. | 
|---|
| 178 |  | 
|---|
| 179 | Custom layouts can be used to provide more control over the positions and | 
|---|
| 180 | sizes of child widgets. | 
|---|
| 181 |  | 
|---|
| 182 | \list | 
|---|
| 183 | \o \l{layouts/basiclayouts}{Basic Layouts}\raisedaster | 
|---|
| 184 | \o \l{layouts/borderlayout}{Border Layout} | 
|---|
| 185 | \o \l{layouts/dynamiclayouts}{Dynamic Layouts} | 
|---|
| 186 | \o \l{layouts/flowlayout}{Flow Layout} | 
|---|
| 187 | \endlist | 
|---|
| 188 |  | 
|---|
| 189 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 190 | */ | 
|---|
| 191 |  | 
|---|
| 192 | /*! | 
|---|
| 193 | \page examples-itemviews.html | 
|---|
| 194 | \ingroup all-examples | 
|---|
| 195 | \title Item Views Examples | 
|---|
| 196 | \brief Using the model/view design pattern to separate presentation from data. | 
|---|
| 197 |  | 
|---|
| 198 | \image itemview-examples.png | 
|---|
| 199 |  | 
|---|
| 200 | Item views are widgets that typically display data sets. Qt 4's model/view | 
|---|
| 201 | framework lets you handle large data sets by separating the underlying data | 
|---|
| 202 | from the way it is represented to the user, and provides support for | 
|---|
| 203 | customized rendering through the use of delegates. | 
|---|
| 204 |  | 
|---|
| 205 | \list | 
|---|
| 206 | \o \l{itemviews/addressbook}{Address Book}\raisedaster | 
|---|
| 207 | \o \l{itemviews/basicsortfiltermodel}{Basic Sort/Filter Model} | 
|---|
| 208 | \o \l{itemviews/chart}{Chart} | 
|---|
| 209 | \o \l{itemviews/coloreditorfactory}{Color Editor Factory}\raisedaster | 
|---|
| 210 | \o \l{itemviews/combowidgetmapper}{Combo Widget Mapper}\raisedaster | 
|---|
| 211 | \o \l{itemviews/customsortfiltermodel}{Custom Sort/Filter Model}\raisedaster | 
|---|
| 212 | \o \l{itemviews/dirview}{Dir View} | 
|---|
| 213 | \o \l{itemviews/editabletreemodel}{Editable Tree Model}\raisedaster | 
|---|
| 214 | \o \l{itemviews/fetchmore}{Fetch More}\raisedaster | 
|---|
| 215 | \o \l{itemviews/frozencolumn}{Frozen Column}\raisedaster | 
|---|
| 216 | \o \l{itemviews/pixelator}{Pixelator}\raisedaster | 
|---|
| 217 | \o \l{itemviews/puzzle}{Puzzle} | 
|---|
| 218 | \o \l{itemviews/simpledommodel}{Simple DOM Model}\raisedaster | 
|---|
| 219 | \o \l{itemviews/simpletreemodel}{Simple Tree Model}\raisedaster | 
|---|
| 220 | \o \l{itemviews/simplewidgetmapper}{Simple Widget Mapper}\raisedaster | 
|---|
| 221 | \o \l{itemviews/spinboxdelegate}{Spin Box Delegate}\raisedaster | 
|---|
| 222 | \o \l{itemviews/stardelegate}{Star Delegate}\raisedaster | 
|---|
| 223 | \endlist | 
|---|
| 224 |  | 
|---|
| 225 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 226 | */ | 
|---|
| 227 |  | 
|---|
| 228 | /*! | 
|---|
| 229 | \page examples-graphicsview.html | 
|---|
| 230 | \ingroup all-examples | 
|---|
| 231 | \title Graphics View Examples | 
|---|
| 232 | \brief Using Qt to manage and interact with a large (potentially) number of graphics items. | 
|---|
| 233 |  | 
|---|
| 234 | \image graphicsview-examples.png | 
|---|
| 235 |  | 
|---|
| 236 | Qt is provided with a comprehensive canvas through the GraphicsView | 
|---|
| 237 | classes. | 
|---|
| 238 |  | 
|---|
| 239 | These examples demonstrate the fundamental aspects of canvas programming | 
|---|
| 240 | with Qt. | 
|---|
| 241 |  | 
|---|
| 242 | \list | 
|---|
| 243 | \o \l{graphicsview/collidingmice}{Colliding Mice}\raisedaster | 
|---|
| 244 | \o \l{graphicsview/diagramscene}{Diagram Scene}\raisedaster | 
|---|
| 245 | \o \l{graphicsview/dragdroprobot}{Drag and Drop Robot}\raisedaster | 
|---|
| 246 | \o \l{graphicsview/elasticnodes}{Elastic Nodes}\raisedaster | 
|---|
| 247 | \o \l{graphicsview/padnavigator}{Pad Navigator}\raisedaster | 
|---|
| 248 | \o \l{graphicsview/portedasteroids}{Ported Asteroids} | 
|---|
| 249 | \o \l{graphicsview/portedcanvas}{Ported Canvas} | 
|---|
| 250 | \endlist | 
|---|
| 251 |  | 
|---|
| 252 | These examples show the use of graphics widgets and layouts. | 
|---|
| 253 |  | 
|---|
| 254 | \list | 
|---|
| 255 | \o \l{graphicsview/anchorlayout}{Anchor Layout} | 
|---|
| 256 | \o \l{graphicsview/flowlayout}{Flow Layout} | 
|---|
| 257 | \o \l{graphicsview/simpleanchorlayout}{Simple Anchor Layout} | 
|---|
| 258 | \o \l{graphicsview/weatheranchorlayout}{Weather Anchor Layout} | 
|---|
| 259 | \o \l{graphicsview/basicgraphicslayouts}{Basic Graphics Layouts} | 
|---|
| 260 | \endlist | 
|---|
| 261 |  | 
|---|
| 262 | Some examples demonstrate the use of graphics effects with canvas items. | 
|---|
| 263 |  | 
|---|
| 264 | \list | 
|---|
| 265 | \o \l{effects/blurpicker}{Blur Picker Effect} | 
|---|
| 266 | \o \l{effects/fademessage}{Fade Message Effect} | 
|---|
| 267 | \o \l{effects/lighting}{Lighting Effect} | 
|---|
| 268 | \endlist | 
|---|
| 269 |  | 
|---|
| 270 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 271 | */ | 
|---|
| 272 |  | 
|---|
| 273 | /*! | 
|---|
| 274 | \page examples-painting.html | 
|---|
| 275 | \ingroup all-examples | 
|---|
| 276 | \title Painting Examples | 
|---|
| 277 | \brief How to use the Qt painting system. | 
|---|
| 278 |  | 
|---|
| 279 | \image painting-examples.png | 
|---|
| 280 |  | 
|---|
| 281 | Qt's painting system is able to render vector graphics, images, and outline | 
|---|
| 282 | font-based text with sub-pixel accuracy accuracy using anti-aliasing to | 
|---|
| 283 | improve rendering quality. | 
|---|
| 284 |  | 
|---|
| 285 | These examples show the most common techniques that are used when painting | 
|---|
| 286 | with Qt, from basic concepts such as drawing simple primitives to the use of | 
|---|
| 287 | transformations. | 
|---|
| 288 |  | 
|---|
| 289 | \list | 
|---|
| 290 | \o \l{painting/basicdrawing}{Basic Drawing}\raisedaster | 
|---|
| 291 | \o \l{painting/concentriccircles}{Concentric Circles}\raisedaster | 
|---|
| 292 | \o \l{painting/fontsampler}{Font Sampler} | 
|---|
| 293 | \o \l{painting/imagecomposition}{Image Composition}\raisedaster | 
|---|
| 294 | \o \l{painting/painterpaths}{Painter Paths}\raisedaster | 
|---|
| 295 | \o \l{painting/svggenerator}{SVG Generator}\raisedaster | 
|---|
| 296 | \o \l{painting/svgviewer}{SVG Viewer} | 
|---|
| 297 | \o \l{painting/transformations}{Transformations}\raisedaster | 
|---|
| 298 | \endlist | 
|---|
| 299 |  | 
|---|
| 300 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 301 | */ | 
|---|
| 302 |  | 
|---|
| 303 | /*! | 
|---|
| 304 | \page examples-richtext.html | 
|---|
| 305 | \ingroup all-examples | 
|---|
| 306 | \title Rich Text Examples | 
|---|
| 307 | \brief Using the document-oriented rich text engine. | 
|---|
| 308 |  | 
|---|
| 309 | \image richtext-examples.png | 
|---|
| 310 |  | 
|---|
| 311 | Qt provides powerful document-oriented rich text engine that supports Unicode | 
|---|
| 312 | and right-to-left scripts. Documents can be manipulated using a cursor-based | 
|---|
| 313 | API, and their contents can be imported and exported as both HTML and in a | 
|---|
| 314 | custom XML format. | 
|---|
| 315 |  | 
|---|
| 316 | \list | 
|---|
| 317 | \o \l{richtext/calendar}{Calendar}\raisedaster | 
|---|
| 318 | \o \l{richtext/orderform}{Order Form}\raisedaster | 
|---|
| 319 | \o \l{richtext/syntaxhighlighter}{Syntax Highlighter}\raisedaster | 
|---|
| 320 | \o \l{richtext/textobject}{Text Object}\raisedaster | 
|---|
| 321 | \endlist | 
|---|
| 322 | */ | 
|---|
| 323 |  | 
|---|
| 324 | /*! | 
|---|
| 325 | \page examples-desktop.html | 
|---|
| 326 | \ingroup all-examples | 
|---|
| 327 | \title Desktop Examples | 
|---|
| 328 | \brief Integrating your Qt application with your favorite desktop. | 
|---|
| 329 |  | 
|---|
| 330 | \image desktop-examples.png | 
|---|
| 331 |  | 
|---|
| 332 | Qt provides features to enable applications to integrate with the user's | 
|---|
| 333 | preferred desktop environment. | 
|---|
| 334 |  | 
|---|
| 335 | Features such as system tray icons, access to the desktop widget, and | 
|---|
| 336 | support for desktop services can be used to improve the appearance of | 
|---|
| 337 | applications and take advantage of underlying desktop facilities. | 
|---|
| 338 |  | 
|---|
| 339 | \list | 
|---|
| 340 | \o \l{desktop/screenshot}{Screenshot}\raisedaster | 
|---|
| 341 | \o \l{desktop/systray}{System Tray}\raisedaster | 
|---|
| 342 | \endlist | 
|---|
| 343 | */ | 
|---|
| 344 |  | 
|---|
| 345 | /*! | 
|---|
| 346 | \page examples-draganddrop.html | 
|---|
| 347 | \ingroup all-examples | 
|---|
| 348 | \title Drag and Drop Examples | 
|---|
| 349 | \brief How to access your platform's native drag and drop functionality. | 
|---|
| 350 |  | 
|---|
| 351 | \image draganddrop-examples.png | 
|---|
| 352 |  | 
|---|
| 353 | Qt supports native drag and drop on all platforms via an extensible | 
|---|
| 354 | MIME-based system that enables applications to send data to each other in the | 
|---|
| 355 | most appropriate formats. | 
|---|
| 356 |  | 
|---|
| 357 | Drag and drop can also be implemented for internal use by applications. | 
|---|
| 358 |  | 
|---|
| 359 | \list | 
|---|
| 360 | \o \l{draganddrop/delayedencoding}{Delayed Encoding}\raisedaster | 
|---|
| 361 | \o \l{draganddrop/draggableicons}{Draggable Icons} | 
|---|
| 362 | \o \l{draganddrop/draggabletext}{Draggable Text} | 
|---|
| 363 | \o \l{draganddrop/dropsite}{Drop Site} | 
|---|
| 364 | \o \l{draganddrop/fridgemagnets}{Fridge Magnets}\raisedaster | 
|---|
| 365 | \o \l{draganddrop/puzzle}{Drag and Drop Puzzle} | 
|---|
| 366 | \endlist | 
|---|
| 367 |  | 
|---|
| 368 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 369 | */ | 
|---|
| 370 |  | 
|---|
| 371 | /*! | 
|---|
| 372 | \page examples-threadandconcurrent.html | 
|---|
| 373 | \ingroup all-examples | 
|---|
| 374 | \title Threading and Concurrent Programming Examples | 
|---|
| 375 | \brief Threading and concurrent programming in Qt. | 
|---|
| 376 |  | 
|---|
| 377 | \image thread-examples.png | 
|---|
| 378 |  | 
|---|
| 379 | Qt 4 makes it easier than ever to write multithreaded applications. More | 
|---|
| 380 | classes have been made usable from non-GUI threads, and the signals and slots | 
|---|
| 381 | mechanism can now be used to communicate between threads. | 
|---|
| 382 |  | 
|---|
| 383 | Additionally, it is now possible to move objects between threads. | 
|---|
| 384 |  | 
|---|
| 385 | \list | 
|---|
| 386 | \o \l{threads/queuedcustomtype}{Queued Custom Type}\raisedaster | 
|---|
| 387 | \o \l{threads/mandelbrot}{Mandelbrot}\raisedaster | 
|---|
| 388 | \o \l{threads/semaphores}{Semaphores}\raisedaster | 
|---|
| 389 | \o \l{threads/waitconditions}{Wait Conditions}\raisedaster | 
|---|
| 390 | \endlist | 
|---|
| 391 |  | 
|---|
| 392 | The QtConcurrent namespace includes a collection of classes and functions | 
|---|
| 393 | for straightforward concurrent programming. | 
|---|
| 394 |  | 
|---|
| 395 | These examples show how to apply the basic techniques of concurrent | 
|---|
| 396 | programming to simple problems. | 
|---|
| 397 |  | 
|---|
| 398 | \list | 
|---|
| 399 | \o \l{qtconcurrent/imagescaling}{QtConcurrent Asynchronous Image Scaling} | 
|---|
| 400 | \o \l{qtconcurrent/map}{QtConcurrent Map} | 
|---|
| 401 | \o \l{qtconcurrent/progressdialog}{QtConcurrent Progress Dialog} | 
|---|
| 402 | \o \l{qtconcurrent/runfunction}{QtConcurrent Run Function} | 
|---|
| 403 | \o \l{qtconcurrent/wordcount}{QtConcurrent Word Count} | 
|---|
| 404 | \endlist | 
|---|
| 405 |  | 
|---|
| 406 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 407 | */ | 
|---|
| 408 |  | 
|---|
| 409 | /*! | 
|---|
| 410 | \page examples.tools.html | 
|---|
| 411 | \ingroup all-examples | 
|---|
| 412 | \title Tools Examples | 
|---|
| 413 | \brief Using Qt's containers, iterators, and other tool classes. | 
|---|
| 414 |  | 
|---|
| 415 | \image tool-examples.png | 
|---|
| 416 |  | 
|---|
| 417 | Qt is equipped with a range of capable tool classes, from containers and | 
|---|
| 418 | iterators to classes for string handling and manipulation. | 
|---|
| 419 |  | 
|---|
| 420 | Other classes provide application infrastructure support, handling plugin | 
|---|
| 421 | loading and managing configuration files. | 
|---|
| 422 |  | 
|---|
| 423 | \list | 
|---|
| 424 | \o \l{tools/codecs}{Codecs} | 
|---|
| 425 | \o \l{tools/completer}{Completer}\raisedaster | 
|---|
| 426 | \o \l{tools/customcompleter}{Custom Completer}\raisedaster | 
|---|
| 427 | \o \l{tools/customtype}{Custom Type}\raisedaster | 
|---|
| 428 | \o \l{tools/customtypesending}{Custom Type Sending}\raisedaster | 
|---|
| 429 | \o \l{tools/echoplugin}{Echo Plugin}\raisedaster | 
|---|
| 430 | \o \l{tools/i18n}{I18N} | 
|---|
| 431 | \o \l{tools/inputpanel}{Input Panel}\raisedaster | 
|---|
| 432 | \o \l{tools/plugandpaint}{Plug & Paint}\raisedaster | 
|---|
| 433 | \o Plug & Paint Plugins: \l{tools/plugandpaintplugins/basictools}{Basic Tools}\raisedaster | 
|---|
| 434 | and \l{tools/plugandpaintplugins/extrafilters}{Extra Filters}\raisedaster | 
|---|
| 435 | \o \l{tools/regexp}{RegExp} | 
|---|
| 436 | \o \l{tools/settingseditor}{Settings Editor} | 
|---|
| 437 | \o \l{tools/styleplugin}{Style Plugin}\raisedaster | 
|---|
| 438 | \o \l{tools/treemodelcompleter}{Tree Model Completer}\raisedaster | 
|---|
| 439 | \o \l{tools/undoframework}{Undo Framework}\raisedaster | 
|---|
| 440 | \endlist | 
|---|
| 441 |  | 
|---|
| 442 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 443 | */ | 
|---|
| 444 |  | 
|---|
| 445 | /*! | 
|---|
| 446 | \page examples-network.html | 
|---|
| 447 | \ingroup all-examples | 
|---|
| 448 | \title Network Examples | 
|---|
| 449 | \brief How to do network programming in Qt. | 
|---|
| 450 |  | 
|---|
| 451 | \image network-examples.png | 
|---|
| 452 |  | 
|---|
| 453 | Qt is provided with an extensive set of network classes to support both | 
|---|
| 454 | client-based and server side network programming. | 
|---|
| 455 |  | 
|---|
| 456 | These examples demonstrate the fundamental aspects of network programming | 
|---|
| 457 | with Qt. | 
|---|
| 458 |  | 
|---|
| 459 | \list | 
|---|
| 460 | \o  \l{network/blockingfortuneclient}{Blocking Fortune Client}\raisedaster | 
|---|
| 461 | \o  \l{network/broadcastreceiver}{Broadcast Receiver} | 
|---|
| 462 | \o  \l{network/broadcastsender}{Broadcast Sender} | 
|---|
| 463 | \o  \l{network/download}{Download} | 
|---|
| 464 | \o  \l{network/downloadmanager}{Download Manager} | 
|---|
| 465 | \o  \l{network/network-chat}{Network Chat} | 
|---|
| 466 | \o  \l{network/fortuneclient}{Fortune Client}\raisedaster | 
|---|
| 467 | \o  \l{network/fortuneserver}{Fortune Server}\raisedaster | 
|---|
| 468 | \o  \l{network/qftp}{FTP}\raisedaster | 
|---|
| 469 | \o  \l{network/http}{HTTP} | 
|---|
| 470 | \o  \l{network/loopback}{Loopback} | 
|---|
| 471 | \o  \l{network/threadedfortuneserver}{Threaded Fortune Server}\raisedaster | 
|---|
| 472 | \o  \l{network/torrent}{Torrent} | 
|---|
| 473 | \o  \l{network/googlesuggest}{Google Suggest} | 
|---|
| 474 | \o  \l{network/bearercloud}{Bearer Cloud}\raisedaster | 
|---|
| 475 | \o  \l{network/bearermonitor}{Bearer Monitor} | 
|---|
| 476 | \o  \l{network/securesocketclient}{Secure Socket Client} | 
|---|
| 477 | \endlist | 
|---|
| 478 |  | 
|---|
| 479 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 480 | */ | 
|---|
| 481 |  | 
|---|
| 482 | /*! | 
|---|
| 483 | \page examples-ipc.html | 
|---|
| 484 | \ingroup all-examples | 
|---|
| 485 | \title IPC Examples | 
|---|
| 486 | \brief Inter-Process Communication with Qt. | 
|---|
| 487 |  | 
|---|
| 488 | \image ipc-examples.png | 
|---|
| 489 |  | 
|---|
| 490 | \list | 
|---|
| 491 | \o \l{ipc/localfortuneclient}{Local Fortune Client}\raisedaster | 
|---|
| 492 | \o \l{ipc/localfortuneserver}{Local Fortune Server}\raisedaster | 
|---|
| 493 | \o \l{ipc/sharedmemory}{Shared Memory}\raisedaster | 
|---|
| 494 | \endlist | 
|---|
| 495 | */ | 
|---|
| 496 |  | 
|---|
| 497 | /*! | 
|---|
| 498 | \page examples-opengl.html | 
|---|
| 499 | \ingroup all-examples | 
|---|
| 500 | \title OpenGL Examples | 
|---|
| 501 | \brief Accessing OpenGL from Qt. | 
|---|
| 502 |  | 
|---|
| 503 | \image opengl-examples.png | 
|---|
| 504 |  | 
|---|
| 505 | Qt provides support for integration with OpenGL implementations on all | 
|---|
| 506 | platforms, giving developers the opportunity to display hardware accelerated | 
|---|
| 507 | 3D graphics alongside a more conventional user interface. | 
|---|
| 508 |  | 
|---|
| 509 | These examples demonstrate the basic techniques used to take advantage of | 
|---|
| 510 | OpenGL in Qt applications. | 
|---|
| 511 |  | 
|---|
| 512 | \list | 
|---|
| 513 | \o \l{opengl/2dpainting}{2D Painting}\raisedaster | 
|---|
| 514 | \o \l{opengl/framebufferobject}{Framebuffer Object} | 
|---|
| 515 | \o \l{opengl/framebufferobject2}{Framebuffer Object 2} | 
|---|
| 516 | \o \l{opengl/grabber}{Grabber} | 
|---|
| 517 | \o \l{opengl/hellogl}{Hello GL}\raisedaster | 
|---|
| 518 | \o \l{opengl/hellogl_es}{Hello GL - ported to Windows CE}\raisedaster | 
|---|
| 519 | \o \l{opengl/overpainting}{Overpainting}\raisedaster | 
|---|
| 520 | \o \l{opengl/pbuffers}{Pixel Buffers} | 
|---|
| 521 | \o \l{opengl/pbuffers2}{Pixel Buffers 2} | 
|---|
| 522 | \o \l{opengl/samplebuffers}{Sample Buffers} | 
|---|
| 523 | \o \l{opengl/textures}{Textures} | 
|---|
| 524 | \endlist | 
|---|
| 525 |  | 
|---|
| 526 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 527 | */ | 
|---|
| 528 |  | 
|---|
| 529 | /*! | 
|---|
| 530 | \page examples-openvg.html | 
|---|
| 531 | \ingroup all-examples | 
|---|
| 532 | \title OpenVG Examples | 
|---|
| 533 | \brief Accessing OpenVG from Qt. | 
|---|
| 534 |  | 
|---|
| 535 | \image opengl-examples.png | 
|---|
| 536 |  | 
|---|
| 537 | Qt provides support for integration with OpenVG implementations on | 
|---|
| 538 | platforms with suitable drivers. | 
|---|
| 539 |  | 
|---|
| 540 | These examples demonstrate the basic techniques used to take advantage of | 
|---|
| 541 | OpenVG in Qt applications. | 
|---|
| 542 |  | 
|---|
| 543 | \list | 
|---|
| 544 | \o \l{openvg/star}{OpenVG Star} | 
|---|
| 545 | \endlist | 
|---|
| 546 | */ | 
|---|
| 547 |  | 
|---|
| 548 | /*! | 
|---|
| 549 | \page examples-multimedia.html | 
|---|
| 550 | \ingroup all-examples | 
|---|
| 551 | \title Multimedia Examples | 
|---|
| 552 | \brief Audio, video, and Phonon with Qt. | 
|---|
| 553 |  | 
|---|
| 554 | \image phonon-examples.png | 
|---|
| 555 |  | 
|---|
| 556 | \section1 Multimedia | 
|---|
| 557 |  | 
|---|
| 558 | Qt provides low-level audio support on Linux, Windows and Mac OS X by default and | 
|---|
| 559 | an audio plugin API to allow developers to implement their own audio support for | 
|---|
| 560 | custom devices and platforms. | 
|---|
| 561 |  | 
|---|
| 562 | \section1 Audio Handling | 
|---|
| 563 |  | 
|---|
| 564 | These examples demonstrate the basic techniques used to take advantage of the | 
|---|
| 565 | Audio API in Qt applications. | 
|---|
| 566 |  | 
|---|
| 567 | \list | 
|---|
| 568 | \o \l{multimedia/audiodevices}{Audio Devices} | 
|---|
| 569 | \o \l{multimedia/audiooutput}{Audio Output} | 
|---|
| 570 | \o \l{multimedia/audioinput}{Audio Input} | 
|---|
| 571 | \endlist | 
|---|
| 572 |  | 
|---|
| 573 | \section1 Video Output | 
|---|
| 574 |  | 
|---|
| 575 | \list | 
|---|
| 576 | \o \l{multimedia/videowidget}{Video Widget}\raisedaster | 
|---|
| 577 | \o \l{multimedia/videographicsitem}{Video Graphics Item} | 
|---|
| 578 | \endlist | 
|---|
| 579 |  | 
|---|
| 580 | \section1 Phonon | 
|---|
| 581 |  | 
|---|
| 582 | The Phonon Multimedia Framework brings multimedia support to Qt applications. | 
|---|
| 583 |  | 
|---|
| 584 | The examples and demonstrations provided show how to play music and movies | 
|---|
| 585 | using the Phonon API. | 
|---|
| 586 |  | 
|---|
| 587 | \list | 
|---|
| 588 | \o \l{phonon/capabilities}{Capabilities}\raisedaster | 
|---|
| 589 | \o \l{phonon/qmusicplayer}{Music Player}\raisedaster | 
|---|
| 590 | \endlist | 
|---|
| 591 |  | 
|---|
| 592 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 593 | */ | 
|---|
| 594 |  | 
|---|
| 595 | /*! | 
|---|
| 596 | \page examples-sql.html | 
|---|
| 597 | \ingroup all-examples | 
|---|
| 598 | \title SQL Examples | 
|---|
| 599 | \brief Accessing your SQL database from Qt. | 
|---|
| 600 |  | 
|---|
| 601 | \image sql-examples.png | 
|---|
| 602 |  | 
|---|
| 603 | Qt provides extensive database interoperability, with support for products | 
|---|
| 604 | from both open source and proprietary vendors. | 
|---|
| 605 |  | 
|---|
| 606 | SQL support is integrated with Qt's model/view architecture, making it easier | 
|---|
| 607 | to provide GUI integration for your database applications. | 
|---|
| 608 |  | 
|---|
| 609 | \list | 
|---|
| 610 | \o \l{sql/cachedtable}{Cached Table}\raisedaster | 
|---|
| 611 | \o \l{sql/drilldown}{Drill Down}\raisedaster | 
|---|
| 612 | \o \l{sql/querymodel}{Query Model} | 
|---|
| 613 | \o \l{sql/relationaltablemodel}{Relational Table Model} | 
|---|
| 614 | \o \l{sql/tablemodel}{Table Model} | 
|---|
| 615 | \o \l{sql/masterdetail}{Master Detail} | 
|---|
| 616 | \o \l{sql/sqlwidgetmapper}{SQL Widget Mapper}\raisedaster | 
|---|
| 617 | \endlist | 
|---|
| 618 |  | 
|---|
| 619 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 620 | */ | 
|---|
| 621 |  | 
|---|
| 622 |  | 
|---|
| 623 | /*! | 
|---|
| 624 | \page examples-xml.html | 
|---|
| 625 | \ingroup all-examples | 
|---|
| 626 | \title XML Examples | 
|---|
| 627 | \brief Using XML with Qt. | 
|---|
| 628 |  | 
|---|
| 629 | \image xml-examples.png XML | 
|---|
| 630 |  | 
|---|
| 631 | XML parsing and handling is supported through SAX and DOM compliant APIs | 
|---|
| 632 | as well as streaming classes. | 
|---|
| 633 |  | 
|---|
| 634 | \list | 
|---|
| 635 | \o \l{xml/dombookmarks}{DOM Bookmarks} | 
|---|
| 636 | \o \l{xml/saxbookmarks}{SAX Bookmarks} | 
|---|
| 637 | \o \l{xml/streambookmarks}{QXmlStream Bookmarks}\raisedaster | 
|---|
| 638 | \o \l{xml/rsslisting}{RSS-Listing} | 
|---|
| 639 | \o \l{xml/xmlstreamlint}{XML Stream Lint Example}\raisedaster | 
|---|
| 640 | \o \l{xml/htmlinfo}{XML HTML Info} | 
|---|
| 641 | \endlist | 
|---|
| 642 |  | 
|---|
| 643 | The XQuery/XPath and XML Schema engines in the QtXmlPatterns modules | 
|---|
| 644 | provide classes for querying XML files and custom data models. | 
|---|
| 645 |  | 
|---|
| 646 | \list | 
|---|
| 647 | \o \l{xmlpatterns/recipes}{Recipes} | 
|---|
| 648 | \o \l{xmlpatterns/filetree}{File System Example} | 
|---|
| 649 | \o \l{xmlpatterns/qobjectxmlmodel}{QObject XML Model Example} | 
|---|
| 650 | \o \l{xmlpatterns/xquery/globalVariables}{C++ Source Code Analyzer Example} | 
|---|
| 651 | \o \l{xmlpatterns/trafficinfo}{Traffic Info}\raisedaster | 
|---|
| 652 | \o \l{xmlpatterns/schema}{XML Schema Validation}\raisedaster | 
|---|
| 653 | \endlist | 
|---|
| 654 |  | 
|---|
| 655 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 656 | */ | 
|---|
| 657 |  | 
|---|
| 658 | /*! | 
|---|
| 659 | \page examples-designer.html | 
|---|
| 660 | \ingroup all-examples | 
|---|
| 661 | \title Qt Designer Examples | 
|---|
| 662 | \brief Using Qt Designer to build your UI. | 
|---|
| 663 |  | 
|---|
| 664 | \image designer-examples.png QtDesigner | 
|---|
| 665 |  | 
|---|
| 666 | Qt Designer is a capable graphical user interface designer that lets you | 
|---|
| 667 | create and configure forms without writing code. GUIs created with | 
|---|
| 668 | Qt Designer can be compiled into an application or created at run-time. | 
|---|
| 669 |  | 
|---|
| 670 | \list | 
|---|
| 671 | \o \l{designer/calculatorbuilder}{Calculator Builder}\raisedaster | 
|---|
| 672 | \o \l{designer/calculatorform}{Calculator Form}\raisedaster | 
|---|
| 673 | \o \l{designer/customwidgetplugin}{Custom Widget Plugin}\raisedaster | 
|---|
| 674 | \o \l{designer/taskmenuextension}{Task Menu Extension}\raisedaster | 
|---|
| 675 | \o \l{designer/containerextension}{Container Extension}\raisedaster | 
|---|
| 676 | \o \l{designer/worldtimeclockbuilder}{World Time Clock Builder}\raisedaster | 
|---|
| 677 | \o \l{designer/worldtimeclockplugin}{World Time Clock Plugin}\raisedaster | 
|---|
| 678 | \endlist | 
|---|
| 679 | */ | 
|---|
| 680 |  | 
|---|
| 681 | /*! | 
|---|
| 682 | \page examples-uitools.html | 
|---|
| 683 | \ingroup all-examples | 
|---|
| 684 | \title UiTools Examples | 
|---|
| 685 | \brief Using the QtUiTools module. | 
|---|
| 686 |  | 
|---|
| 687 | \image uitools-examples.png UiTools | 
|---|
| 688 |  | 
|---|
| 689 | \list | 
|---|
| 690 | \o \l{uitools/multipleinheritance}{Multiple Inheritance}\raisedaster | 
|---|
| 691 | \o \l{uitools/textfinder}{Text Finder}\raisedaster | 
|---|
| 692 | \endlist | 
|---|
| 693 | */ | 
|---|
| 694 |  | 
|---|
| 695 | /*! | 
|---|
| 696 | \page examples-linguist.html | 
|---|
| 697 | \ingroup all-examples | 
|---|
| 698 | \title Qt Linguist Examples | 
|---|
| 699 | \brief Using Qt Linguist to internationalize your Qt application. | 
|---|
| 700 |  | 
|---|
| 701 | \image linguist-examples.png | 
|---|
| 702 |  | 
|---|
| 703 | Internationalization is a core feature of Qt. These examples show how to | 
|---|
| 704 | access translation and localization facilities at run-time. | 
|---|
| 705 |  | 
|---|
| 706 | \list | 
|---|
| 707 | \o \l{linguist/hellotr}{Hello tr()}\raisedaster | 
|---|
| 708 | \o \l{linguist/arrowpad}{Arrow Pad}\raisedaster | 
|---|
| 709 | \o \l{linguist/trollprint}{Troll Print}\raisedaster | 
|---|
| 710 | \endlist | 
|---|
| 711 | */ | 
|---|
| 712 |  | 
|---|
| 713 | /*! | 
|---|
| 714 | \page examples-script.html | 
|---|
| 715 | \ingroup all-examples | 
|---|
| 716 | \title Qt Script Examples | 
|---|
| 717 | \brief Using the Qt scripting environment. | 
|---|
| 718 |  | 
|---|
| 719 | \image qtscript-examples.png QtScript | 
|---|
| 720 |  | 
|---|
| 721 | Qt is provided with a powerful embedded scripting environment through the QtScript | 
|---|
| 722 | classes. | 
|---|
| 723 |  | 
|---|
| 724 | These examples demonstrate the fundamental aspects of scripting applications | 
|---|
| 725 | with Qt. | 
|---|
| 726 |  | 
|---|
| 727 | \list | 
|---|
| 728 | \o \l{script/calculator}{Calculator}\raisedaster | 
|---|
| 729 | \o \l{script/context2d}{Context2D}\raisedaster | 
|---|
| 730 | \o \l{script/defaultprototypes}{Default Prototypes}\raisedaster | 
|---|
| 731 | \o \l{script/helloscript}{Hello Script}\raisedaster | 
|---|
| 732 | \o \l{script/marshal}{Qt Script Marshalling} | 
|---|
| 733 | \o \l{script/qscript}{Qt Script Interpreter} | 
|---|
| 734 | \o \l{script/qsdbg}{Qt Script Debugging} | 
|---|
| 735 | \o \l{script/qstetrix}{Qt Script Tetrix}\raisedaster | 
|---|
| 736 | \o \l{script/customclass}{Custom Script Class}\raisedaster | 
|---|
| 737 | \endlist | 
|---|
| 738 | */ | 
|---|
| 739 |  | 
|---|
| 740 | /*! | 
|---|
| 741 | \page examples-webkit.html | 
|---|
| 742 | \ingroup all-examples | 
|---|
| 743 | \title WebKit Examples | 
|---|
| 744 | \brief Using WebKit in your Qt application. | 
|---|
| 745 |  | 
|---|
| 746 | \image webkit-examples.png WebKit | 
|---|
| 747 |  | 
|---|
| 748 | Qt provides an integrated Web browser component based on WebKit, the popular | 
|---|
| 749 | open source browser engine. | 
|---|
| 750 |  | 
|---|
| 751 | These examples and demonstrations show a range of different uses for WebKit, | 
|---|
| 752 | from displaying Web pages within a Qt user interface to an implementation of | 
|---|
| 753 | a basic function Web browser. | 
|---|
| 754 |  | 
|---|
| 755 | \table | 
|---|
| 756 | \header \o Example \o Description | 
|---|
| 757 | \row \o \l{webkit/domtraversal}{DOM Traversal}\raisedaster | 
|---|
| 758 | \o Shows how to use QWebElement to inspect the document structure of a Web page. | 
|---|
| 759 | \row \o \l{webkit/fancybrowser}{Fancy Browser} | 
|---|
| 760 | \o A more advanced browser example, showing the use of jQuery to perform effects. | 
|---|
| 761 | \row \o \l{webkit/formextractor}{Form Extractor} | 
|---|
| 762 | \o How to use JavaScript and C++ together to read page content. | 
|---|
| 763 | \row \o \l{webkit/framecapture}{Frame Capture} | 
|---|
| 764 | \o How to use the WebKit browser engine to obtain images of Web pages. | 
|---|
| 765 | \row \o \l{webkit/googlechat}{Google Chat} | 
|---|
| 766 | \o A real-world example that shows how an existing Web-based service can be accessed | 
|---|
| 767 | using QtWebKit. | 
|---|
| 768 | \row \o \l{webkit/imageanalyzer}{Image Analyzer}\raisedaster | 
|---|
| 769 | \o A \l{The QtWebKit Bridge}{QtWebKit bridge} application which contains a | 
|---|
| 770 | web interface and client-side processing. | 
|---|
| 771 | \row \o \l{webkit/previewer}{Previewer}\raisedaster | 
|---|
| 772 | \o Shows how to make a simple Web page previewer by using Qt's text input widgets | 
|---|
| 773 | together with a QWebView widget. | 
|---|
| 774 | \row \o \l{webkit/simpleselector}{Simple Selector}\raisedaster | 
|---|
| 775 | \o A basic demonstration, showing how to use QWebElement to select elements in a | 
|---|
| 776 | Web page. | 
|---|
| 777 | \endtable | 
|---|
| 778 |  | 
|---|
| 779 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 780 | */ | 
|---|
| 781 |  | 
|---|
| 782 | /*! | 
|---|
| 783 | \page examples-helpsystem.html | 
|---|
| 784 | \ingroup all-examples | 
|---|
| 785 | \title Help System Examples | 
|---|
| 786 | \brief Adding interactive help to your Qt application. | 
|---|
| 787 |  | 
|---|
| 788 | \image assistant-examples.png HelpSystem | 
|---|
| 789 |  | 
|---|
| 790 | Support for interactive help is provided by the Qt Assistant application. | 
|---|
| 791 | Developers can take advantages of the facilities it offers to display | 
|---|
| 792 | specially-prepared documentation to users of their applications. | 
|---|
| 793 |  | 
|---|
| 794 | \list | 
|---|
| 795 | \o \l{help/simpletextviewer}{Simple Text Viewer}\raisedaster | 
|---|
| 796 | \o \l{help/remotecontrol}{Remote Control} | 
|---|
| 797 | \o \l{help/contextsensitivehelp}{Context-Sensitive Help} | 
|---|
| 798 | \endlist | 
|---|
| 799 |  | 
|---|
| 800 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 801 | */ | 
|---|
| 802 |  | 
|---|
| 803 | /*! | 
|---|
| 804 | \page examples-statemachine.html | 
|---|
| 805 | \ingroup all-examples | 
|---|
| 806 | \title State Machine Examples | 
|---|
| 807 | \brief Using Qt's finite state machine classes. | 
|---|
| 808 |  | 
|---|
| 809 | \image statemachine-examples.png StateMachine | 
|---|
| 810 |  | 
|---|
| 811 | Qt provides a powerful hierarchical finite state machine through the Qt State | 
|---|
| 812 | Machine classes. | 
|---|
| 813 |  | 
|---|
| 814 | These examples demonstrate the fundamental aspects of implementing | 
|---|
| 815 | Statecharts with Qt. | 
|---|
| 816 |  | 
|---|
| 817 | \list | 
|---|
| 818 | \o \l{statemachine/eventtransitions}{Event Transitions}\raisedaster | 
|---|
| 819 | \o \l{statemachine/factorial}{Factorial States}\raisedaster | 
|---|
| 820 | \o \l{statemachine/pingpong}{Ping Pong States}\raisedaster | 
|---|
| 821 | \o \l{statemachine/rogue}{Rogue}\raisedaster | 
|---|
| 822 | \o \l{statemachine/trafficlight}{Traffic Light}\raisedaster | 
|---|
| 823 | \o \l{statemachine/twowaybutton}{Two-way Button}\raisedaster | 
|---|
| 824 | \endlist | 
|---|
| 825 | */ | 
|---|
| 826 |  | 
|---|
| 827 | /*! | 
|---|
| 828 | \page examples-animation.html | 
|---|
| 829 | \ingroup all-examples | 
|---|
| 830 | \title Animation Framework Examples | 
|---|
| 831 | \brief Doing animations with Qt. | 
|---|
| 832 |  | 
|---|
| 833 | \image animation-examples.png Animation | 
|---|
| 834 |  | 
|---|
| 835 | \list | 
|---|
| 836 | \o \l{animation/animatedtiles}{Animated Tiles} | 
|---|
| 837 | \o \l{animation/appchooser}{Application Chooser} | 
|---|
| 838 | \o \l{animation/easing}{Easing Curves} | 
|---|
| 839 | \o \l{animation/moveblocks}{Move Blocks}\raisedaster | 
|---|
| 840 | \o \l{animation/states}{States} | 
|---|
| 841 | \o \l{animation/stickman}{Stick man}\raisedaster | 
|---|
| 842 | \endlist | 
|---|
| 843 |  | 
|---|
| 844 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 845 | */ | 
|---|
| 846 |  | 
|---|
| 847 | /*! | 
|---|
| 848 | \page examples-touch.html | 
|---|
| 849 | \ingroup all-examples | 
|---|
| 850 | \title Touch Input Examples | 
|---|
| 851 | \brief Using Qt's touch input capability. | 
|---|
| 852 |  | 
|---|
| 853 | Support for touch input makes it possible for developers to create | 
|---|
| 854 | extensible and intuitive user interfaces. | 
|---|
| 855 |  | 
|---|
| 856 | \list | 
|---|
| 857 | \o \l{touch/dials}{Touch Dials} | 
|---|
| 858 | \o \l{touch/fingerpaint}{Finger Paint} | 
|---|
| 859 | \o \l{touch/knobs}{Touch Knobs} | 
|---|
| 860 | \o \l{touch/pinchzoom}{Pinch Zoom} | 
|---|
| 861 | \endlist | 
|---|
| 862 | */ | 
|---|
| 863 |  | 
|---|
| 864 | /*! | 
|---|
| 865 | \page examples-gestures.html | 
|---|
| 866 | \ingroup all-examples | 
|---|
| 867 | \title Gestures Examples | 
|---|
| 868 | \brief Gesture programming examples. | 
|---|
| 869 |  | 
|---|
| 870 | The API of the gesture framework is not yet finalized and | 
|---|
| 871 | still subject to change. | 
|---|
| 872 |  | 
|---|
| 873 | \list | 
|---|
| 874 | \o \l{gestures/imagegestures}{Image Gestures} | 
|---|
| 875 | \endlist | 
|---|
| 876 | */ | 
|---|
| 877 |  | 
|---|
| 878 | /*! | 
|---|
| 879 | \page examples-dbus.html | 
|---|
| 880 | \ingroup all-examples | 
|---|
| 881 | \title D-Bus Examples | 
|---|
| 882 | \brief Using D-Bus from Qt applications. | 
|---|
| 883 |  | 
|---|
| 884 | \list | 
|---|
| 885 | \o \l{dbus/dbus-chat}{Chat} | 
|---|
| 886 | \o \l{dbus/complexpingpong}{Complex Ping Pong} | 
|---|
| 887 | \o \l{dbus/listnames}{List Names} | 
|---|
| 888 | \o \l{dbus/pingpong}{Ping Pong} | 
|---|
| 889 | \o \l{dbus/remotecontrolledcar}{Remote Controlled Car} | 
|---|
| 890 | \endlist | 
|---|
| 891 |  | 
|---|
| 892 | Examples marked with an asterisk (*) are fully documented. | 
|---|
| 893 | */ | 
|---|
| 894 |  | 
|---|
| 895 | /*! | 
|---|
| 896 | \page examples-embeddedlinux.html | 
|---|
| 897 | \ingroup all-examples | 
|---|
| 898 | \title Qt for Embedded Linux Examples | 
|---|
| 899 | \brief Using Qt in Embedded Linux. | 
|---|
| 900 |  | 
|---|
| 901 | \image qt-embedded-examples.png QtEmbedded | 
|---|
| 902 |  | 
|---|
| 903 | These examples show how to take advantage of features specifically designed | 
|---|
| 904 | for use on systems with limited resources, specialized hardware, and small | 
|---|
| 905 | screens. | 
|---|
| 906 |  | 
|---|
| 907 | \list | 
|---|
| 908 | \o \l{qws/svgalib}{Accelerated Graphics Driver}\raisedaster | 
|---|
| 909 | \o \l{qws/dbscreen}{Double Buffered Graphics Driver}\raisedaster | 
|---|
| 910 | \o \l{qws/mousecalibration}{Mouse Calibration}\raisedaster | 
|---|
| 911 | \o \l{qws/simpledecoration}{Simple Decoration}\raisedaster | 
|---|
| 912 | \endlist | 
|---|
| 913 | */ | 
|---|
| 914 |  | 
|---|
| 915 | /*! | 
|---|
| 916 | \page examples-activeqt.html | 
|---|
| 917 | \ingroup all-examples | 
|---|
| 918 | \title ActiveQt Examples | 
|---|
| 919 | \brief Using ActiveX from Qt applications. | 
|---|
| 920 |  | 
|---|
| 921 | \image activeqt-examples.png ActiveQt | 
|---|
| 922 |  | 
|---|
| 923 | \list | 
|---|
| 924 | \o \l{activeqt/comapp}{COM App}\raisedaster | 
|---|
| 925 | \o \l{Dot Net Example (ActiveQt)}{Dot Net}\raisedaster | 
|---|
| 926 | \o \l{activeqt/hierarchy}{Hierarchy}\raisedaster | 
|---|
| 927 | \o \l{activeqt/menus}{Menus}\raisedaster | 
|---|
| 928 | \o \l{activeqt/multiple}{Multiple}\raisedaster | 
|---|
| 929 | \o \l{activeqt/opengl}{OpenGL}\raisedaster | 
|---|
| 930 | \o \l{activeqt/qutlook}{Qutlook}\raisedaster | 
|---|
| 931 | \o \l{activeqt/simple}{Simple}\raisedaster | 
|---|
| 932 | \o \l{activeqt/webbrowser}{Web Browser}\raisedaster | 
|---|
| 933 | \o \l{activeqt/wrapper}{Wrapper}\raisedaster | 
|---|
| 934 | \endlist | 
|---|
| 935 | */ | 
|---|