Table Of Contents

Previous topic

QSequentialAnimationGroup

Next topic

QSettings

QParallelAnimationGroup

Note

This class was introduced in Qt 4.6

Detailed Description

The PySide.QtCore.QParallelAnimationGroup class provides a parallel group of animations.

PySide.QtCore.QParallelAnimationGroup –a container for animations –starts all its animations when it is started itself, i.e., runs all animations in parallel. The animation group finishes when the longest lasting animation has finished.

You can treat QParallelAnimation as any other PySide.QtCore.QAbstractAnimation , e.g., pause, resume, or add it to other animation groups.

QParallelAnimationGroup *group = new QParallelAnimationGroup;
group->addAnimation(anim1);
group->addAnimation(anim2);

group->start();

In this example, anim1 and anim2 are two PySide.QtCore.QPropertyAnimation s that have already been set up.

class PySide.QtCore.QParallelAnimationGroup([parent=None])
Parameters:parentPySide.QtCore.QObject

Constructs a PySide.QtCore.QParallelAnimationGroup . parent is passed to PySide.QtCore.QObject ‘s constructor.