Home

QtSequentialAnimationGroup Class Reference
[QtCore module]

The QtSequentialAnimationGroup class provides a sequential group of animations. More...

 #include <QtSequentialAnimationGroup>

This class is under development and is subject to change.

Inherits QtAnimationGroup.

Properties

Public Functions

Signals

Additional Inherited Members


Detailed Description

The QtSequentialAnimationGroup class provides a sequential group of animations.

The first animation in the group is started first, and when it finishes, the next animation is started, and so on. The animation group finishes when the last animation has finished.

At each moment there is at most one animation that is active in the group, called currentAnimation. An empty group has no current animation.

You can call addPause() or insertPause() to add a pause to a sequential animation group.


Property Documentation

currentAnimation : QtAbstractAnimation * const

Returns the animation in the current time.

Access functions:

See also currentAnimationChanged().


Member Function Documentation

QtSequentialAnimationGroup::QtSequentialAnimationGroup ( QObject * parent = 0 )

Constructs a QtSequentialAnimationGroup. parent is passed to QObject's constructor.

QtSequentialAnimationGroup::~QtSequentialAnimationGroup ()

Destroys the animation group. It will also destroy all its animations.

QtPauseAnimation * QtSequentialAnimationGroup::addPause ( int msecs )

Adds a pause of msecs to this animation group. The pause is considered as a special type of animation, thus count() will be increased by one.

See also insertPauseAt() and QtAnimationGroup::addAnimation().

void QtSequentialAnimationGroup::currentAnimationChanged ( QtAbstractAnimation * current )   [signal]

QtSequentialAnimationGroup emits this signal when currentAnimation has been changed. current is the current animation.

See also currentAnimation().

QtPauseAnimation * QtSequentialAnimationGroup::insertPauseAt ( int index, int msecs )

Inserts a pause of msecs milliseconds at index in this animation group.

See also addPause() and QtAnimationGroup::insertAnimationAt().


Copyright © 2009 Nokia Trademarks
Qt Solutions