From 5f99a6388abf87c34e052f3d7e266c48852a52dd Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Wed, 28 May 2014 16:19:08 +0200 Subject: 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 Reviewed-by: Jerome Pasion --- .../quick/positioners/doc/src/positioners.qdoc | 33 +++++++++++++++------- 1 file changed, 23 insertions(+), 10 deletions(-) (limited to 'examples/quick/positioners/doc/src/positioners.qdoc') 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 */ -- cgit v1.2.3