diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-25 00:09:17 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-25 00:09:17 (GMT) |
commit | 13d9f49577dd5be8c01792b6d7709c2e9b28aa95 (patch) | |
tree | 158d3b0c437fb88a6f103602f1e392c332bb7a0e /doc/src/declarative/animation.qdoc | |
parent | 668c9d63d27b2a925c18f3128747c20b37560569 (diff) | |
download | Qt-13d9f49577dd5be8c01792b6d7709c2e9b28aa95.zip Qt-13d9f49577dd5be8c01792b6d7709c2e9b28aa95.tar.gz Qt-13d9f49577dd5be8c01792b6d7709c2e9b28aa95.tar.bz2 |
Replace Animation's repeat property with loops.
You can now loop a fixed number of times as well as forever. The old
repeat behavior (loop forever) can be acheived with loops: Qt.Infinite.
Diffstat (limited to 'doc/src/declarative/animation.qdoc')
-rw-r--r-- | doc/src/declarative/animation.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/declarative/animation.qdoc b/doc/src/declarative/animation.qdoc index 7e0a787..00993f0 100644 --- a/doc/src/declarative/animation.qdoc +++ b/doc/src/declarative/animation.qdoc @@ -72,7 +72,7 @@ Rectangle { x: 60-img.width/2 y: 0 SequentialAnimation on y { - repeat: true + loops: Qt.Infinite NumberAnimation { to: 200-img.height; easing.type: "OutBounce"; duration: 2000 } PauseAnimation { duration: 1000 } NumberAnimation { to: 0; easing.type: "OutQuad"; duration: 1000 } |