QParallelAnimationGroup class provides a parallel group of animations. More…
New in version 4.6.
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
QParallelAnimationGroup as any other
QAbstractAnimation , e.g., pause, resume, or add it to other animation groups.
group = QParallelAnimationGroup() group.addAnimation(anim1) group.addAnimation(anim2) group.start()
In this example,
anim2 are two
QPropertyAnimation s that have already been set up.
- class PySide6.QtCore.QParallelAnimationGroup([parent=None])#
parent is passed to
QObject ‘s constructor.