diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-11-13 06:20:37 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-11-13 06:20:37 (GMT) |
commit | a69086dd550e97957d985b5ec352f256bb8ddc29 (patch) | |
tree | ddbda4ab4449074c38d82754fc8d4a99a12d1110 /tests/auto/declarative/visual/animation/pauseAnimation/pauseAnimation.qml | |
parent | ec7590bf1b7120dd6948766280917a3db555d97f (diff) | |
parent | 7a05add9235a76f5a3fb721b574c3f41af32ea1f (diff) | |
download | Qt-a69086dd550e97957d985b5ec352f256bb8ddc29.zip Qt-a69086dd550e97957d985b5ec352f256bb8ddc29.tar.gz Qt-a69086dd550e97957d985b5ec352f256bb8ddc29.tar.bz2 |
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'tests/auto/declarative/visual/animation/pauseAnimation/pauseAnimation.qml')
-rw-r--r-- | tests/auto/declarative/visual/animation/pauseAnimation/pauseAnimation.qml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/auto/declarative/visual/animation/pauseAnimation/pauseAnimation.qml b/tests/auto/declarative/visual/animation/pauseAnimation/pauseAnimation.qml new file mode 100644 index 0000000..fba8ae6 --- /dev/null +++ b/tests/auto/declarative/visual/animation/pauseAnimation/pauseAnimation.qml @@ -0,0 +1,30 @@ +import Qt 4.6 + +Rectangle { + id: rect + width: 120 + height: 200 + color: "white" + Image { + id: img + source: "pics/qtlogo.png" + x: 60-width/2 + y: 200-height + y: SequentialAnimation { + running: true + repeat: true + NumberAnimation { + to: 0; duration: 500 + easing: "easeInOutQuad" + } + NumberAnimation { + to: 200-img.height + easing: "easeOutBounce" + duration: 2000 + } + PauseAnimation { + duration: 1000 + } + } + } +} |