PySide6.QtCore.QParallelAnimationGroup¶
- class QParallelAnimationGroup¶
- The - QParallelAnimationGroupclass provides a parallel group of animations. More…- Added in version 4.6. - Synopsis¶- Methods¶- def - __init__()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - Detailed Description¶- Warning - This section contains snippets that were automatically translated from C++ to Python and may contain errors. - QParallelAnimationGroup–a- container for animations–starts all its animations when it is- starteditself, i.e., runs all animations in parallel. The animation group finishes when the longest lasting animation has finished.- You can treat - QParallelAnimationGroupas 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, - anim1and- anim2are two- QPropertyAnimations that have already been set up.- Constructs a - QParallelAnimationGroup.- parentis passed to- QObject‘s constructor.