QParallelAnimationGroup露

PyQt5.QtCore.QParallelAnimationGroup

Inherits from QAnimationGroup.

Description露

The QParallelAnimationGroup class provides a parallel group of animations.

QParallelAnimationGroup鈥揳 QAnimationGroup鈥搒tarts all its animations when it is start() itself, i.e., runs all animations in parallel. The animation group finishes when the longest lasting animation has finished.

You can treat QParallelAnimationGroup as any other 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 QPropertyAnimations that have already been set up.

Methods露

__init__(parent: QObject = None)

Constructs a QParallelAnimationGroup. parent is passed to QObject鈥檚 constructor.


duration() → int

TODO


event(QEvent) → bool

TODO


updateCurrentTime(int)

TODO


updateDirection(Direction)

TODO


updateState(State, State)

TODO