aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/positioners
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2014-05-28 16:19:08 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-05 12:02:01 +0200
commit5f99a6388abf87c34e052f3d7e266c48852a52dd (patch)
treeb88dc0b9dc36c477d6716edf932eb328d413ad68 /examples/quick/positioners
parentc9553ad7d8041c7b0fd769dc8cd0f5335d9408a3 (diff)
Doc: Updated "Qt Quick Examples" pages.
-added instructions about running the example (using \include) -used the example names as sections in the collection pages -general editing and documentation polishing -updated copyright information Change-Id: I044f29fcc1921a541040505d5821acb06dc4cb35 Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'examples/quick/positioners')
-rw-r--r--examples/quick/positioners/doc/src/positioners.qdoc33
1 files changed, 23 insertions, 10 deletions
diff --git a/examples/quick/positioners/doc/src/positioners.qdoc b/examples/quick/positioners/doc/src/positioners.qdoc
index 794b3b25f9..4acd42821a 100644
--- a/examples/quick/positioners/doc/src/positioners.qdoc
+++ b/examples/quick/positioners/doc/src/positioners.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
@@ -31,22 +31,35 @@
\image qml-positioners-example.png
\ingroup qtquickexamples
- This is a collection of small QML examples relating to positioners. Each example is
- a small QML file emphasizing a particular type or feature.
+ \e Positioners is a collection of small QML examples relating to
+ positioners. Each example is a small QML file emphasizing a particular type
+ or feature. For more information, visit
+ \l{Important Concepts In Qt Quick - Positioning}.
- Transitions shows animated transitions when showing or hiding items in a positioner.
- It consists of a scene populated with items in a variety of positioners: Column, Row, Grid and Flow.
- Each positioner has animations described as Transitions.
+ \include examples-run.qdocinc
+
+ \section1 Transitions
+
+ \e Transitions shows animated transitions when showing or hiding items in a
+ positioner. It consists of a scene populated with items in a variety of
+ positioners: \l Column, \l Row, \l Grid, and \l Flow. Each positioner has
+ animations described as Transitions.
\snippet positioners/positioners-transitions.qml move
- The move transition specifies how items inside a positioner will animate when they are displaced by the appearance or disappearance of other items.
+ The move transition specifies how items inside a positioner will animate
+ when they are displaced by the appearance or disappearance of other items.
\snippet positioners/positioners-transitions.qml add
- The add transition specifies how items will appear when they are added to a positioner.
+ The add transition specifies how items will appear when they are added to a
+ positioner.
\snippet positioners/positioners-transitions.qml populate
- The populate transition specifies how items will appear when their parent positioner is first created.
+ The populate transition specifies how items will appear when their parent
+ positioner is first created.
+
+ \section1 Attached Properties
- Attached Properties shows how the Positioner attached property can be used to determine where an item is within a positioner.
+ \e{Attached Properties} shows how the Positioner attached property can be
+ used to determine where an item is within a positioner.
\snippet positioners/positioners-attachedproperties.qml 0
*/