summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/doc.pri8
-rw-r--r--doc/src/declarative/animation.qdoc2
-rw-r--r--doc/src/declarative/examples.qdoc10
-rw-r--r--doc/src/examples/qml-calculator.qdoc3
-rw-r--r--doc/src/examples/qml-examples.qdoc254
-rw-r--r--doc/src/examples/qml-folderlistmodel.qdoc2
-rw-r--r--doc/src/examples/qml-minehunt.qdoc1
-rw-r--r--doc/src/examples/qml-photoviewer.qdoc3
-rw-r--r--doc/src/examples/qml-rssnews.qdoc3
-rw-r--r--doc/src/examples/qml-samegame.qdoc3
-rw-r--r--doc/src/examples/qml-snake.qdoc1
-rw-r--r--doc/src/examples/qml-twitter.qdoc7
-rw-r--r--doc/src/examples/qml-webbrowser.qdoc3
13 files changed, 149 insertions, 151 deletions
diff --git a/doc/doc.pri b/doc/doc.pri
index 2480b07f87..c51a621be2 100644
--- a/doc/doc.pri
+++ b/doc/doc.pri
@@ -30,10 +30,10 @@ $$unixstyle {
COPYWEBKITGUIDE = $$replace(COPYWEBKITGUIDE, "/", "\\")
COPYWEBKITTARGA = $$replace(COPYWEBKITTARGA, "/", "\\")
COPYWEBKITTARGB = $$replace(COPYWEBKITTARGB, "/", "\\")
- EXAMPLESMANIFEST = $$replace(EXAMPLESMANIFEST, "/", "\\"))
- DEMOSMANIFEST = $$replace(DEMOSMANIFEST, "/", "\\"))
- EXAMPLESMANIFESTTARGET = $$replace(EXAMPLESMANIFESTTARGET, "/", "\\"))
- DEMOSMANIFESTTARGET = $$replace(DEMOSMANIFESTTARGET, "/", "\\"))
+ EXAMPLESMANIFEST = $$replace(EXAMPLESMANIFEST, "/", "\\")
+ DEMOSMANIFEST = $$replace(DEMOSMANIFEST, "/", "\\")
+ EXAMPLESMANIFESTTARGET = $$replace(EXAMPLESMANIFESTTARGET, "/", "\\")
+ DEMOSMANIFESTTARGET = $$replace(DEMOSMANIFESTTARGET, "/", "\\")
}
ADP_DOCS_QDOCCONF_FILE = qt-build-docs-online.qdocconf
QT_DOCUMENTATION = ($$QDOC qt-api-only.qdocconf assistant.qdocconf designer.qdocconf \
diff --git a/doc/src/declarative/animation.qdoc b/doc/src/declarative/animation.qdoc
index 4ec1503bcf..2176db16b1 100644
--- a/doc/src/declarative/animation.qdoc
+++ b/doc/src/declarative/animation.qdoc
@@ -141,7 +141,7 @@ There are several methods of assigning behavior animations to properties. The
\c{Behavior on <property>} declaration is a convenient way of assigning a
behavior animation onto a property.
-See the \l {declarative/animation/behaviors}{Behaviors example} for a
+See the \l {declarative/animation/behaviors/behavior-example}{Behaviors example} for a
demonstration of behavioral animations.
\section1 Playing Animations in Parallel or in Sequence
diff --git a/doc/src/declarative/examples.qdoc b/doc/src/declarative/examples.qdoc
index 1003b2269b..303511ec7f 100644
--- a/doc/src/declarative/examples.qdoc
+++ b/doc/src/declarative/examples.qdoc
@@ -116,10 +116,12 @@ The examples can be found in Qt's \c examples/declarative directory.
\section2 Animation
\list
-\o \l{declarative/animation/basics}{Basics}
-\o \l{declarative/animation/behaviors}{Behaviors}
+\o \l{declarative/animation/basics/color-animation}{Color Animation}
+\o \l{declarative/animation/behaviors/behavior-example}{Behaviors}
\o \l{declarative/animation/easing}{Easing}
+\o \l{declarative/animation/basics/property-animation}{Property Animation}
\o \l{declarative/animation/states}{States}
+\o \l{declarative/animation/behaviors/wigglytext}{Wiggly Text}
\endlist
\section2 Image Elements
@@ -173,7 +175,7 @@ The examples can be found in Qt's \c examples/declarative directory.
\section2 Models and Views
\list
\o \l{declarative/modelviews/gridview}{GridView}
-\o \l{declarative/modelviews/listview}{ListView}
+\o \l{Models and Views: ListView Examples}{ListView}
\o \l{declarative/modelviews/pathview}{PathView}
\o \l{declarative/modelviews/package}{Package}
\o \l{declarative/modelviews/parallax}{Parallax}
@@ -183,7 +185,7 @@ The examples can be found in Qt's \c examples/declarative directory.
\o \l{declarative/modelviews/objectlistmodel}{Object ListModel}
\o \l{declarative/modelviews/abstractitemmodel}{AbstractItemModel}
-\o \l{declarative/modelviews/webview}{WebView}
+\o \l{Models and Views: WebView Examples}{WebView}
\endlist
\section2 XML
diff --git a/doc/src/examples/qml-calculator.qdoc b/doc/src/examples/qml-calculator.qdoc
index edc87e29b7..96efe26652 100644
--- a/doc/src/examples/qml-calculator.qdoc
+++ b/doc/src/examples/qml-calculator.qdoc
@@ -28,10 +28,9 @@
/*!
\title Calculator
\example demos/declarative/calculator
+ \depends helper/qmlapplicationviewer
\brief The Qt Quick Calculator demo shows how to write a simple calculator application in QML and JavaScript.
- \depends helper/qmlapplicationviewer
-
\image qml-calculator-example.png
*/
diff --git a/doc/src/examples/qml-examples.qdoc b/doc/src/examples/qml-examples.qdoc
index 52fa2e4b77..f8c59f3c4f 100644
--- a/doc/src/examples/qml-examples.qdoc
+++ b/doc/src/examples/qml-examples.qdoc
@@ -27,27 +27,26 @@
/*!
\title Animation: Basics Example
- \example declarative/animation/basics
-
- \brief This example shows how to create and combine \l{QML Animation}{animations} in QML.
-
- \depends helper/qmlapplicationviewer
+ \example declarative/animation/basics/color-animation
+ \depends helper/qmlapplicationviewer
+
+ \brief This example shows how to create and combine \l{QML Animation}{animations} in QML.
\table
\row
\o \image qml-coloranim-example.png
\row
\o color-animation.qml
- \endtable
+ \endtable
+*/
/*!
\title Animation: Basics Property Animation Example
\example declarative/animation/basics/property-animation
+ \depends helper/qmlapplicationviewer
\brief This example shows how to create and combine \l{QML Animation}{animations} in QML.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-propertyanim-example.png
@@ -57,24 +56,31 @@
*/
/*!
- \title Animation: Behavior Examples
- \example declarative/animation/behaviors
+ \title Animation: Behavior Example
+ \example declarative/animation/behaviors/behavior-example
+ \depends helper/qmlapplicationviewer
+
+ \brief This example shows how to use QML behaviors.
- \brief This example shows how to use QML behaviors.
+ \image qml-behaviors-example.png
+*/
+/*!
+ \title Animation: Wiggly Text Example
+ \example declarative/animation/behaviors/wigglytext
\depends helper/qmlapplicationviewer
- \image qml-behaviors-example.png
+ \brief This example shows how to animate text.
+
*/
/*!
\title Animation: Easing Example
\example declarative/animation/easing
+ \depends helper/qmlapplicationviewer
\brief This example shows the different easing modes available for \l{QML Animation}{animations}.
- \depends helper/qmlapplicationviewer
-
\image qml-easing-example.png
*/
@@ -82,13 +88,16 @@
\title Animation: States Example
\example declarative/animation/states
- \brief These examples show how to use \l{States}{states} and \l{Transitions}{transitions}.
+ \brief These examples show how to use states and transitions.
\depends helper/qmlapplicationviewer
The \c states.qml example shows how an item can change between states, and \c transitions.qml
shows how these state changes can be animated.
+ \note Due to deployment configurations transitions.qml is opened by default when running this example.
+ states.qml can be opened by editing the main.cpp file.
+
\table
\row
\o \image qml-states-example.png
@@ -118,15 +127,15 @@
\row
\o borderimage.qml
\endtable
+*/
/*!
\title Image Elements: Shadows Image Example
\example declarative/imageelements/shadows
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the BorderImage element.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-borderimage-shadows-example.png
@@ -138,10 +147,10 @@
/*!
\title Image Elements: Image Example
\example declarative/imageelements/image
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the \l Image element and its \l{Image::fillMode}{fillModes}.
- \depends helper/qmlapplicationviewer
\image qml-image-example.png
*/
@@ -261,11 +270,10 @@
\title Internationalization Example
\example declarative/i18n
\ingroup internationalization
+ \depends helper/qmlapplicationviewer
\brief This example shows how to enable text translation in QML.
- \depends helper/qmlapplicationviewer
-
\image qml-i18n-example.png
\section1 Introduction
@@ -303,6 +311,7 @@
/*!
\title Right-to-left User Interfaces: Text Alignment Example
\example declarative/righttoleft/textalignment
+ \depends helper/qmlapplicationviewer
\brief This example shows how the horizontal alignment of \l Text,
\l TextInput and \l TextEdit is affected by the reading direction
@@ -312,14 +321,13 @@
shown at the bottom of the example to toggle between different
horizontal alignment options.
- \depends helper/qmlapplicationviewer
-
\sa {QML Right-to-left User Interfaces}
*/
/*!
\title Right-to-left User Interfaces: Layout Direction Example
\example declarative/righttoleft/layoutdirection
+ \depends helper/qmlapplicationviewer
\ brief This example shows how to control the horizontal layout direction of
\l Row, \l Grid and \l Flow positioners, and \l ListView and \l GridView
@@ -328,8 +336,6 @@
Click on the gray buttons shown at the bottom of the example
to toggle the layout direction of the shown elements.
- \depends helper/qmlapplicationviewer
-
\image qml-righttoleft-layoutdirection-example.png
\sa {QML Right-to-left User Interfaces}
@@ -339,6 +345,7 @@
/*!
\title Right-to-left User Interfaces: Layout Mirroring Example
\example declarative/righttoleft/layoutmirroring
+ \depends helper/qmlapplicationviewer
\brief This example shows how to mirror the application layouts
using \l LayoutMirroring attached property.
@@ -346,8 +353,6 @@
Click on the grey button shown at the bottom of the example to
enable or disable the layout mirroring.
- \depends helper/qmlapplicationviewer
-
\image qml-righttoleft-layoutmirroring-example.png
\sa {QML Right-to-left User Interfaces}
@@ -356,121 +361,132 @@
/*!
\title Positioners Example
\example declarative/positioners
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use positioner elements such as \l Row, \l Column,
\l Grid and \l Flow.
- \depends helper/qmlapplicationviewer
-
\image qml-positioners-example.png
*/
/*!
\title Key Interaction: Focus Example
\example declarative/keyinteraction/focus
+ \depends helper/qmlapplicationviewer
\brief This example shows how to handle keyboard input and focus in QML.
- \depends helper/qmlapplicationviewer
-
\image qml-focus-example.png
*/
/*!
\title Models and Views: AbstractItemModel Example
\example declarative/modelviews/abstractitemmodel
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use a QAbstractItemModel subclass as a model in QML.
- \depends helper/qmlapplicationviewer
-
\image qml-abstractitemmodel-example.png
*/
/*!
\title Models and Views: GridView Example
\example declarative/modelviews/gridview
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the GridView element.
- \depends helper/qmlapplicationviewer
-
\image qml-gridview-example.png
*/
/*!
- \title Models and Views: ListView Example
- \example declarative/modelviews/listview
+ \title Models and Views: ListView Examples
+ \page qml-listview-examples.html
+
+ \list
+ \o \l {Models and Views: Dynamic List ListView Example}
+ \o \l {Models and Views: Expanding Delegate ListView Example}
+ \o \l {Models and Views: Highlight ListView Example}
+ \o \l {Models and Views: Highlight Ranges ListView Example}
+ \o \l {Models and Views: Sections ListView Example}
+ \endlist
+
+*/
+
+/*!
+ \title Models and Views: Dynamic List ListView Example
+ \example declarative/modelviews/listview/dynamiclist
+ \depends helper/qmlapplicationviewer
\brief This example shows how items can be dynamically added to
and removed from a ListModel, and how these list
modifications can be animated.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-listview-dynamiclist-example.png
\row
\o dynamiclist.qml
\endtable
+*/
/*!
\title Models and Views: Expanding Delegate ListView Example
\example declarative/modelviews/listview/expandingdelegates
+ \depends helper/qmlapplicationviewer
\brief This example shows how to create a dynamic delegate, which
expands when selected.
- \depends helper/qmlapplicationviewer
-
-
\table
\row
\o \image qml-listview-expandingdelegates-example.png
\row
\o expandingdelegates.qml
\endtable
+*/
/*!
\title Models and Views: Highlight ListView Example
\example declarative/modelviews/listview/highlight
+ \depends helper/qmlapplicationviewer
+
\brief This example shows how to highlight one item
inside a ListView element.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-listview-highlight-example.png
\row
\o highlight.qml
\endtable
+*/
/*!
\title Models and Views: Highlight Ranges ListView Example
\example declarative/modelviews/listview/highlightranges
+ \depends helper/qmlapplicationviewer
+
\brief This example shows how to highlight ranges within a
ListView element.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-listview-highlightranges-example.png
\row
\o highlightranges.qml
\endtable
+*/
/*!
\title Models and Views: Sections ListView Example
\example declarative/modelviews/listview/sections
+ \depends helper/qmlapplicationviewer
- \brief This example shows how to use the ListView element.
- \depends helper/qmlapplicationviewer
+ \brief This example shows how to use the ListView element.
\table
\row
@@ -483,137 +499,146 @@
/*!
\title Models and Views: PathView Example
\example declarative/modelviews/pathview
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the PathView element.
- \depends helper/qmlapplicationviewer
-
\image qml-pathview-example.png
*/
/*!
\title Models and Views: Object ListModel Example
\example declarative/modelviews/objectlistmodel
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use a QList<QObject*> as a model in QML.
- \depends helper/qmlapplicationviewer
-
\image qml-objectlistmodel-example.png
*/
/*!
\title Models and Views: Package Example
\example declarative/modelviews/package
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the \l Package element.
- \depends helper/qmlapplicationviewer
-
\image qml-package-example.png
*/
/*!
\title Models and Views: Parallax Example
\example declarative/modelviews/parallax
+ \depends helper/qmlapplicationviewer
\brief This example shows how to combine and switch between views.
- \depends helper/qmlapplicationviewer
-
\image qml-parallax-example.png
*/
/*!
\title Models and Views: String ListModel Example
\example declarative/modelviews/stringlistmodel
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use a QStringList as a model in QML.
- \depends helper/qmlapplicationviewer
-
\image qml-stringlistmodel-example.png
*/
/*!
\title Models and Views: VisualItemModel Example
\example declarative/modelviews/visualitemmodel
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the VisualItemModel element.
- \depends helper/qmlapplicationviewer
-
\image qml-visualitemmodel-example.png
*/
/*!
- \title Models and Views: WebView Example
- \example declarative/modelviews/webview
-
+ \title Models and Views: WebView Examples
+ \page qml-webview-examples.html
+
\brief These examples show how to use the WebView element.
+
+ \list
+ \o \l {Models and Views: Alert WebView Example}
+ \o \l {Models and Views: Autosize WebView Example}
+ \o \l {Models and Views: GoogleMaps WebView Example}
+ \o \l {Models and Views: Inline HTML WebView Example}
+ \o \l {Models and Views: New Windows WebView Example}
+ \endlist
+
+*/
+/*!
+ \title Models and Views: Alert WebView Example
+ \example declarative/modelviews/webview/alerts
\depends helper/qmlapplicationviewer
+ \brief This example shows how to create an alert in the WebView element.
+
\table
\row
\o \image qml-webview-alert-example.png
\row
\o alert.qml
\endtable
+*/
/*!
\title Models and Views: Autosize WebView Example
\example declarative/modelviews/webview/autosize
-
- \brief These examples show how to use the WebView element.
-
\depends helper/qmlapplicationviewer
+ \brief This example show how to use autosizing in the WebView element.
+
\table
\row
\o \image qml-webview-autosize-example.png
\row
\o autosize.qml
\endtable
+*/
/*!
\title Models and Views: GoogleMaps WebView Example
\example declarative/modelviews/webview/googlemaps
-
- \brief These examples show how to use the WebView element.
-
\depends helper/qmlapplicationviewer
+ \brief This example shows how to use a web service API and the WebView element.
+
\table
\row
\o \image qml-webview-googlemaps-example.png
\row
\o googlemaps.qml
\endtable
+*/
/*!
\title Models and Views: Inline HTML WebView Example
\example declarative/modelviews/webview/inlinehtml
-
- \brief These examples show how to use the WebView element.
-
\depends helper/qmlapplicationviewer
+ \brief This example shows how to use inline HTML with the WebView element.
+
\table
\row
\o \image qml-webview-inlinehtml-example.png
\row
\o inlinehtml.qml
\endtable
+*/
/*!
\title Models and Views: New Windows WebView Example
\example declarative/modelviews/webview/newwindows
-
- \brief These examples show how to use the WebView element.
-
\depends helper/qmlapplicationviewer
+ \brief These examples show how to create new windows in the WebView element.
+
\table
\row
\o \image qml-webview-newwindows-example.png
@@ -622,78 +647,74 @@
\endtable
*/
-
/*!
\title Screen Orientation
\example declarative/screenorientation
+ \depends helper/qmlapplicationviewer
\brief This example shows how to implement screen orientation support for your application.
-
- \depends helper/qmlapplicationviewer
*/
/*!
\title SQL Local Storage Example
\example declarative/sqllocalstorage
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the SQL Local Storage API in QML.
-
- \depends helper/qmlapplicationviewer
*/
/*!
\title Text: Fonts Example
\example declarative/text/fonts
+ \depends helper/qmlapplicationviewer
\brief These examples show how to discover available fonts from QML.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-fonts-availableFonts-example.png
\row
\o availableFonts.qml
\endtable
+*/
/*!
\title Text: Banner Fonts Example
\example declarative/text/fonts/banner
+ \depends helper/qmlapplicationviewer
\brief These example shows how to manipulate text in various ways.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-fonts-banner-example.png
\row
\o banner.qml
\endtable
+*/
/*!
\title Text: Fonts Example
\example declarative/text/fonts/fonts
+ \depends helper/qmlapplicationviewer
\brief These examples shows how to display a text with multiple fonts.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-fonts-fonts-example.png
\row
\o fonts.qml
\endtable
+*/
/*!
\title Text: Hello Fonts Example
\example declarative/text/fonts/hello
+ \depends helper/qmlapplicationviewer
\brief This example shows how to manipulate text in various ways.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-fonts-hello-example.png
@@ -705,41 +726,37 @@
/*!
\title Text: Text Selection Example
\example declarative/text/textselection
+ \depends helper/qmlapplicationviewer
\brief This example shows how text selection, copy and paste operations
can be implemented on top of the TextEdit element.
- \depends helper/qmlapplicationviewer
-
\image qml-textselection-example.png
*/
/*!
\title Threading: Threaded ListModel Example
\example declarative/threading/threadedlistmodel
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use a ListModel from multiple threads using
WorkerScript.
-
- \depends helper/qmlapplicationviewer
*/
/*!
\title Threading: WorkerScript Example
\example declarative/threading/workerscript
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the WorkerScript element for threading in QML.
-
- \depends helper/qmlapplicationviewer
*/
/*!
\title Toys: Clocks Example
\example declarative/toys/clocks
+ \depends helper/qmlapplicationviewer
\brief This example displays a set of clocks with different times for different cities.
-
- \depends helper/qmlapplicationviewer
Each clock is created by combining \l Image elements with \l Rotation transforms
and \l SpringAnimation behaviors.
@@ -750,83 +767,76 @@
/*!
\title Toys: Corkboards Example
\example declarative/toys/corkboards
+ \depends helper/qmlapplicationviewer
\brief This example presents a flickable set of interactive corkboards. It is created
through a combination of elements like \l ListModel, \l Repeater and \l TextEdit
together with rotation and scaling transforms, animation and mouse interaction.
- \depends helper/qmlapplicationviewer
-
\image qml-corkboards-example.png
*/
/*!
\title Toys: Dynamic Scene Example
\example declarative/toys/dynamicscene
+ \depends helper/qmlapplicationviewer
\brief This example presents an interactive drag-and-drop scene. It demonstrates
how to use QML's \l{Dynamic Object Creation} support to dynamically create and
destroy objects.
- \depends helper/qmlapplicationviewer
-
\image qml-dynamicscene-example.png
*/
/*!
\title Toys: Tic-Tac-Toe Example
\example declarative/toys/tic-tac-toe
+ \depends helper/qmlapplicationviewer
\brief This example presents a simple implementation of Tic Tac Toe.
- \depends helper/qmlapplicationviewer
-
\image qml-tic-tac-toe-example.png
*/
/*!
\title Toys: TV Tennis Example
\example declarative/toys/tvtennis
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use animation components such as \l SpringAnimation,
\l SequentialAnimation and \l PropertyAction to create a game of TV tennis.
- \depends helper/qmlapplicationviewer
-
\image qml-tvtennis-example.png
*/
/*!
\title Touch Interaction: Gestures Example
\example declarative/touchinteraction/gestures
-
- \brief This example shows how to use the GestureArea element.
\depends helper/qmlapplicationviewer
+ \brief This example shows how to use the GestureArea element.
*/
/*!
\title Touch Interaction: MouseArea Example
\example declarative/touchinteraction/mousearea
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the MouseArea element to access information
about mouse input.
- \depends helper/qmlapplicationviewer
-
\image qml-mousearea-example.png
*/
/*!
\title UI Components: Dial Control Example
\example declarative/ui-components/dialcontrol
+ \depends helper/qmlapplicationviewer
\brief This example shows how to create a dial-type control. It combines
\l Image elements with \l Rotation transforms and \l SpringAnimation behaviors
to produce an interactive speedometer-type dial.
- \depends helper/qmlapplicationviewer
-
\image qml-dialcontrol-example.png
*/
@@ -838,102 +848,92 @@
\brief This example shows how to use the \l Flipable element.
- \depends helper/qmlapplicationviewer
-
\image qml-flipable-example.png
*/
/*!
\title UI Components: Progress Bars Example
\example declarative/ui-components/progressbar
+ \depends helper/qmlapplicationviewer
\brief This example shows how to create a progress bar.
- \depends helper/qmlapplicationviewer
-
\image qml-progressbar-example.png
*/
/*!
\title UI Components: Scroll Bar Example
\example declarative/ui-components/scrollbar
+ \depends helper/qmlapplicationviewer
\brief This example shows how to create scroll bars for a \l Flickable element
using the \l {Flickable::visibleArea.xPosition}{Flickable::visibleArea}
properties.
- \depends helper/qmlapplicationviewer
-
\image qml-scrollbar-example.png
*/
/*!
\title UI Components: Search Box Example
\example declarative/ui-components/searchbox
+ \depends helper/qmlapplicationviewer
\brief This example shows how to combine TextInput, FocusScope and BorderImage
elements to display multiple text input fields.
- \depends helper/qmlapplicationviewer
-
\image qml-searchbox-example.png
*/
/*!
\title UI Components: Slide Switch Example
\example declarative/ui-components/slideswitch
+ \depends helper/qmlapplicationviewer
\brief This example shows how to create a slide switch control.
- \depends helper/qmlapplicationviewer
-
\image qml-slideswitch-example.png
*/
/*!
\title UI Components: Spinner Example
\example declarative/ui-components/spinner
+ \depends helper/qmlapplicationviewer
\brief This example shows how to create a spinner-type component using the PathView element.
- \depends helper/qmlapplicationviewer
-
\image qml-spinner-example.png
*/
/*!
\title UI Components: Tab Widget Example
\example declarative/ui-components/tabwidget
+ \depends helper/qmlapplicationviewer
\brief This example shows how to create a tab widget. It also demonstrates how
\l {Property aliases}{property aliases} and
\l {Introduction to the QML Language#Default Properties}{default properties} can be used to collect and
assemble the child items declared within an \l Item.
- \depends helper/qmlapplicationviewer
-
\image qml-tabwidget-example.png
*/
/*!
\title XML: XMLHttpRequest Example
\example declarative/xml/xmlhttprequest
+ \depends helper/qmlapplicationviewer
\brief This example shows how to use the \l XmlHttpRequest API in QML.
- \depends helper/qmlapplicationviewer
-
\image qml-xmlhttprequest-example.png
*/
/*!
\title Labs: Shader Effects
\example declarative/shadereffects
+ \depends helper/qmlapplicationviewer
\brief This example shows how to create visual effects by using OpenGL shading language together with QML using \l ShaderEffectItem and \l ShaderEffectSource APIs.
- \depends helper/qmlapplicationviewer
-
\image qml-shadereffects-example.png
*/
diff --git a/doc/src/examples/qml-folderlistmodel.qdoc b/doc/src/examples/qml-folderlistmodel.qdoc
index 2d73db8175..a1adc8a0f8 100644
--- a/doc/src/examples/qml-folderlistmodel.qdoc
+++ b/doc/src/examples/qml-folderlistmodel.qdoc
@@ -29,9 +29,9 @@
\title FolderListModel - a C++ model plugin
\example src/imports/folderlistmodel
+\depends helper/qmlapplicationviewer
\brief The FolderListModel plugin example shows how to make a C++ model available to QML.
-\depends helper/qmlapplicationviewer
It presents
a simple file list for a single folder (directory) and allows the presented
diff --git a/doc/src/examples/qml-minehunt.qdoc b/doc/src/examples/qml-minehunt.qdoc
index 66c7dd342f..3f24c83948 100644
--- a/doc/src/examples/qml-minehunt.qdoc
+++ b/doc/src/examples/qml-minehunt.qdoc
@@ -28,6 +28,7 @@
/*!
\title Minehunt
\example demos/declarative/minehunt
+ \depends helper/qmlapplicationviewer
\brief The Qt Quick Minehunt demo shows how to create a simple Minehunt game, using QML for the
UI and C++ for the game logic.
diff --git a/doc/src/examples/qml-photoviewer.qdoc b/doc/src/examples/qml-photoviewer.qdoc
index 65b3774839..5fc02c46ce 100644
--- a/doc/src/examples/qml-photoviewer.qdoc
+++ b/doc/src/examples/qml-photoviewer.qdoc
@@ -28,10 +28,9 @@
/*!
\title Photo Viewer
\example demos/declarative/photoviewer
+ \depends helper/qmlapplicationviewer
\brief The Qt Quick Photo Viewer demo shows how to write a Flickr photo viewer application in QML.
- \depends helper/qmlapplicationviewer
-
\image qml-photoviewer-demo.png
*/
diff --git a/doc/src/examples/qml-rssnews.qdoc b/doc/src/examples/qml-rssnews.qdoc
index 8b2691f914..46cc9fc653 100644
--- a/doc/src/examples/qml-rssnews.qdoc
+++ b/doc/src/examples/qml-rssnews.qdoc
@@ -28,10 +28,9 @@
/*!
\title RSS News
\example demos/declarative/rssnews
+ \depends helper/qmlapplicationviewer
\brief The Qt Quick RSS News demo shows how to write a RSS news reader in QML.
- \depends helper/qmlapplicationviewer
-
\image qml-rssnews-demo.png
*/
diff --git a/doc/src/examples/qml-samegame.qdoc b/doc/src/examples/qml-samegame.qdoc
index 8c4c75bb54..3ffed3bd0a 100644
--- a/doc/src/examples/qml-samegame.qdoc
+++ b/doc/src/examples/qml-samegame.qdoc
@@ -28,11 +28,10 @@
/*!
\title Same Game
\example demos/declarative/samegame
+ \depends helper/qmlapplicationviewer
\brief The Qt Quick Same Game demo shows how to write a 'Same Game' game in QML, using Javascript
for all the game logic.
- \depends helper/qmlapplicationviewer
-
\image qml-samegame-demo.png
*/
diff --git a/doc/src/examples/qml-snake.qdoc b/doc/src/examples/qml-snake.qdoc
index 8a27711a31..0fa5bfbeba 100644
--- a/doc/src/examples/qml-snake.qdoc
+++ b/doc/src/examples/qml-snake.qdoc
@@ -28,6 +28,7 @@
/*!
\title Snake
\example demos/declarative/snake
+ \depends helper/qmlapplicationviewer
\brief The Qt Quick Snake demo shows how to write a Snake game in QML, controlled by the
keyboard as well as the mouse.
diff --git a/doc/src/examples/qml-twitter.qdoc b/doc/src/examples/qml-twitter.qdoc
index 50495e9155..073dd6411d 100644
--- a/doc/src/examples/qml-twitter.qdoc
+++ b/doc/src/examples/qml-twitter.qdoc
@@ -28,11 +28,10 @@
/*!
\title Twitter Mobile
\example demos/declarative/twitter
-
- \brief The Qt Quick Twitter Mobile demo shows how to write a mobile Twitter search client in QML. Use it to
- see what people think about Qt Quick!
-
\depends helper/qmlapplicationviewer
+ \brief The Qt Quick Twitter Mobile demo shows how to write a mobile Twitter search client in QML.
+ Use it to see what people think about Qt Quick!
+
\image qml-twitter-demo.png
*/
diff --git a/doc/src/examples/qml-webbrowser.qdoc b/doc/src/examples/qml-webbrowser.qdoc
index a130dd7fce..fc9d47f290 100644
--- a/doc/src/examples/qml-webbrowser.qdoc
+++ b/doc/src/examples/qml-webbrowser.qdoc
@@ -28,13 +28,12 @@
/*!
\title Qt Quick Web Browser
\example demos/declarative/webbrowser
+ \depends helper/qmlapplicationviewer
\brief The Qt Quick Web Browser demo shows how to write a simple web browser in QML by combining the
WebView element with other components including scroll bars,
\l Flickable views and TextInput fields.
- \depends helper/qmlapplicationviewer
-
\image qml-webbrowser-demo.png
*/