From 1d0368335d25b70d3cecbbcea224feb9ac0d6e59 Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Fri, 20 Apr 2012 21:01:04 +1000 Subject: Flesh out examples documentation Change-Id: I4f7a1ce6b9957f43e442947dc6b319e919ec9cf7 Reviewed-by: Yann Bodson --- examples/quick/animation/states/states.qml | 2 ++ examples/quick/animation/states/transitions.qml | 2 ++ 2 files changed, 4 insertions(+) (limited to 'examples/quick/animation/states') diff --git a/examples/quick/animation/states/states.qml b/examples/quick/animation/states/states.qml index 7ca56a9295..b92ba1b313 100644 --- a/examples/quick/animation/states/states.qml +++ b/examples/quick/animation/states/states.qml @@ -86,6 +86,7 @@ Rectangle { } states: [ + // ![0] // In state 'middleRight', move the image to middleRightRect State { name: "middleRight" @@ -97,5 +98,6 @@ Rectangle { name: "bottomLeft" PropertyChanges { target: userIcon; x: bottomLeftRect.x; y: bottomLeftRect.y } } + // ![0] ] } diff --git a/examples/quick/animation/states/transitions.qml b/examples/quick/animation/states/transitions.qml index d57924d6d2..bfc4057b97 100644 --- a/examples/quick/animation/states/transitions.qml +++ b/examples/quick/animation/states/transitions.qml @@ -105,6 +105,7 @@ Rectangle { } ] + // ![0] // Transitions define how the properties change when the item moves between each state transitions: [ @@ -126,5 +127,6 @@ Rectangle { Transition { NumberAnimation { properties: "x,y"; duration: 200 } } + // ![0] ] } -- cgit v1.2.3