summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-08-09 00:58:23 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-08-09 07:12:11 (GMT)
commit8c4de17eb643af324a13b16d20c301772183022b (patch)
treeaee3a3958063b1d366e4eeb19bb48086df836ca2
parent44d5bcde1713a5f51b7140259e9fd4e426a868a8 (diff)
downloadQt-8c4de17eb643af324a13b16d20c301772183022b.zip
Qt-8c4de17eb643af324a13b16d20c301772183022b.tar.gz
Qt-8c4de17eb643af324a13b16d20c301772183022b.tar.bz2
Explain Flipable example further
-rw-r--r--src/declarative/graphicsitems/qdeclarativeflipable.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeflipable.cpp b/src/declarative/graphicsitems/qdeclarativeflipable.cpp
index 8c9d2dd..b266273 100644
--- a/src/declarative/graphicsitems/qdeclarativeflipable.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeflipable.cpp
@@ -83,10 +83,16 @@ public:
\image flipable.gif
- The \l Rotation element is used to specify the angle and axis of the flip,
- and the \l State defines the changes in angle which produce the flipping
- effect. Finally, the \l Transition creates the animation that changes the
- angle over one second.
+ The \l Rotation element is used to specify the angle and axis of the flip.
+ When \c flipped is \c true, the item changes to the "back" state, where
+ the angle is changed to 180 degrees to produce the flipping effect.
+ Finally, the \l Transition creates the animation that changes the
+ angle over one second: when the item changes between its "back" and
+ default states, the NumberAnimation animates the angle between
+ its old and new values.
+
+ See the \l {QML States} and \l {QML Animation} documentation for more
+ details on state changes and how animations work within transitions.
\sa {declarative/ui-components/flipable}{Flipable example}
*/