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/states | |
parent | 669ba098e44080991e0d17827622ecb8928650df (diff) |
Flesh out examples documentation
Change-Id: I4f7a1ce6b9957f43e442947dc6b319e919ec9cf7
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'examples/quick/animation/states')
-rw-r--r-- | examples/quick/animation/states/states.qml | 2 | ||||
-rw-r--r-- | examples/quick/animation/states/transitions.qml | 2 |
2 files changed, 4 insertions, 0 deletions
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] ] } |