Document toys examples
authorAlan Alpert <alan.alpert@nokia.com>
Thu, 19 Jan 2012 06:03:13 +0000 (16:03 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 20 Jan 2012 14:13:15 +0000 (15:13 +0100)
Change-Id: I376c4169ffff19e06b55e578e57101a476500b04
Reviewed-by: Martin Jones <martin.jones@nokia.com>
doc/src/examples/example-slideswitch.qdoc [moved from doc/src/declarative/example-slideswitch.qdoc with 98% similarity]
doc/src/examples/example-textballoons.qdoc [moved from doc/src/declarative/example-textballoons.qdoc with 100% similarity]
doc/src/examples/examples-toys.qdoc [new file with mode: 0644]
doc/src/images/qml-corkboards-example.png [new file with mode: 0644]
doc/src/images/qml-dynamicscene-example.png [new file with mode: 0644]

similarity index 98%
rename from doc/src/declarative/example-slideswitch.qdoc
rename to doc/src/examples/example-slideswitch.qdoc
index 87bc942..83fa568 100644 (file)
@@ -29,6 +29,8 @@
 \page qdeclarativeexampletoggleswitch.html
 \inqmlmodule QtQuick 2
 \title QML Example - Toggle Switch
+\example declarative/ui-components/slideswitch
+\brief A reusable switch component in QML
 
 This example shows how to create a reusable switch component in QML.
 
diff --git a/doc/src/examples/examples-toys.qdoc b/doc/src/examples/examples-toys.qdoc
new file mode 100644 (file)
index 0000000..8f81155
--- /dev/null
@@ -0,0 +1,69 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** GNU Free Documentation License
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms
+** and conditions contained in a signed written agreement between you
+** and Nokia.
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+
+/*!
+    \title QML Example - Calculator
+    \example declarative/calculator
+    \brief This is an example application written in QML.
+    \image qml-calculator-demo-small.png
+*/
+
+/*!
+    \title QML Example - Samegame
+    \example declarative/samegame
+    \brief This example demonstrates creating a game with javascript game logic.
+    \image qml-samegame-demo-small.png
+*/
+
+/*!
+    \title QML Example - Snake
+    \example declarative/snake
+    \brief This example demonstrates creating a game using javascript game logic.
+    \image qml-snake-demo-small.png
+*/
+
+/*!
+    \title QML Example - Corkboards
+    \example declarative/toys/corkboards
+    \brief This example demonstrates using components inside a flickable.
+    \image qml-corkboards-example.png
+*/
+
+/*!
+    \title QML Example - Dynamic Scene
+    \example declarative/toys/dynamicscene
+    \brief This example demonstrates creating components dynamically.
+    \image qml-dynamicscene-example.png
+*/
+
+/*!
+    \title QML Example - Clocks
+    \example declarative/toys/clocks
+    \brief This example demonstrates creating components and using them multiple times.
+    \image qml-clocks-example.png
+*/
diff --git a/doc/src/images/qml-corkboards-example.png b/doc/src/images/qml-corkboards-example.png
new file mode 100644 (file)
index 0000000..657ff5c
Binary files /dev/null and b/doc/src/images/qml-corkboards-example.png differ
diff --git a/doc/src/images/qml-dynamicscene-example.png b/doc/src/images/qml-dynamicscene-example.png
new file mode 100644 (file)
index 0000000..38260a7
Binary files /dev/null and b/doc/src/images/qml-dynamicscene-example.png differ