summaryrefslogtreecommitdiffstats
path: root/examples/declarative/animation
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-06-26 02:53:17 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-06-26 02:53:17 (GMT)
commit98286fd1ac3bb7940618d5a170c7b98b0e2a4dae (patch)
treea1e0c98f28f7b0b6fd55a56a28619be09e901e1c /examples/declarative/animation
parentafa4e61b10187102d3ea49d1c11bae1ef919d94d (diff)
downloadQt-98286fd1ac3bb7940618d5a170c7b98b0e2a4dae.zip
Qt-98286fd1ac3bb7940618d5a170c7b98b0e2a4dae.tar.gz
Qt-98286fd1ac3bb7940618d5a170c7b98b0e2a4dae.tar.bz2
Color property is required to be explicity set (at least for now).
Diffstat (limited to 'examples/declarative/animation')
-rw-r--r--examples/declarative/animation/animation.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/declarative/animation/animation.qml b/examples/declarative/animation/animation.qml
index 272aeec..37e68d6 100644
--- a/examples/declarative/animation/animation.qml
+++ b/examples/declarative/animation/animation.qml
@@ -37,11 +37,13 @@ Rect {
running: true
repeat: true
ColorAnimation {
+ property: "color"
from: "#FF0000"
to: "#00FF00"
duration: 5000
}
ColorAnimation {
+ property: "color"
from: "#00FF00"
to: "#FF0000"
duration: 5000