summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/src/examples/qml-calculator.qdoc3
-rw-r--r--doc/src/examples/qml-examples.qdoc176
-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
-rw-r--r--examples/declarative/animation/states/main.cpp3
11 files changed, 77 insertions, 128 deletions
diff --git a/doc/src/examples/qml-calculator.qdoc b/doc/src/examples/qml-calculator.qdoc
index edc87e2..96efe26 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 52fa2e4..2ba3327 100644
--- a/doc/src/examples/qml-examples.qdoc
+++ b/doc/src/examples/qml-examples.qdoc
@@ -31,8 +31,6 @@
\brief This example shows how to create and combine \l{QML Animation}{animations} in QML.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-coloranim-example.png
@@ -43,11 +41,10 @@
/*!
\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 +54,22 @@
*/
/*!
- \title Animation: Behavior Examples
- \example declarative/animation/behaviors
-
- \brief This example shows how to use QML behaviors.
-
+ \title Animation: Behavior Example
+ \example declarative/animation/behaviors/behavior-example
\depends helper/qmlapplicationviewer
+ \brief This example shows how to use QML behaviors.
+
\image qml-behaviors-example.png
*/
/*!
\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
*/
@@ -89,6 +84,9 @@
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
@@ -122,11 +120,10 @@
/*!
\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 +135,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 +258,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 +299,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 +309,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 +324,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 +333,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.
@@ -356,58 +351,53 @@
/*!
\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
+ \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
@@ -418,13 +408,11 @@
/*!
\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
@@ -435,12 +423,12 @@
/*!
\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
@@ -451,12 +439,12 @@
/*!
\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
@@ -467,10 +455,10 @@
/*!
\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,77 +471,70 @@
/*!
\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
+ \depends helper/qmlapplicationviewer
\brief These examples show how to use the WebView element.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-webview-alert-example.png
@@ -564,11 +545,10 @@
/*!
\title Models and Views: Autosize WebView Example
\example declarative/modelviews/webview/autosize
+ \depends helper/qmlapplicationviewer
\brief These examples show how to use the WebView element.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-webview-autosize-example.png
@@ -579,11 +559,10 @@
/*!
\title Models and Views: GoogleMaps WebView Example
\example declarative/modelviews/webview/googlemaps
+ \depends helper/qmlapplicationviewer
\brief These examples show how to use the WebView element.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-webview-googlemaps-example.png
@@ -594,11 +573,10 @@
/*!
\title Models and Views: Inline HTML WebView Example
\example declarative/modelviews/webview/inlinehtml
+ \depends helper/qmlapplicationviewer
\brief These examples show how to use the WebView element.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-webview-inlinehtml-example.png
@@ -609,11 +587,10 @@
/*!
\title Models and Views: New Windows WebView Example
\example declarative/modelviews/webview/newwindows
+ \depends helper/qmlapplicationviewer
\brief These examples show how to use the WebView element.
- \depends helper/qmlapplicationviewer
-
\table
\row
\o \image qml-webview-newwindows-example.png
@@ -626,29 +603,26 @@
/*!
\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
@@ -659,11 +633,10 @@
/*!
\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
@@ -674,11 +647,10 @@
/*!
\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
@@ -689,11 +661,10 @@
/*!
\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 +676,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 +717,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 +798,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 2d73db8..a1adc8a 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 66c7dd3..3f24c83 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 65b3774..5fc02c4 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 8b2691f..46cc9fc 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 8c4c75b..3ffed3b 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 8a27711..0fa5bfb 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 50495e9..073dd64 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 a130dd7..fc9d47f 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
*/
diff --git a/examples/declarative/animation/states/main.cpp b/examples/declarative/animation/states/main.cpp
index 511f00e..4549051 100644
--- a/examples/declarative/animation/states/main.cpp
+++ b/examples/declarative/animation/states/main.cpp
@@ -47,6 +47,9 @@ int main(int argc, char *argv[])
QmlApplicationViewer viewer;
viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
+
+ //Uncomment the following line to open the states.qml example and comment the transitions.qml line.
+ //viewer.setMainQmlFile(QLatin1String("qml/states/states.qml"));
viewer.setMainQmlFile(QLatin1String("qml/states/transitions.qml"));
viewer.showExpanded();