PySide6.QtCore.QSequentialAnimationGroup¶
- class QSequentialAnimationGroup¶
- The - QSequentialAnimationGroupclass provides a sequential group of animations. More…- Added in version 4.6. - Synopsis¶- Properties¶- currentAnimationᅟ- The animation in the current time
 - Methods¶- def - __init__()
- def - addPause()
- def - insertPause()
 - Signals¶- 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. - QSequentialAnimationGroupis a- QAnimationGroupthat runs its animations in sequence, i.e., it starts one animation after another has finished playing. The animations are played in the order they are added to the group (using- addAnimation()or- insertAnimation()). The animation group finishes when its last animation has finished.- At each moment there is at most one animation that is active in the group; it is returned by - currentAnimation(). An empty group has no current animation.- A sequential animation group can be treated as any other animation, i.e., it can be started, stopped, and added to other groups. You can also call - addPause()or- insertPause()to add a pause to a sequential animation group.- group = QSequentialAnimationGroup() group.addAnimation(anim1) group.addAnimation(anim2) group.start() - In this example, - anim1and- anim2are two already set up- QPropertyAnimations.- Note - Properties can be used directly when - from __feature__ import true_propertyis used or via accessor functions otherwise.- property currentAnimationᅟ: QAbstractAnimation¶
 - This property holds the animation in the current time.. - Access functions:
 - Constructs a - QSequentialAnimationGroup.- parentis passed to- QObject‘s constructor.- addPause(msecs)¶
- Parameters:
- msecs – int 
- Return type:
 
 - Adds a pause of - msecsto this animation group. The pause is considered as a special type of animation, thus- animationCountwill be increased by one.- See also - currentAnimation()¶
- Return type:
 
 - Getter of property - currentAnimationᅟ.- currentAnimationChanged(current)¶
- Parameters:
- current – - QAbstractAnimation
 
 - QSequentialAnimationGroupemits this signal when- currentAnimationhas been changed.- currentis the current animation.- See also - Notification signal of property - currentAnimationᅟ.- insertPause(index, msecs)¶
- Parameters:
- index – int 
- msecs – int 
 
- Return type:
 
 - Inserts a pause of - msecsmilliseconds at- indexin this animation group.- See also