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.

Public Functions

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 stops, the next animation is started, and so on. The animation group finishes when the last animation has finished.

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


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(), add(), and insertAt().

QtAbstractAnimation * QtSequentialAnimationGroup::currentAnimation () const

Returns the animation in the current time.

See also animations().

void QtSequentialAnimationGroup::insertAt ( int index, QtAbstractAnimation * animation )

Inserts animation into this animation group at index. If index is 0 the animation is inserted at the beginning. If index is count(), the animation is inserted at the end.

See also removeAt(), add(), and animations().

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

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

See also addPause(), insertAt(), and animations().


Copyright © 2009 Nokia Trademarks
Qt Solutions