aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/timelineTestApp/test02.qml
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2018-04-23 18:02:15 +0200
committerTim Jenssen <tim.jenssen@qt.io>2018-04-27 14:07:23 +0000
commitb2cd5db1e5bfcd168bce025b126d4c5a2fc9e0ae (patch)
tree5c7c4af9e7c536d1172271b6b2f7849668778c27 /tests/manual/timelineTestApp/test02.qml
parente60155d6af1a9e1c86bfb7679dbd92ce616ad8fd (diff)
Add TimelineAnimation
* New api to define animation clips * Special animation type for timeline * Adding ping pong for TimelineAnimation * Adjusting manual tests * Adding new manual tests Change-Id: Ic670b389062ef4ac92e000bc99574e5fa04a7006 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'tests/manual/timelineTestApp/test02.qml')
-rw-r--r--tests/manual/timelineTestApp/test02.qml18
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/manual/timelineTestApp/test02.qml b/tests/manual/timelineTestApp/test02.qml
index 861fe45..7d27a21 100644
--- a/tests/manual/timelineTestApp/test02.qml
+++ b/tests/manual/timelineTestApp/test02.qml
@@ -20,14 +20,6 @@ import QtQuick 2.0
import QtQuick.Timeline 1.0
Item {
- PropertyAnimation {
- running: true
- duration: 1000
- target: timeline
- property: "currentFrame"
- from: 0
- to: 1000
- }
Rectangle {
id: leftGauge
@@ -82,6 +74,16 @@ Item {
startFrame: 0
endFrame: 1000
+ animations: [
+
+ TimelineAnimation {
+ running: true
+ duration: 1000
+ from: 0
+ to: 1000
+ }
+ ]
+
KeyframeGroup {
target: leftGauge
property: "x"