summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-05-14 14:01:53 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-05-14 14:01:53 (GMT)
commit077c35c2fc4b41846e953c2e880ce1bff396a715 (patch)
tree4c0f12dd459ab198d1364c544c9d0fa29d76eeb9 /doc
parentf3418105d25fe9a9fea5b94715d9ec04ca268ee7 (diff)
parent2a4f5a1b4e6e9632ab18c81c3e06ebf2061cd765 (diff)
downloadQt-077c35c2fc4b41846e953c2e880ce1bff396a715.zip
Qt-077c35c2fc4b41846e953c2e880ce1bff396a715.tar.gz
Qt-077c35c2fc4b41846e953c2e880ce1bff396a715.tar.bz2
Merge branch 'kinetic-animations' into kinetic-statemachine
Diffstat (limited to 'doc')
-rw-r--r--doc/src/animation.qdoc14
-rw-r--r--doc/src/groups.qdoc4
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/src/animation.qdoc b/doc/src/animation.qdoc
index 081660c..5eb2eda 100644
--- a/doc/src/animation.qdoc
+++ b/doc/src/animation.qdoc
@@ -40,7 +40,7 @@
****************************************************************************/
/*!
- \page animation.html
+ \page animation-overview.html
\title The Animation Framework
\ingroup architecture
\ingroup animation
@@ -132,7 +132,7 @@
\endcode
This code will move \c button from the top left corner of the
- screen to the position (250, 250).
+ screen to the position (250, 250) in 10 seconds (10000 milliseconds).
The example above will do a linear interpolation between the
start and end value. It is also possible to set values
@@ -162,7 +162,7 @@
that is not declared as a Qt property. The only requirement is
that this value has a setter. You can then subclass the class
containing the value and declare a property that uses this setter.
- Note that all Qt properties requires a getter, so you will need to
+ Note that each Qt property requires a getter, so you will need to
provide a getter yourself if this is not defined.
\code
@@ -184,9 +184,9 @@
\section1 Animations and the Graphics View Framework
When you want to animate \l{QGraphicsItem}s, you also use
- QPropertyAnimation. But, unfortunetly, QGraphicsItem does not
- inherit QObject. A good solution is to subclass the graphics item
- you wish to animate. This class will then also inherit QObject.
+ QPropertyAnimation. However, QGraphicsItem does not inherit QObject.
+ A good solution is to subclass the graphics item you wish to animate.
+ This class will then also inherit QObject.
This way, QPropertyAnimation can be used for \l{QGraphicsItem}s.
The example below shows how this is done. Another possibility is
to inherit QGraphicsWidget, which already is a QObject.
@@ -326,7 +326,7 @@
When using a \l{The State Machine Framework}{state machine}, we
have a special state, QAnimationState, that will play one or more
animations.
-
+
The QState::addAnimatedTransition() convenience function lets you
associate an animation to a state transition. The function will
create the QAnimationState for you, and insert it into the state
diff --git a/doc/src/groups.qdoc b/doc/src/groups.qdoc
index 0411c3a..3c4da53 100644
--- a/doc/src/groups.qdoc
+++ b/doc/src/groups.qdoc
@@ -69,14 +69,14 @@
*/
/*!
- \group animations
+ \group animation
\ingroup groups
\title Animation Framework
\brief Classes for animations, states and transitions.
These classes provide a framework for creating both simple and complex
- animations. The Animation Framework also provides states and animated
+ animations. \l{The Animation Framework} also provides states and animated
transitions, making it easy to create animated stateful forms.
*/