![]() |
Home |
The QtAnimationGroup is an abstract base class for group of animations. More...
#include <QtAnimationGroup>
This class is under development and is subject to change.
Inherits QtAbstractAnimation.
Inherited by QtParallelAnimationGroup and QtSequentialAnimationGroup.
The QtAnimationGroup is an abstract base class for group of animations.
QtAnimationGroup represents a group of animations, such as parallel or sequential, and lets you combine different animations into one. The group manages any animation that inherits QtAbstractAnimation. By combining groups, you can easily construct complex animation graphs.
The QtAnimationGroup base class provides methods for adding and retrieving animations. Besides that, you can remove animations by calling remove(), and clear the animation group by calling clear(). You may keep track of changes in the group's animations by listening to QEvent::ChildAdded and QEvent::ChildRemoved events.
QtAnimationGroup takes ownership of the animations it manages, and ensures that they are deleted when the animation group is deleted.
See also QtAbstractAnimation, QtAnimation, and The Animation Framework.
Constructs a QtAnimationGroup. parent is passed to QObject's constructor.
Destroys the animation group. It will also destroy all its animations.
Adds animation to this group. This will call animationInsertedAt.
See also animationInsertedAt().
This virtual method is called whenever an animation is added to the group at index index.
See also add().
This virtual method is called whenever an animation is removed from the group at index index. The animation is no more listed when this method is called.
See also remove() and removeAt().
Returns the animations that are managed by this group.
See also add(), count(), and at().
Returns a pointer to the animation at index in this group. This function is useful when you need access to a particular animation. index is between 0 and count() - 1.
See also count() and animations().
Removes and deletes all animations in this animation group, and resets the current time to 0.
Returns the number of animations managed by this group.
See also animations(), add(), and at().
Removes animation from this group. The ownership of animation is transferred to the caller.
See also add().
Removes the animation at index from this animation group. The ownership of the animation is transferred to the caller. This will call animationRemovedAt.
See also add() and animationRemovedAt().
Copyright © 2009 Nokia | Trademarks | Qt Solutions |