summaryrefslogtreecommitdiffstats
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/src/declarative/animation.qdoc3
-rw-r--r--doc/src/declarative/tutorial3.qdoc4
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/declarative/animation.qdoc b/doc/src/declarative/animation.qdoc
index 0517009..9f3f4f6 100644
--- a/doc/src/declarative/animation.qdoc
+++ b/doc/src/declarative/animation.qdoc
@@ -132,7 +132,7 @@ Transition {
}
\endcode
-Transitions can happen in parallel, in sequence, or in any combination of the two:;
+Transitions can happen in parallel, in sequence, or in any combination of the two:
\code
Transition {
@@ -141,6 +141,7 @@ Transition {
reversible: true
SequentialAnimation {
ColorAnimation {
+ property: "color"
duration: 1000
}
PauseAnimation {
diff --git a/doc/src/declarative/tutorial3.qdoc b/doc/src/declarative/tutorial3.qdoc
index e9f861e..d8bed78 100644
--- a/doc/src/declarative/tutorial3.qdoc
+++ b/doc/src/declarative/tutorial3.qdoc
@@ -51,7 +51,7 @@ Rect {
duration: 500
easing: "easeOutBounce"
}
- ColorAnimation { duration: 500 }
+ ColorAnimation { property: "color"; duration: 500 }
}
}
]
@@ -119,7 +119,7 @@ ParallelAnimation {
duration: 500
easing: "easeOutBounce"
}
- ColorAnimation { duration: 500 }
+ ColorAnimation { property: "color"; duration: 500 }
}
\endcode