Changeset 651 for trunk/doc/src/getting-started/examples.qdoc
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/doc/src/getting-started/examples.qdoc
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 75 75 Qt's features. You might want to look at these as well. 76 76 77 \table 78 \row 79 \o{2,1} \l{Widgets Examples}{\bold Widgets} 80 \o{2,1} \l{Dialog Examples}{\bold Dialogs} 81 \row 82 \o \image widget-examples.png 83 \o 77 \section1 \l{Widgets Examples}{Widgets} 78 \beginfloatleft 79 \l{Widgets Examples}{\inlineimage widget-examples.png 80 } 81 82 \endfloat 84 83 Qt comes with a large range of standard widgets that users of modern 85 84 applications have come to expect. You can also develop your own custom … … 90 89 written custom widgets. 91 90 92 \o \image dialog-examples.png Dialogs 93 \o 91 \clearfloat 92 \section1 \l{Dialog Examples}{Dialogs} 93 \beginfloatleft 94 \l{Dialog Examples}{\inlineimage dialog-examples.png 95 } 96 97 \endfloat 94 98 Qt includes standard dialogs for many common operations, such as file 95 99 selection, printing, and color selection. … … 98 102 interactions with users. 99 103 100 \row 101 \o{2,1} \l{Main Window Examples}{\bold{Main Windows}} 102 \o{2,1} \l{Layout Examples}{\bold Layouts} 103 104 \row 105 \o \image mainwindow-examples.png MainWindows 106 \o All the standard features of application main windows are provided by Qt. 104 \clearfloat 105 \section1 \l{Main Window Examples}{Main Windows} 106 \beginfloatleft 107 \l{Main Window Examples}{\inlineimage mainwindow-examples.png 108 } 109 110 \endfloat 111 All the standard features of application main windows are provided by Qt. 107 112 108 113 Main windows can have pull down menus, tool bars, and dock windows. These … … 110 115 also supports keyboard shortcuts and accelerator keys in menu items. 111 116 112 \o \image layout-examples.png Layouts 113 \o 117 \clearfloat 118 \section1 \l{Layout Examples}{Layouts} 119 \beginfloatleft 120 \l{Layout Examples}{\inlineimage layout-examples.png 121 } 122 123 \endfloat 114 124 Qt uses a layout-based approach to widget management. Widgets are arranged in 115 125 the optimal positions in windows based on simple layout rules, leading to a … … 119 129 sizes of child widgets. 120 130 121 \row 122 \o{2,1} \l{Item Views Examples}{\bold{Item Views}} 123 \o{2,1} \l{Graphics View Examples}{\bold{Graphics View}} 124 \row 125 \o \image itemview-examples.png ItemViews 126 \o 131 \clearfloat 132 \section1 \l{Item Views Examples}{Item Views} 133 \beginfloatleft 134 \l{Item Views Examples}{\inlineimage itemview-examples.png 135 } 136 137 \endfloat 127 138 Item views are widgets that typically display data sets. Qt 4's model/view 128 139 framework lets you handle large data sets by separating the underlying data … … 130 141 customized rendering through the use of delegates. 131 142 132 \o \image graphicsview-examples.png GraphicsView 133 \o 143 \clearfloat 144 \section1 \l{Graphics View Examples}{Graphics View} 145 \beginfloatleft 146 \l{Graphics View Examples}{\inlineimage graphicsview-examples.png 147 } 148 149 \endfloat 134 150 Qt is provided with a comprehensive canvas through the GraphicsView 135 151 classes. 136 152 137 \row 138 \o{2,1} \l{Painting Examples}{\bold{Painting}} 139 \o{2,1} \l{Rich Text Examples}{\bold{Rich Text}} 140 \row 141 \o \image painting-examples.png Painting 142 \o 153 \clearfloat 154 \section1 \l{Painting Examples}{Painting} 155 \beginfloatleft 156 \l{Painting Examples}{\inlineimage painting-examples.png 157 } 158 159 \endfloat 143 160 Qt's painting system is able to render vector graphics, images, and outline 144 161 font-based text with sub-pixel accuracy accuracy using anti-aliasing to 145 162 improve rendering quality. 146 163 147 \o \image richtext-examples.png RichText 148 \o 164 \clearfloat 165 \section1 \l{Rich Text Examples}{Rich Text} 166 \beginfloatleft 167 \l{Rich Text Examples}{\inlineimage richtext-examples.png 168 } 169 170 \endfloat 149 171 Qt provides powerful document-oriented rich text engine that supports Unicode 150 172 and right-to-left scripts. Documents can be manipulated using a cursor-based … … 152 174 custom XML format. 153 175 154 \row 155 \o{2,1} \l{Desktop Examples}{\bold Desktop} 156 \o{2,1} \l{Drag and Drop Examples}{\bold{Drag and Drop}} 157 \row 158 \o \image desktop-examples.png 159 \o 176 \clearfloat 177 \section1 \l{Desktop Examples}{Desktop} 178 \beginfloatleft 179 \l{Desktop Examples}{\inlineimage desktop-examples.png 180 } 181 182 \endfloat 160 183 Qt provides features to enable applications to integrate with the user's 161 184 preferred desktop environment. … … 165 188 applications and take advantage of underlying desktop facilities. 166 189 167 \o \image draganddrop-examples.png DragAndDrop 168 \o 190 \clearfloat 191 \section1 \l{Drag and Drop Examples}{Drag and Drop} 192 \beginfloatleft 193 \l{Drag and Drop Examples}{\inlineimage draganddrop-examples.png 194 } 195 196 \endfloat 169 197 Qt supports native drag and drop on all platforms via an extensible 170 198 MIME-based system that enables applications to send data to each other in the … … 173 201 Drag and drop can also be implemented for internal use by applications. 174 202 175 \row 176 \o{2,1} \l{Threading and Concurrent Programming Examples}{\bold{Threading and Concurrent Programming}} 177 \o{2,1} \l{Tools Examples}{\bold{Tools}} 178 \row 179 \o \image thread-examples.png 180 \o 203 \clearfloat 204 \section1 \l{Threading and Concurrent Programming Examples}{Threading and Concurrent Programming} 205 \beginfloatleft 206 \l{Threading and Concurrent Programming Examples}{\inlineimage thread-examples.png 207 } 208 209 \endfloat 181 210 Qt 4 makes it easier than ever to write multithreaded applications. More 182 211 classes have been made usable from non-GUI threads, and the signals and slots … … 186 215 for straightforward concurrent programming. 187 216 188 \o \image tool-examples.png Tools 189 \o 217 \clearfloat 218 \section1 \l{Tools Examples}{Tools} 219 \beginfloatleft 220 \l{Tools Examples}{\inlineimage tool-examples.png 221 } 222 223 \endfloat 190 224 Qt is equipped with a range of capable tool classes, from containers and 191 225 iterators to classes for string handling and manipulation. … … 194 228 loading and managing configuration files. 195 229 196 \row 197 \o{2,1} \l{Network Examples}{\bold{Network}} 198 \o{2,1} \l{Inter-Process Communication Examples}{\bold{Inter-Process Communication}} 199 \row 200 \o \image network-examples.png Network 201 \o 230 \clearfloat 231 \section1 \l{Network Examples}{Network} 232 \beginfloatleft 233 \l{Network Examples}{\inlineimage network-examples.png 234 } 235 236 \endfloat 202 237 Qt is provided with an extensive set of network classes to support both 203 238 client-based and server side network programming. 204 239 205 \o \image ipc-examples.png IPC 206 \o 207 208 \row 209 \o{2,1} \l{OpenGL Examples}{\bold{OpenGL}}\bold{ and }\l{OpenVG Examples}{\bold{OpenVG}}\bold{ Examples} 210 \o{2,1} \l{Multimedia Examples}{\bold{Multimedia Framework}} 211 \row 212 \o \image opengl-examples.png OpenGL 213 \o 240 \clearfloat 241 \section1 \l{Inter-Process Communication Examples}{Inter-Process Communication} 242 \beginfloatleft 243 \l{Inter-Process Communication Examples}{\inlineimage ipc-examples.png 244 } 245 246 \endfloat 247 Simple, lightweight inter-process communication can be performed using shared 248 memory and local sockets. 249 250 \clearfloat 251 \section1 \l{OpenGL Examples}{OpenGL} and \l{OpenVG Examples}{OpenVG} Examples 252 \beginfloatleft 253 \l{OpenGL Examples}{\inlineimage opengl-examples.png 254 } 255 256 \endfloat 214 257 Qt provides support for integration with OpenGL implementations on all 215 258 platforms, giving developers the opportunity to display hardware accelerated … … 219 262 platforms with suitable drivers. 220 263 221 \o \image phonon-examples.png 222 \o 264 \clearfloat 265 \section1 \l{Multimedia Examples}{Multimedia Framework} 266 \beginfloatleft 267 \l{Multimedia Examples}{\inlineimage phonon-examples.png 268 } 269 270 \endfloat 223 271 Qt provides low-level audio support on linux,windows and mac platforms by default and 224 272 an audio plugin API to allow developers to implement there own audio support for … … 227 275 The Phonon Multimedia Framework brings multimedia support to Qt applications. 228 276 229 \row 230 \o{2,1} \l{SQL Examples}{\bold{SQL}} 231 \o{2,1} \l{XML Examples}{\bold{XML}} 232 \row 233 \o \image sql-examples.png SQL 234 \o 277 \clearfloat 278 \section1 \l{SQL Examples}{SQL} 279 \beginfloatleft 280 \l{SQL Examples}{\inlineimage sql-examples.png 281 } 282 283 \endfloat 235 284 Qt provides extensive database interoperability, with support for products 236 285 from both open source and proprietary vendors. … … 239 288 to provide GUI integration for your database applications. 240 289 241 \o \image xml-examples.png XML 242 \o 290 \clearfloat 291 \section1 \l{XML Examples}{XML} 292 \beginfloatleft 293 \l{XML Examples}{\inlineimage xml-examples.png 294 } 295 296 \endfloat 243 297 XML parsing and handling is supported through SAX and DOM compliant APIs 244 298 as well as streaming classes. … … 247 301 provide classes for querying XML files and custom data models. 248 302 249 \row 250 \o{2,1} \l{Qt Designer Examples}{\bold{Qt Designer}} 251 \o{2,1} \l{UiTools Examples}{\bold UiTools} 252 \row 253 \o \image designer-examples.png Designer 254 \o 303 \clearfloat 304 \section1 \l{Qt Designer Examples}{Qt Designer} 305 \beginfloatleft 306 \l{Qt Designer Examples}{\inlineimage designer-examples.png 307 } 308 309 \endfloat 255 310 Qt Designer is a capable graphical user interface designer that lets you 256 311 create and configure forms without writing code. GUIs created with 257 312 Qt Designer can be compiled into an application or created at run-time. 258 313 259 \o \image uitools-examples.png UiTools 260 \o 261 262 \row 263 \o{2,1} \l{Qt Linguist Examples}{\bold{Qt Linguist}} 264 \o{2,1} \l{Qt Script Examples}{\bold{Qt Script}} 265 \row 266 \o \image linguist-examples.png QtLinguist 267 \o 314 \clearfloat 315 \section1 \l{UiTools Examples}{UiTools} 316 \beginfloatleft 317 \l{UiTools Examples}{\inlineimage uitools-examples.png 318 } 319 320 \endfloat 321 User interfaces created with Qt Designer can be loaded and displayed at 322 run-time using the facilities of the QtUiTools module without the need 323 to generate code in advance. 324 325 \clearfloat 326 \section1 \l{Qt Linguist Examples}{Qt Linguist} 327 \beginfloatleft 328 \l{Qt Linguist Examples}{\inlineimage linguist-examples.png 329 } 330 331 \endfloat 268 332 Internationalization is a core feature of Qt. 269 333 270 \o \image qtscript-examples.png 271 \o 334 \clearfloat 335 \section1 \l{Qt Script Examples}{Qt Script} 336 \beginfloatleft 337 \l{Qt Script Examples}{\inlineimage qtscript-examples.png 338 } 339 340 \endfloat 272 341 Qt is provided with a powerful embedded scripting environment through the QtScript 273 342 classes. 274 343 275 \row 276 \o{2,1} \l{WebKit Examples}{\bold WebKit} 277 \o{2,1} \l{Help System Examples}{\bold{Help System}} 278 \row 279 \o \image webkit-examples.png 280 \o 344 \clearfloat 345 \section1 \l{WebKit Examples}{WebKit} 346 \beginfloatleft 347 \l{WebKit Examples}{\inlineimage webkit-examples.png 348 } 349 350 \endfloat 281 351 Qt provides an integrated Web browser component based on WebKit, the popular 282 352 open source browser engine. 283 353 284 \o \image assistant-examples.png HelpSystem 285 \o 354 \clearfloat 355 \section1 \l{Help System Examples}{Help System} 356 \beginfloatleft 357 \l{Help System Examples}{\inlineimage assistant-examples.png 358 } 359 360 \endfloat 286 361 Support for interactive help is provided by the Qt Assistant application. 287 362 Developers can take advantages of the facilities it offers to display 288 363 specially-prepared documentation to users of their applications. 289 364 290 \row 291 \o{2,1} \l{State Machine Examples}{\bold{State Machine}} 292 \o{2,1} \l{Animation Framework Examples}{\bold{Animation Framework}} 293 \row 294 \o \image statemachine-examples.png 295 \o 365 \clearfloat 366 \section1 \l{State Machine Examples}{State Machine} 367 \beginfloatleft 368 \l{State Machine Examples}{\inlineimage statemachine-examples.png 369 } 370 371 \endfloat 296 372 Qt provides a powerful hierarchical finite state machine through the Qt State 297 373 Machine classes. 298 374 299 \o \image animation-examples.png 300 \o 375 \clearfloat 376 \section1 \l{Animation Framework Examples}{Animation Framework} 377 \beginfloatleft 378 \l{Animation Framework Examples}{\inlineimage animation-examples.png 379 } 380 381 \endfloat 301 382 These examples show to to use the \l{The Animation Framework}{animation framework} 302 383 to build highly animated, high-performance GUIs. 303 384 304 \ row305 \ o{2,1} \l{Multi-Touch Examples}{\bold{Multi-Touch Framework}}306 \ o{2,1} \l{Gestures Examples}{\bold{Gestures}}307 308 \row309 \o \image multitouch-examples.png 310 \ o385 \clearfloat 386 \section1 \l{Multi-Touch Examples}{Multi-Touch Framework} 387 \beginfloatleft 388 \l{Multi-Touch Examples}{\inlineimage multitouch-examples.png 389 } 390 391 \endfloat 311 392 Support for multi-touch input makes it possible for developers to create 312 393 extensible and intuitive user interfaces. 313 394 314 \o \image gestures-examples.png 315 \o 395 \clearfloat 396 \section1 \l{Gestures Examples}{Gestures} 397 \beginfloatleft 398 \l{Gestures Examples}{\inlineimage gestures-examples.png 399 } 400 401 \endfloat 316 402 Applications can be written to respond to gestures as a natural input method. 317 403 These examples show how to enable support for standard and custom gestures in 318 404 applications. 319 405 320 \ row321 \ o{2,1} \l{D-Bus Examples}{\bold{D-Bus}}322 \ o{2,1} \l{Qt for Embedded Linux Examples}{\bold{Qt for Embedded Linux}}323 324 \row325 \o \image qt-embedded-examples.png 326 \ o406 \clearfloat 407 \section1 \l{D-Bus Examples}{D-Bus} 408 \beginfloatleft 409 \l{D-Bus Examples}{\inlineimage qt-embedded-examples.png 410 } 411 412 \endfloat 327 413 Systems with limited resources, specialized hardware, and small 328 414 screens require special attention. 329 415 330 \o \image dbus-examples.png D-Bus 331 \o 416 \clearfloat 417 \section1 \l{Qt for Embedded Linux Examples}{Qt for Embedded Linux} 418 \beginfloatleft 419 \l{Qt for Embedded Linux Examples}{\inlineimage dbus-examples.png 420 } 421 422 \endfloat 332 423 D-Bus is an inter-process communication protocol for Unix/Linux systems. 333 424 These examples demonstrate how to write application that communicate with 334 425 each other. 335 426 336 \ row337 \ o{2,1} \l{ActiveQt Examples}{\boldActiveQt}338 \ o{2,1} \l{Qt Quarterly}{\bold{Qt Quarterly}}339 340 \row341 \o \image activeqt-examples.png ActiveQt 342 \ o427 \clearfloat 428 \section1 \l{ActiveQt Examples}{ActiveQt} 429 \beginfloatleft 430 \l{ActiveQt Examples}{\inlineimage activeqt-examples.png 431 } 432 433 \endfloat 343 434 These examples demonstrate how to write ActiveX controls and control servers 344 435 with Qt, and how to use ActiveX controls and COM objects in a Qt application. 345 436 346 \o \image qq-thumbnail.png QtQuarterly 347 \o 437 \clearfloat 438 \section1 \l{Qt Quarterly}{Qt Quarterly} 439 \beginfloatleft 440 \l{Qt Quarterly}{\inlineimage qq-thumbnail.png 441 } 442 443 \endfloat 348 444 One more valuable source for examples and explanations of Qt 349 features is the archive of the \l {Qt Quarterly}. 350 351 \endtable 445 features is the archive of \l{Qt Quarterly}, a newsletter for 446 Qt developers. 447 448 \clearfloat 352 449 */ 353 450 … … 386 483 \o \l{widgets/shapedclock}{Shaped Clock}\raisedaster 387 484 \o \l{widgets/sliders}{Sliders}\raisedaster 485 \o \l{widgets/softkeys}{Soft Keys} 388 486 \o \l{widgets/spinboxes}{Spin Boxes}\raisedaster 389 487 \o \l{widgets/styles}{Styles}\raisedaster … … 392 490 \o \l{widgets/tetrix}{Tetrix}\raisedaster 393 491 \o \l{widgets/tooltips}{Tooltips}\raisedaster 492 \o \l{widgets/validators}{Validators} 394 493 \o \l{widgets/wiggly}{Wiggly}\raisedaster 395 494 \o \l{widgets/windowflags}{Window Flags}\raisedaster … … 547 646 \endlist 548 647 648 These examples show the use of graphics widgets and layouts. 649 650 \list 651 \o \l{graphicsview/anchorlayout}{Anchor Layout} 652 \o \l{graphicsview/flowlayout}{Flow Layout} 653 \o \l{graphicsview/simpleanchorlayout}{Simple Anchor Layout} 654 \o \l{graphicsview/weatheranchorlayout}{Weather Anchor Layout} 655 \endlist 656 549 657 Some examples demonstrate the use of graphics effects with canvas items. 550 658 … … 762 870 \o \l{network/broadcastreceiver}{Broadcast Receiver} 763 871 \o \l{network/broadcastsender}{Broadcast Sender} 872 \o \l{network/download}{Download} 873 \o \l{network/downloadmanager}{Download Manager} 764 874 \o \l{network/network-chat}{Network Chat} 765 875 \o \l{network/fortuneclient}{Fortune Client}\raisedaster … … 1044 1154 \o \l{script/defaultprototypes}{Default Prototypes}\raisedaster 1045 1155 \o \l{script/helloscript}{Hello Script}\raisedaster 1156 \o \l{script/marshal}{Qt Script Marshalling} 1157 \o \l{script/qscript}{Qt Script Interpreter} 1158 \o \l{script/qsdbg}{Qt Script Debugging} 1046 1159 \o \l{script/qstetrix}{Qt Script Tetrix}\raisedaster 1047 1160 \o \l{script/customclass}{Custom Script Class}\raisedaster … … 1074 1187 \row \o \l{webkit/formextractor}{Form Extractor} 1075 1188 \o How to use JavaScript and C++ together to read page content. 1189 \row \o \l{webkit/framecapture}{Frame Capture} 1190 \o How to use the WebKit browser engine to obtain images of Web pages. 1076 1191 \row \o \l{webkit/googlechat}{Google Chat} 1077 1192 \o A real-world example that shows how an existing Web-based service can be accessed
Note:
See TracChangeset
for help on using the changeset viewer.