|  | 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.

- List of all members, including inherited members

### Public Functions

- QtSequentialAnimationGroup ( QObject * parent = 0 )
- ~QtSequentialAnimationGroup ()
- QtPauseAnimation * addPause ( int msecs )
- QtAbstractAnimation * currentAnimation () const
- void insertAt ( int index, QtAbstractAnimation * animation )
- QtPauseAnimation * insertPauseAt ( int index, int msecs )

- 7 public functions inherited from QtAnimationGroup
- 10 public functions inherited from QtAbstractAnimation
- 29 public functions inherited from QObject

### Additional Inherited Members

- 6 properties inherited from QtAbstractAnimation
- 1 property inherited from QObject
- 5 public slots inherited from QtAbstractAnimation
- 1 public slot inherited from QObject
- 5 signals inherited from QtAbstractAnimation
- 1 signal inherited from QObject
- 1 public type inherited from QObject
- 4 static public members inherited from QObject
- 2 protected functions inherited from QtAnimationGroup
- 3 protected functions inherited from QtAbstractAnimation
- 7 protected functions inherited from QObject
- 2 protected variables inherited from QObject

## 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().