summaryrefslogtreecommitdiffstats
path: root/doc/src/getting-started
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-09-14 11:19:33 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-09-14 11:20:13 (GMT)
commit7bd5a850ddb247f36fb46f25eb239a126388aff9 (patch)
tree668422f65895769f57088d34bf65cfe58ceb844f /doc/src/getting-started
parentf44fe888ee82b9e04879fb353d8f5f29fb4d5229 (diff)
downloadQt-7bd5a850ddb247f36fb46f25eb239a126388aff9.zip
Qt-7bd5a850ddb247f36fb46f25eb239a126388aff9.tar.gz
Qt-7bd5a850ddb247f36fb46f25eb239a126388aff9.tar.bz2
Doc: Ongoing improvements.
Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/getting-started')
-rw-r--r--doc/src/getting-started/examples.qdoc153
1 files changed, 82 insertions, 71 deletions
diff --git a/doc/src/getting-started/examples.qdoc b/doc/src/getting-started/examples.qdoc
index 0795c37..81a8363 100644
--- a/doc/src/getting-started/examples.qdoc
+++ b/doc/src/getting-started/examples.qdoc
@@ -79,8 +79,8 @@
\o{2,1} \l{Widgets Examples}{\bold Widgets}
\o{2,1} \l{Dialog Examples}{\bold Dialogs}
\row
- \i \image widget-examples.png
- \i
+ \o \image widget-examples.png
+ \o
Qt comes with a large range of standard widgets that users of modern
applications have come to expect. You can also develop your own custom
widgets and controls, and use them alongside standard widgets.
@@ -89,28 +89,28 @@
be used to change the appearance of standard widgets and appropriately
written custom widgets.
- \i \image dialog-examples.png Dialogs
- \i
+ \o \image dialog-examples.png Dialogs
+ \o
Qt includes standard dialogs for many common operations, such as file
selection, printing, and color selection.
Custom dialogs can also be created for specialized modal or modeless
interactions with users.
- \row
- \o{2,1} \l{Main Window Examples}{\bold{Main Windows}}
- \o{2,1} \l{Layout Examples}{\bold Layouts}
+ \row
+ \o{2,1} \l{Main Window Examples}{\bold{Main Windows}}
+ \o{2,1} \l{Layout Examples}{\bold Layouts}
- \row
- \i \image mainwindow-examples.png MainWindows
- \i All the standard features of application main windows are provided by Qt.
+ \row
+ \o \image mainwindow-examples.png MainWindows
+ \o All the standard features of application main windows are provided by Qt.
Main windows can have pull down menus, tool bars, and dock windows. These
separate forms of user input are unified in an integrated action system that
also supports keyboard shortcuts and accelerator keys in menu items.
- \i \image layout-examples.png Layouts
- \i
+ \o \image layout-examples.png Layouts
+ \o
Qt uses a layout-based approach to widget management. Widgets are arranged in
the optimal positions in windows based on simple layout rules, leading to a
consistent look and feel.
@@ -118,10 +118,10 @@
Custom layouts can be used to provide more control over the positions and
sizes of child widgets.
- \row
- \o{2,1} \l{Item Views Examples}{\bold{Item Views}}
- \o{2,1} \l{Graphics View Examples}{\bold{Graphics View}}
- \row
+ \row
+ \o{2,1} \l{Item Views Examples}{\bold{Item Views}}
+ \o{2,1} \l{Graphics View Examples}{\bold{Graphics View}}
+ \row
\o \image itemview-examples.png ItemViews
\o
Item views are widgets that typically display data sets. Qt 4's model/view
@@ -129,21 +129,21 @@
from the way it is represented to the user, and provides support for
customized rendering through the use of delegates.
- \o \image graphicsview-examples.png GraphicsView
- \o
+ \o \image graphicsview-examples.png GraphicsView
+ \o
Qt is provided with a comprehensive canvas through the GraphicsView
classes.
- \row
- \o{2,1} \l{Painting Examples}{\bold{Painting}}
- \o{2,1} \l{Rich Text Examples}{\bold{Rich Text}}
- \row
- \o \image painting-examples.png Painting
- \o
- Qt's painting system is able to render vector graphics, images, and outline
+ \row
+ \o{2,1} \l{Painting Examples}{\bold{Painting}}
+ \o{2,1} \l{Rich Text Examples}{\bold{Rich Text}}
+ \row
+ \o \image painting-examples.png Painting
+ \o
+ Qt's painting system is able to render vector graphics, images, and outline
font-based text with sub-pixel accuracy accuracy using anti-aliasing to
improve rendering quality.
-
+
\o \image richtext-examples.png RichText
\o
Qt provides powerful document-oriented rich text engine that supports Unicode
@@ -151,10 +151,10 @@
API, and their contents can be imported and exported as both HTML and in a
custom XML format.
- \row
- \o{2,1} \l{Desktop Examples}{\bold Desktop}
- \o{2,1} \l{Drag and Drop Examples}{\bold{Drag and Drop}}
- \row
+ \row
+ \o{2,1} \l{Desktop Examples}{\bold Desktop}
+ \o{2,1} \l{Drag and Drop Examples}{\bold{Drag and Drop}}
+ \row
\o \image desktop-examples.png
\o
Qt provides features to enable applications to integrate with the user's
@@ -172,9 +172,9 @@
Drag and drop can also be implemented for internal use by applications.
- \row
- \o{2,1} \l{Threading and Concurrent Programming Examples}{\bold{Threading and Concurrent Programming}}
- \o{2,1} \l{Tools Examples}{\bold{Tools}}
+ \row
+ \o{2,1} \l{Threading and Concurrent Programming Examples}{\bold{Threading and Concurrent Programming}}
+ \o{2,1} \l{Tools Examples}{\bold{Tools}}
\row
\o \image thread-examples.png
\o
@@ -185,7 +185,7 @@
The QtConcurrent namespace includes a collection of classes and functions
for straightforward concurrent programming.
- \o \image tool-examples.png Tools
+ \o \image tool-examples.png Tools
\o
Qt is equipped with a range of capable tool classes, from containers and
iterators to classes for string handling and manipulation.
@@ -193,21 +193,21 @@
Other classes provide application infrastructure support, handling plugin
loading and managing configuration files.
- \row
- \o{2,1} \l{Network Examples}{\bold{Network}}
- \o{2,1} \l{Inter-Process Communication Examples}{\bold{Inter-Process Communication}}
+ \row
+ \o{2,1} \l{Network Examples}{\bold{Network}}
+ \o{2,1} \l{Inter-Process Communication Examples}{\bold{Inter-Process Communication}}
\row
\o \image network-examples.png Network
\o
Qt is provided with an extensive set of network classes to support both
client-based and server side network programming.
-
+
\o \image ipc-examples.png IPC
\o
- \row
- \o{2,1} \l{OpenGL Examples}{\bold OpenGL}
- \o{2,1} \l{Multimedia Examples}{\bold{Multimedia Framework}}
+ \row
+ \o{2,1} \l{OpenGL Examples}{\bold OpenGL}
+ \o{2,1} \l{Multimedia Examples}{\bold{Multimedia Framework}}
\row
\o \image opengl-examples.png OpenGL
\o
@@ -223,9 +223,9 @@
The Phonon Multimedia Framework brings multimedia support to Qt applications.
- \row
- \o{2,1} \l{SQL Examples}{\bold{SQL}}
- \o{2,1} \l{XML Examples}{\bold{XML}}
+ \row
+ \o{2,1} \l{SQL Examples}{\bold{SQL}}
+ \o{2,1} \l{XML Examples}{\bold{XML}}
\row
\o \image sql-examples.png SQL
\o
@@ -234,7 +234,7 @@
SQL support is integrated with Qt's model/view architecture, making it easier
to provide GUI integration for your database applications.
-
+
\o \image xml-examples.png XML
\o
XML parsing and handling is supported through SAX and DOM compliant APIs
@@ -243,9 +243,9 @@
The XQuery/XPath and XML Schema engines in the QtXmlPatterns modules
provide classes for querying XML files and custom data models.
- \row
- \o{2,1} \l{Qt Designer Examples}{\bold{Qt Designer}}
- \o{2,1} \l{UiTools Examples}{\bold UiTools}
+ \row
+ \o{2,1} \l{Qt Designer Examples}{\bold{Qt Designer}}
+ \o{2,1} \l{UiTools Examples}{\bold UiTools}
\row
\o \image designer-examples.png Designer
\o
@@ -256,9 +256,9 @@
\o \image uitools-examples.png UiTools
\o
- \row
- \o{2,1} \l{Qt Linguist Examples}{\bold{Qt Linguist}}
- \o{2,1} \l{Qt Script Examples}{\bold{Qt Script}}
+ \row
+ \o{2,1} \l{Qt Linguist Examples}{\bold{Qt Linguist}}
+ \o{2,1} \l{Qt Script Examples}{\bold{Qt Script}}
\row
\o \image linguist-examples.png QtLinguist
\o
@@ -269,10 +269,10 @@
Qt is provided with a powerful embedded scripting environment through the QtScript
classes.
- \row
- \o{2,1} \l{WebKit Examples}{\bold WebKit}
- \o{2,1} \l{Help System Examples}{\bold{Help System}}
- \row
+ \row
+ \o{2,1} \l{WebKit Examples}{\bold WebKit}
+ \o{2,1} \l{Help System Examples}{\bold{Help System}}
+ \row
\o \image webkit-examples.png
\o
Qt provides an integrated Web browser component based on WebKit, the popular
@@ -284,37 +284,48 @@
Developers can take advantages of the facilities it offers to display
specially-prepared documentation to users of their applications.
- \row
- \o{2,1} \l{State Machine Examples}{\bold{State Machine}}
- \o{2,1} \l{Animation Framework Examples}{\bold{Animation Framework}}
+ \row
+ \o{2,1} \l{State Machine Examples}{\bold{State Machine}}
+ \o{2,1} \l{Animation Framework Examples}{\bold{Animation Framework}}
\row
\o \image statemachine-examples.png
\o
Qt provides a powerful hierarchical finite state machine through the Qt State
Machine classes.
-
+
\o \image animation-examples.png
\o
- \row
- \o{2,1} \l{Qt for Embedded Linux Examples}{\bold{Qt for Embedded Linux}}
- \o{2,1} \l{ActiveQt Examples}{\bold ActiveQt}
+ \row
+ \o{2,1} \l{Gestures Examples}{\bold{Gestures}}
+ \o{2,1} \l{D-Bus Examples}{\bold{D-Bus}}
+ \row
+ \o \image gestures-examples.png
+ \o
+ Applications can be written to respond to gestures as a natural input method.
+ These examples show how to enable support for standard and custom gestures in
+ applications.
+
+ \o \image dbus-examples.png D-Bus
+ \o
+ D-Bus is an inter-process communication protocol for Unix/Linux systems.
+ These examples demonstrate how to write application that communicate with
+ each other.
+ \row
+ \o{2,1} \l{Qt for Embedded Linux Examples}{\bold{Qt for Embedded Linux}}
+ \o{2,1} \l{ActiveQt Examples}{\bold ActiveQt}
\row
\o \image qt-embedded-examples.png
\o
Systems with limited resources, specialized hardware, and small
screens require special attention.
-
+
\o \image activeqt-examples.png ActiveQt
\o
- \row
- \o{2,1} \l{D-Bus Examples}{\bold{D-Bus}}
- \o{2,1} \l{Qt Quarterly}{\bold{Qt Quarterly}}
\row
- \o \image dbus-examples.png D-Bus
- \o
-
+ \o{2,1} \l{Qt Quarterly}{\bold{Qt Quarterly}}
+ \row
\o \image qq-thumbnail.png QtQuarterly
\o
One more valuable source for examples and explanations of Qt
@@ -322,12 +333,12 @@
\endtable
-\omit
+ \omit
In the list below, examples marked with an asterisk (*) are fully
documented. Eventually, all the examples will be fully documented,
but sometimes we include an example before we have time to write
about it.
-\endomit
+ \endomit
*/
/*!