summaryrefslogtreecommitdiffstats
path: root/src/animation
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2018-01-26 11:25:36 +0000
committerSean Harmer <sean.harmer@kdab.com>2018-01-26 11:52:26 +0000
commit6d56b53bb949caa3e592070794b3010e4801e0ca (patch)
tree7b68a96c5a43da03f9126a2d30d5c7d05fe7793b /src/animation
parente1b0e10340cf0a9c233774647cf316a7519a2093 (diff)
parent1360f39aa811df96c2762cf081702f7a86a782cd (diff)
Merge branch '5.10' into dev
Diffstat (limited to 'src/animation')
-rw-r--r--src/animation/frontend/qabstractclipanimator.cpp35
1 files changed, 28 insertions, 7 deletions
diff --git a/src/animation/frontend/qabstractclipanimator.cpp b/src/animation/frontend/qabstractclipanimator.cpp
index 404879d0a..f531127c7 100644
--- a/src/animation/frontend/qabstractclipanimator.cpp
+++ b/src/animation/frontend/qabstractclipanimator.cpp
@@ -135,13 +135,12 @@ QAbstractClipAnimator::~QAbstractClipAnimator()
}
/*!
- \qmlproperty bool QAbstractClipAnimator::running
+ \property Qt3DAnimation::QAbstractClipAnimator::running
- This property holds whether the animation is currently running.
+ This property holds a boolean indicating whether the animation is currently running.
*/
/*!
- \property QAbstractClipAnimator::isRunning
Returns a boolean indicating whether the animation is currently running.
*/
bool QAbstractClipAnimator::isRunning() const
@@ -151,7 +150,7 @@ bool QAbstractClipAnimator::isRunning() const
}
/*!
- \property ChannelMapper QAbstractClipAnimator::channelMapper
+ \property Qt3DAnimation::QAbstractClipAnimator::channelMapper
This property holds the ChannelMapper that controls how the channels in
the animation clip map onto the properties of the target objects.
@@ -164,7 +163,7 @@ QChannelMapper *QAbstractClipAnimator::channelMapper() const
}
/*!
- \qmlproperty int AbstractClipAnimator::loops
+ \qmlproperty int Qt3DAnimation::AbstractClipAnimator::loops
This property holds the number of times the animation should play.
@@ -173,11 +172,29 @@ QChannelMapper *QAbstractClipAnimator::channelMapper() const
If set to QAbstractClipAnimator::Infinite, the animation will continuously
repeat until it is explicitly stopped.
*/
+/*!
+ \enum QAbstractClipAnimator::Loops
+
+ Holds the number of times the animation should play.
+ \value Infinite
+ This will repeat the loop continuously until it is explicitly
+ stopped.
+
+*/
/*!
- \property int QAbstractClipAnimator::loopCount
+ \property Qt3DAnimation::QAbstractClipAnimator::loops
- This property holds the number of times the animation should play.
+ Holds the number of times the animation should play.
+
+ The value is 1 by default: the animation will be played once and then stop.
+
+ If set to QAbstractClipAnimator::Infinite, the animation will continuously
+ repeat until it is explicitly stopped.
+*/
+
+/*!
+ Returns the number of times the animation should play.
The value is 1 by default: the animation will play through once and then stop.
@@ -189,7 +206,11 @@ int QAbstractClipAnimator::loopCount() const
Q_D(const QAbstractClipAnimator);
return d->m_loops;
}
+/*!
+ \property Qt3DAnimation::QAbstractClipAnimator::clock
+ The clock controls the speed with which an animation is played.
+*/
QClock *QAbstractClipAnimator::clock() const
{
Q_D(const QAbstractClipAnimator);