Skip to content

PythonQt.QtCore.QAnimationGroup · declarations 001

Back to PythonQt.QtCore.QAnimationGroup

addAnimation

addAnimation(animation: Any) -> None

X.addAnimation(animation)

Supplemental documentation: Qt 5 reference:

void QAnimationGroup::addAnimation(QAbstractAnimation *animation)

Adds animation to this group. This will call insertAnimation with index equals to animationCount().

Note: The group takes ownership of the animation.

See also removeAnimation().

Upstream PySide2 reference signatures (binding differences may apply):

addAnimation(self, animation: PySide2.QtCore.QAbstractAnimation) -> None

Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html#addAnimation

animationAt

animationAt(index: int) -> Any

X.animationAt(index) -> PythonQt.QtCore.QAbstractAnimation

Supplemental documentation: Qt 5 reference:

QAbstractAnimation *QAnimationGroup::animationAt(int index) const

Returns a pointer to the animation at index in this group. This function is useful when you need access to a particular animation. index is between 0 and animationCount() - 1.

See also animationCount() and indexOfAnimation().

Upstream PySide2 reference signatures (binding differences may apply):

animationAt(self, index: int) -> PySide2.QtCore.QAbstractAnimation

Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html#animationAt

animationCount

animationCount() -> int

X.animationCount() -> int

Supplemental documentation: Qt 5 reference:

int QAnimationGroup::animationCount() const

Returns the number of animations managed by this group.

See also indexOfAnimation(), addAnimation(), and animationAt().

Upstream PySide2 reference signatures (binding differences may apply):

animationCount(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html#animationCount

clear

clear() -> None

X.clear()

Supplemental documentation: Qt 5 reference:

void QAnimationGroup::clear()

Removes and deletes all animations in this animation group, and resets the current time to 0.

See also addAnimation() and removeAnimation().

Upstream PySide2 reference signatures (binding differences may apply):

clear(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html#clear

currentLoop instance-attribute

currentLoop: Any

currentLoopChanged

currentLoopChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAnimationGroup.currentLoopChanged; argument details are not documented.

currentLoopTime

currentLoopTime() -> int

X.currentLoopTime() -> int

currentTime instance-attribute

currentTime: Any

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAnimationGroup.destroyed; argument details are not documented.

direction instance-attribute

direction: Any

directionChanged

directionChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAnimationGroup.directionChanged; argument details are not documented.

duration instance-attribute

duration: Any

event

event(event: Any) -> bool

X.event(event) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual protected] bool QAnimationGroup::event(QEvent *event)

Reimplements: QAbstractAnimation::event(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

event(self, event: PySide2.QtCore.QEvent) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html#event

finished

finished(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAnimationGroup.finished; argument details are not documented.

group

group() -> Any

X.group() -> PythonQt.QtCore.QAnimationGroup

indexOfAnimation

indexOfAnimation(animation: Any) -> int

X.indexOfAnimation(animation) -> int

Supplemental documentation: Qt 5 reference:

int QAnimationGroup::indexOfAnimation(QAbstractAnimation *animation) const

Returns the index of animation. The returned index can be passed to the other functions that take an index as an argument.

See also insertAnimation(), animationAt(), and takeAnimation().

Upstream PySide2 reference signatures (binding differences may apply):

indexOfAnimation(self, animation: PySide2.QtCore.QAbstractAnimation) -> int

Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html#indexOfAnimation

insertAnimation

insertAnimation(index: int, animation: Any) -> None

X.insertAnimation(index, animation)

Supplemental documentation: Qt 5 reference:

void QAnimationGroup::insertAnimation(int index, QAbstractAnimation *animation)

Inserts animation into this animation group at index. If index is 0 the animation is inserted at the beginning. If index is animationCount(), the animation is inserted at the end.

Note: The group takes ownership of the animation.

See also takeAnimation(), addAnimation(), indexOfAnimation(), and removeAnimation().

Upstream PySide2 reference signatures (binding differences may apply):

insertAnimation(self, index: int, animation: PySide2.QtCore.QAbstractAnimation) -> None

Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html#insertAnimation

loopCount instance-attribute

loopCount: Any

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAnimationGroup.objectNameChanged; argument details are not documented.

pause

pause() -> Any

X.pause()

removeAnimation

removeAnimation(animation: Any) -> None

X.removeAnimation(animation)

Supplemental documentation: Qt 5 reference:

void QAnimationGroup::removeAnimation(QAbstractAnimation *animation)

Removes animation from this group. The ownership of animation is transferred to the caller.

See also takeAnimation(), insertAnimation(), and addAnimation().

Upstream PySide2 reference signatures (binding differences may apply):

removeAnimation(self, animation: PySide2.QtCore.QAbstractAnimation) -> None

Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html#removeAnimation

resume

resume() -> Any

X.resume()

setCurrentTime

setCurrentTime(msecs: Any) -> Any

X.setCurrentTime(msecs)

setDirection

setDirection(direction: Any) -> Any

X.setDirection(direction)

setLoopCount

setLoopCount(loopCount: Any) -> Any

X.setLoopCount(loopCount)

setPaused

setPaused(a: Any) -> Any

X.setPaused(a)

start

start(policy: Any) -> Any

X.start(policy)

state instance-attribute

state: Any

stateChanged

stateChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAnimationGroup.stateChanged; argument details are not documented.

stop

stop() -> Any

X.stop()

takeAnimation

takeAnimation(index: int) -> Any

X.takeAnimation(index) -> PythonQt.QtCore.QAbstractAnimation

Supplemental documentation: Qt 5 reference:

QAbstractAnimation *QAnimationGroup::takeAnimation(int index)

Returns the animation at index and removes it from the animation group.

Note: The ownership of the animation is transferred to the caller.

See also removeAnimation(), addAnimation(), insertAnimation(), and indexOfAnimation().

Upstream PySide2 reference signatures (binding differences may apply):

takeAnimation(self, index: int) -> PySide2.QtCore.QAbstractAnimation

Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html#takeAnimation

totalDuration

totalDuration() -> int

X.totalDuration() -> int

updateCurrentTime

updateCurrentTime(currentTime: Any) -> Any

X.updateCurrentTime(currentTime)

updateDirection

updateDirection(direction: Any) -> Any

X.updateDirection(direction)

updateState

updateState(newState: Any, oldState: Any) -> Any

X.updateState(newState, oldState)