summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-05-11 12:23:15 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-05-11 12:23:15 (GMT)
commit8cd40802bd50bc02485738e49938eda3a1e45c1d (patch)
treed861bf7523a574de912ad7aea1571c04c0d5b345 /src
parentdaea80b0675a88c70abdd14a4a8342e972338c3a (diff)
downloadQt-8cd40802bd50bc02485738e49938eda3a1e45c1d.zip
Qt-8cd40802bd50bc02485738e49938eda3a1e45c1d.tar.gz
Qt-8cd40802bd50bc02485738e49938eda3a1e45c1d.tar.bz2
Doc: Work on QPauseAnimation
Diffstat (limited to 'src')
-rw-r--r--src/corelib/animation/qpauseanimation.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/corelib/animation/qpauseanimation.cpp b/src/corelib/animation/qpauseanimation.cpp
index 30ea92c..685fa98 100644
--- a/src/corelib/animation/qpauseanimation.cpp
+++ b/src/corelib/animation/qpauseanimation.cpp
@@ -45,6 +45,22 @@
\since 4.5
\ingroup animation
\preliminary
+
+ If you wish to introduce a delay between animations in a
+ QSequentialAnimationGroup, you can insert a QPauseAnimation. This
+ class does not animate anything, but does not
+ \l{QAbstractAnimation::finished()}{finish} before a specified
+ number of milliseconds have elapsed from when it was started. You
+ specify the duration of the pause in the constructor. It can also
+ be set directly with setDuration().
+
+ It is not necessary to construct a QPauseAnimation yourself.
+ QSequentialAnimationGroup provides the convenience functions
+ \l{QSequentialAnimationGroup::}{addPause()} and
+ \l{QSequentialAnimationGroup::}{insertPauseAt()}. These functions
+ simply take the number of milliseconds the pause should last.
+
+ \sa QSequentialAnimationGroup
*/
#ifndef QT_NO_ANIMATION