summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/animation/parallelAnimation/parallelAnimation-visual.qml
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-11-17 23:00:11 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-11-17 23:00:11 (GMT)
commit7727a0288c1ffb40ecff13e7bfc49ce99b984633 (patch)
treed94518fa3c56bdfc07f015e2acf779904dbe648d /tests/auto/declarative/qmlvisual/animation/parallelAnimation/parallelAnimation-visual.qml
parent569b076bb650c5082109d6406616c7536ac9f79f (diff)
parentcca7c5b40751e2192ba2c7c7422557eeb5672a17 (diff)
downloadQt-7727a0288c1ffb40ecff13e7bfc49ce99b984633.zip
Qt-7727a0288c1ffb40ecff13e7bfc49ce99b984633.tar.gz
Qt-7727a0288c1ffb40ecff13e7bfc49ce99b984633.tar.bz2
Merge branch '4.7-upstream' into 4.7-water
Diffstat (limited to 'tests/auto/declarative/qmlvisual/animation/parallelAnimation/parallelAnimation-visual.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/animation/parallelAnimation/parallelAnimation-visual.qml19
1 files changed, 10 insertions, 9 deletions
diff --git a/tests/auto/declarative/qmlvisual/animation/parallelAnimation/parallelAnimation-visual.qml b/tests/auto/declarative/qmlvisual/animation/parallelAnimation/parallelAnimation-visual.qml
index 9a75763..6974adb 100644
--- a/tests/auto/declarative/qmlvisual/animation/parallelAnimation/parallelAnimation-visual.qml
+++ b/tests/auto/declarative/qmlvisual/animation/parallelAnimation/parallelAnimation-visual.qml
@@ -9,34 +9,35 @@ import QtQuick 1.0
*/
Rectangle {
- width: 400; height: 200
+ width: 200; height: 100
Rectangle {
id: redRect
- width: 100; height: 100
+ width: 50; height: 50
color: "red"
}
Rectangle {
id: redRect2
- width: 100; height: 100
- y: 100
+ width: 50; height: 50
+ y: 50
color: "red"
}
- MouseArea {
- anchors.fill: parent
- onClicked: parent.state = "state1"
+ Timer{
+ interval: 100
+ running: true
+ onTriggered: parent.state = "state1"
}
states: State {
name: "state1"
PropertyChanges {
target: redRect
- x: 300
+ x: 150
color: "purple"
}
PropertyChanges {
target: redRect2
- x: 300
+ x: 150
color: "purple"
}
}