Table Of Contents

Previous topic


Next topic




This class was introduced in Qt 4.6



Detailed Description

The PySide.QtCore.QPauseAnimation class provides a pause for PySide.QtCore.QSequentialAnimationGroup .

If you wish to introduce a delay between animations in a PySide.QtCore.QSequentialAnimationGroup , you can insert a PySide.QtCore.QPauseAnimation . This class does not animate anything, but does not finish before a specified number of milliseconds have elapsed from when it was started. You specify the duration of the pause in the constructor. It can also be set directly with PySide.QtCore.QPauseAnimation.setDuration() .

It is not necessary to construct a PySide.QtCore.QPauseAnimation yourself. PySide.QtCore.QSequentialAnimationGroup provides the convenience functions PySide.QtCore.QSequentialAnimationGroup.addPause() and PySide.QtCore.QSequentialAnimationGroup.insertPause() . These functions simply take the number of milliseconds the pause should last.

class PySide.QtCore.QPauseAnimation([parent=None])
class PySide.QtCore.QPauseAnimation(msecs[, parent=None])

Constructs a PySide.QtCore.QPauseAnimation . parent is passed to PySide.QtCore.QObject ‘s constructor. The default duration is 0.

Constructs a PySide.QtCore.QPauseAnimation . msecs is the duration of the pause. parent is passed to PySide.QtCore.QObject ‘s constructor.


This property holds the duration of the pause..

The duration of the pause. The duration should not be negative. The default duration is 250 milliseconds.