SteppedAnimationPlayer is an utility class that automatically stops a set of animations when the "up" signal of an AnimationPulse is emitted. More...
Header: | #include <Kuesa/SteppedAnimationPlayer> |
Since: | Kuesa 1.4 |
Instantiated By: | SteppedAnimationPlayer |
Inherits: | Kuesa::AnimationPulse |
This class was introduced in Kuesa 1.4.
QStringList | animationNames() const |
void | setAnimationNames(const QStringList &animationNames) |
void | animationNamesChanged() |
Given a list of animation names, it will create a Kuesa::AnimationPlayer for each. The running state of each of these Kuesa::AnimationPlayer will match the running state of the Kuesa::SteppedAnimationPlayer. Therefore, when the Kuesa::SteppedAnimationPlayer starts, all the animations will start.
When the "up" signal of the Kuesa::SteppedAnimationPlayer is triggered, the Kuesa::SteppedAnimationPlayer and all the animations will stop.
Holds the names of the animations that are controlled by this Kuesa::SteppedAnimationPlayer
Access functions:
QStringList | animationNames() const |
void | setAnimationNames(const QStringList &animationNames) |
Notifier signal:
void | animationNamesChanged() |