aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/positioners/positioners-transitions.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-04-18 18:07:13 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-20 04:09:37 +0200
commit64d6fc79d49ec87dcd5c1311fe3e70533ace394f (patch)
tree5ac29b6091eedebb6cdd7dc258f4a44e4c3d5aea /examples/quick/positioners/positioners-transitions.qml
parentb326c0dd5b93c02c7763174e8519cec5521032e5 (diff)
Improve example documentation
Add more detail and snippets to the examples for shadereffects and positioners. Change-Id: I62a257289cbfb6c53ecc092ac898d923f0058248 Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'examples/quick/positioners/positioners-transitions.qml')
-rw-r--r--examples/quick/positioners/positioners-transitions.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/positioners/positioners-transitions.qml b/examples/quick/positioners/positioners-transitions.qml
index f1b61c1740..e573c94343 100644
--- a/examples/quick/positioners/positioners-transitions.qml
+++ b/examples/quick/positioners/positioners-transitions.qml
@@ -191,13 +191,17 @@ Rectangle {
id: layout4
x: 120; y: 160; width: 150
+ //! [move]
move: Transition {
NumberAnimation { properties: "x,y"; easing.type: Easing.OutBounce }
}
+ //! [move]
+ //! [add]
add: Transition {
NumberAnimation { properties: "x,y"; easing.type: Easing.OutBounce }
}
+ //! [add]
Rectangle { color: "red"; width: 50; height: 50; border.color: "black"; radius: 15 }