diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-04-20 21:01:04 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-26 03:33:13 +0200 |
commit | 1d0368335d25b70d3cecbbcea224feb9ac0d6e59 (patch) | |
tree | 02940762dd4079bdd0a7d857443cef1527330118 /examples/quick/animation/basics | |
parent | 669ba098e44080991e0d17827622ecb8928650df (diff) |
Flesh out examples documentation
Change-Id: I4f7a1ce6b9957f43e442947dc6b319e919ec9cf7
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'examples/quick/animation/basics')
-rw-r--r-- | examples/quick/animation/basics/color-animation.qml | 2 | ||||
-rw-r--r-- | examples/quick/animation/basics/property-animation.qml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/animation/basics/color-animation.qml b/examples/quick/animation/basics/color-animation.qml index f1bf40c40b..85dca2d4fa 100644 --- a/examples/quick/animation/basics/color-animation.qml +++ b/examples/quick/animation/basics/color-animation.qml @@ -48,6 +48,7 @@ Item { // Let's draw the sky... Rectangle { anchors { left: parent.left; top: parent.top; right: parent.right; bottom: parent.verticalCenter } + //! [0] gradient: Gradient { GradientStop { position: 0.0 @@ -66,6 +67,7 @@ Item { } } } + //! [0] } // the sun, moon, and stars diff --git a/examples/quick/animation/basics/property-animation.qml b/examples/quick/animation/basics/property-animation.qml index 4a4d3e3b2a..2752b32816 100644 --- a/examples/quick/animation/basics/property-animation.qml +++ b/examples/quick/animation/basics/property-animation.qml @@ -81,6 +81,7 @@ Item { y: minHeight source: "images/face-smile.png" + //! [0] // Animate the y property. Setting loops to Animation.Infinite makes the // animation repeat indefinitely, otherwise it would only run once. SequentialAnimation on y { @@ -101,5 +102,6 @@ Item { // Then pause for 500ms PauseAnimation { duration: 500 } } + //! [0] } } |