diff options
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] } } |