Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/doc/src/getting-started/examples.qdoc

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    7575    Qt's features. You might want to look at these as well.
    7676
    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
    8483    Qt comes with a large range of standard widgets that users of modern
    8584    applications have come to expect. You can also develop your own custom
     
    9089    written custom widgets.
    9190
    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
    9498    Qt includes standard dialogs for many common operations, such as file
    9599    selection, printing, and color selection.
     
    98102    interactions with users.
    99103
    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.
    107112
    108113    Main windows can have pull down menus, tool bars, and dock windows. These
     
    110115    also supports keyboard shortcuts and accelerator keys in menu items.
    111116
    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
    114124    Qt uses a layout-based approach to widget management. Widgets are arranged in
    115125    the optimal positions in windows based on simple layout rules, leading to a
     
    119129    sizes of child widgets.
    120130
    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
    127138    Item views are widgets that typically display data sets. Qt 4's model/view
    128139    framework lets you handle large data sets by separating the underlying data
     
    130141    customized rendering through the use of delegates.
    131142
    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
    134150    Qt is provided with a comprehensive canvas through the GraphicsView
    135151    classes.
    136152
    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
    143160    Qt's painting system is able to render vector graphics, images, and outline
    144161    font-based text with sub-pixel accuracy accuracy using anti-aliasing to
    145162    improve rendering quality.
    146163
    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
    149171    Qt provides powerful document-oriented rich text engine that supports Unicode
    150172    and right-to-left scripts. Documents can be manipulated using a cursor-based
     
    152174    custom XML format.
    153175
    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
    160183    Qt provides features to enable applications to integrate with the user's
    161184    preferred desktop environment.
     
    165188    applications and take advantage of underlying desktop facilities.
    166189
    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
    169197    Qt supports native drag and drop on all platforms via an extensible
    170198    MIME-based system that enables applications to send data to each other in the
     
    173201    Drag and drop can also be implemented for internal use by applications.
    174202
    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
    181210    Qt 4 makes it easier than ever to write multithreaded applications. More
    182211    classes have been made usable from non-GUI threads, and the signals and slots
     
    186215    for straightforward concurrent programming.
    187216
    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
    190224    Qt is equipped with a range of capable tool classes, from containers and
    191225    iterators to classes for string handling and manipulation.
     
    194228    loading and managing configuration files.
    195229
    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
    202237    Qt is provided with an extensive set of network classes to support both
    203238    client-based and server side network programming.
    204239
    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
    214257    Qt provides support for integration with OpenGL implementations on all
    215258    platforms, giving developers the opportunity to display hardware accelerated
     
    219262    platforms with suitable drivers.
    220263
    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
    223271    Qt provides low-level audio support on linux,windows and mac platforms by default and
    224272    an audio plugin API to allow developers to implement there own audio support for
     
    227275    The Phonon Multimedia Framework brings multimedia support to Qt applications.
    228276
    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
    235284    Qt provides extensive database interoperability, with support for products
    236285    from both open source and proprietary vendors.
     
    239288    to provide GUI integration for your database applications.
    240289
    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
    243297    XML parsing and handling is supported through SAX and DOM compliant APIs
    244298    as well as streaming classes.
     
    247301    provide classes for querying XML files and custom data models.
    248302
    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
    255310    Qt Designer is a capable graphical user interface designer that lets you
    256311    create and configure forms without writing code. GUIs created with
    257312    Qt Designer can be compiled into an application or created at run-time.
    258313
    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
    268332    Internationalization is a core feature of Qt.
    269333
    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
    272341    Qt is provided with a powerful embedded scripting environment through the QtScript
    273342    classes.
    274343
    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
    281351    Qt provides an integrated Web browser component based on WebKit, the popular
    282352    open source browser engine.
    283353
    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
    286361    Support for interactive help is provided by the Qt Assistant application.
    287362    Developers can take advantages of the facilities it offers to display
    288363    specially-prepared documentation to users of their applications.
    289364
    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
    296372    Qt provides a powerful hierarchical finite state machine through the Qt State
    297373    Machine classes.
    298374
    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
    301382    These examples show to to use the \l{The Animation Framework}{animation framework}
    302383    to build highly animated, high-performance GUIs.
    303384
    304     \row
    305     \o{2,1} \l{Multi-Touch Examples}{\bold{Multi-Touch Framework}}
    306     \o{2,1} \l{Gestures Examples}{\bold{Gestures}}
    307 
    308     \row
    309     \o \image multitouch-examples.png
    310     \o
     385    \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
    311392    Support for multi-touch input makes it possible for developers to create
    312393    extensible and intuitive user interfaces.
    313394
    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
    316402    Applications can be written to respond to gestures as a natural input method.
    317403    These examples show how to enable support for standard and custom gestures in
    318404    applications.
    319405
    320     \row
    321     \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     \row
    325     \o \image qt-embedded-examples.png
    326     \o
     406    \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
    327413    Systems with limited resources, specialized hardware, and small
    328414    screens require special attention.
    329415
    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
    332423    D-Bus is an inter-process communication protocol for Unix/Linux systems.
    333424    These examples demonstrate how to write application that communicate with
    334425    each other.
    335426
    336     \row
    337     \o{2,1} \l{ActiveQt Examples}{\bold ActiveQt}
    338     \o{2,1} \l{Qt Quarterly}{\bold{Qt Quarterly}}
    339 
    340     \row
    341     \o \image activeqt-examples.png ActiveQt
    342     \o
     427    \clearfloat
     428    \section1 \l{ActiveQt Examples}{ActiveQt}
     429    \beginfloatleft
     430    \l{ActiveQt Examples}{\inlineimage activeqt-examples.png
     431    }
     432
     433    \endfloat
    343434    These examples demonstrate how to write ActiveX controls and control servers
    344435    with Qt, and how to use ActiveX controls and COM objects in a Qt application.
    345436
    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
    348444    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
    352449*/
    353450
     
    386483    \o \l{widgets/shapedclock}{Shaped Clock}\raisedaster
    387484    \o \l{widgets/sliders}{Sliders}\raisedaster
     485    \o \l{widgets/softkeys}{Soft Keys}
    388486    \o \l{widgets/spinboxes}{Spin Boxes}\raisedaster
    389487    \o \l{widgets/styles}{Styles}\raisedaster
     
    392490    \o \l{widgets/tetrix}{Tetrix}\raisedaster
    393491    \o \l{widgets/tooltips}{Tooltips}\raisedaster
     492    \o \l{widgets/validators}{Validators}
    394493    \o \l{widgets/wiggly}{Wiggly}\raisedaster
    395494    \o \l{widgets/windowflags}{Window Flags}\raisedaster
     
    547646    \endlist
    548647
     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
    549657    Some examples demonstrate the use of graphics effects with canvas items.
    550658
     
    762870    \o  \l{network/broadcastreceiver}{Broadcast Receiver}
    763871    \o  \l{network/broadcastsender}{Broadcast Sender}
     872    \o  \l{network/download}{Download}
     873    \o  \l{network/downloadmanager}{Download Manager}
    764874    \o  \l{network/network-chat}{Network Chat}
    765875    \o  \l{network/fortuneclient}{Fortune Client}\raisedaster
     
    10441154    \o \l{script/defaultprototypes}{Default Prototypes}\raisedaster
    10451155    \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}
    10461159    \o \l{script/qstetrix}{Qt Script Tetrix}\raisedaster
    10471160    \o \l{script/customclass}{Custom Script Class}\raisedaster
     
    10741187    \row \o \l{webkit/formextractor}{Form Extractor}
    10751188    \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.
    10761191    \row \o \l{webkit/googlechat}{Google Chat}
    10771192    \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.