QParallelAnimationGroup¶
The
QParallelAnimationGroup
class provides a parallel group of animations. More…
New in version 4.6.
Detailed Description¶
QParallelAnimationGroup
–acontainer for animations
–starts all its animations when it isstarted
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 otherQAbstractAnimation
, 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
andanim2
are twoQPropertyAnimation
s that have already been set up.
- class PySide2.QtCore.QParallelAnimationGroup([parent=None])¶
- param parent:
Constructs a
QParallelAnimationGroup
.parent
is passed toQObject
‘s constructor.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.