PythonQt.Qt.QAnimationGroup
QAnimationGroup
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
An animation group is a container for animations (subclasses of QAbstractAnimation). A group is usually responsible for managing the state of its animations, i.e., it decides when to start, stop, resume, and pause them. Currently, Qt provides two such groups: QParallelAnimationGroup and QSequentialAnimationGroup. Look up their class descriptions for details.
Since QAnimationGroup inherits from QAbstractAnimation, you can combine groups, and easily construct complex animation graphs. You can query QAbstractAnimation for the group it belongs to (using the group() function).
To start a top-level animation group, you simply use the start() function from QAbstractAnimation. By a top-level animation group, we think of a group that itself is not contained within another group. Starting sub groups directly is not supported, and may lead to unexpected behavior.
QAnimationGroup provides methods for adding and retrieving animations. Besides that, you can remove animations by calling removeAnimation(), and clear the animation group by calling clear(). You may keep track of changes in the group's animations by listening to QEvent::ChildAdded and QEvent::ChildRemoved events.
QAnimationGroup takes ownership of the animations it manages, and ensures that they are deleted when the animation group is deleted.
Source: https://doc.qt.io/archives/qt-5.15/qanimationgroup.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
Backward |
attribute | Any |
(shared captured text) |
DeleteWhenStopped |
attribute | Any |
(shared captured text) |
DeletionPolicy |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
Direction |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
Forward |
attribute | Any |
(shared captured text) |
KeepWhenStopped |
attribute | Any |
(shared captured text) |
Paused |
attribute | Any |
(shared captured text) |
Running |
attribute | Any |
(shared captured text) |
State |
attribute | type |
Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text) |
Stopped |
attribute | Any |
(shared captured text) |
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
addAnimation |
function | (self, animation: Any) -> None |
Adds animation to this group. (shared captured text) |
animationAt |
function | (self, index: int) -> Any |
X.animationAt(index) -> PythonQt.QtCore.QAbstractAnimation (shared captured text) |
animationCount |
function | (self) -> int |
X.animationCount() -> int (shared captured text) |
blockSignals |
function | (self, b: Any) -> bool |
X.blockSignals(b) -> bool (shared captured text) |
childEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
children |
function | (self) -> tuple |
X.children() -> tuple (shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
clear |
function | (self) -> None |
Removes and deletes all animations in this animation group, and resets the current time to 0. (shared captured text) |
connect |
function | (self, signal: Any, receiver: Any, slot: Any, type: Any) -> bool |
X.connect(signal, receiver, slot, type) -> bool (shared captured text) |
currentLoop |
attribute | Any |
(shared captured text) |
currentLoopChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QAnimationGroup.currentLoopChanged; argument details are not documented. |
currentLoopTime |
function | (self) -> int |
X.currentLoopTime() -> int (shared captured text) |
currentTime |
attribute | Any |
(shared captured text) |
customEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
deleteLater |
function | (self) -> Any |
(shared captured text) |
destroyed |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QAnimationGroup.destroyed; argument details are not documented. |
direction |
attribute | Any |
(shared captured text) |
directionChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QAnimationGroup.directionChanged; argument details are not documented. |
disconnect |
function | (self, signal: Any, receiver: Any, slot: Any) -> bool |
X.disconnect(signal, receiver, slot) -> bool (shared captured text) |
dumpObjectInfo |
function | (self) -> Any |
(shared captured text) |
dumpObjectTree |
function | (self) -> Any |
(shared captured text) |
duration |
attribute | Any |
(shared captured text) |
dynamicPropertyNames |
function | (self) -> Any |
(shared captured text) |
event |
function | (self, event: Any) -> bool |
X.event(event) -> bool (shared captured text) |
eventFilter |
function | (self, watched: Any, event: Any) -> bool |
X.eventFilter(watched, event) -> bool (shared captured text) |
findChild |
function | (self, type: Any, name: Any) -> Any |
X.findChild(type, name) -> PythonQt.private.QObject (shared captured text) |
findChildren |
function | (self, type: Any, name: Any) -> tuple |
X.findChildren(type, name) -> tuple (shared captured text) |
finished |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QAnimationGroup.finished; argument details are not documented. |
group |
function | (self) -> Any |
X.group() -> PythonQt.QtCore.QAnimationGroup (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
indexOfAnimation |
function | (self, animation: Any) -> int |
X.indexOfAnimation(animation) -> int (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
insertAnimation |
function | (self, index: int, animation: Any) -> None |
X.insertAnimation(index, animation) (shared captured text) |
installEventFilter |
function | (self, filterObj: Any) -> Any |
(shared captured text) |
isSignalConnected |
function | (self, signal: Any) -> bool |
X.isSignalConnected(signal) -> bool (shared captured text) |
isWidgetType |
function | (self) -> bool |
X.isWidgetType() -> bool (shared captured text) |
isWindowType |
function | (self) -> bool |
X.isWindowType() -> bool (shared captured text) |
killTimer |
function | (self, id: Any) -> Any |
(shared captured text) |
loopCount |
attribute | Any |
(shared captured text) |
metaObject |
function | (self) -> Any |
X.metaObject() -> PythonQt.QtCore.QMetaObject (shared captured text) |
moveToThread |
function | (self, thread: Any) -> Any |
(shared captured text) |
objectName |
attribute | Any |
(shared captured text) |
objectNameChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QAnimationGroup.objectNameChanged; argument details are not documented. |
parent |
function | (self) -> Any |
X.parent() -> PythonQt.private.QObject (shared captured text) |
pause |
function | (self) -> Any |
(shared captured text) |
property |
function | (self, name: Any) -> Any |
X.property(name) -> object (shared captured text) |
removeAnimation |
function | (self, animation: Any) -> None |
Removes animation from this group. (shared captured text) |
removeEventFilter |
function | (self, obj: Any) -> Any |
(shared captured text) |
resume |
function | (self) -> Any |
(shared captured text) |
sender |
function | (self) -> Any |
X.sender() -> PythonQt.private.QObject (shared captured text) |
senderSignalIndex |
function | (self) -> int |
X.senderSignalIndex() -> int (shared captured text) |
setCurrentTime |
function | (self, msecs: Any) -> Any |
(shared captured text) |
setDirection |
function | (self, direction: Any) -> Any |
(shared captured text) |
setLoopCount |
function | (self, loopCount: Any) -> Any |
(shared captured text) |
setObjectName |
function | (self, name: Any) -> Any |
(shared captured text) |
setParent |
function | (self, parent: Any) -> Any |
(shared captured text) |
setPaused |
function | (self, a: Any) -> Any |
(shared captured text) |
setProperty |
function | (self, name: Any, value: Any) -> bool |
X.setProperty(name, value) -> bool (shared captured text) |
signalsBlocked |
function | (self) -> bool |
X.signalsBlocked() -> bool (shared captured text) |
start |
function | (self, policy: Any) -> Any |
(shared captured text) |
startTimer |
function | (self, interval: Any, timerType: Any) -> int |
X.startTimer(interval, timerType) -> int (shared captured text) |
state |
attribute | Any |
(shared captured text) |
stateChanged |
function | (self, *args: Any, **kwargs: Any) -> Any |
Native PythonQt.Qt.QAnimationGroup.stateChanged; argument details are not documented. |
stop |
function | (self) -> Any |
(shared captured text) |
takeAnimation |
function | (self, index: int) -> Any |
X.takeAnimation(index) -> PythonQt.QtCore.QAbstractAnimation (shared captured text) |
thread |
function | (self) -> Any |
(shared captured text) |
timerEvent |
function | (self, event: Any) -> Any |
(shared captured text) |
totalDuration |
function | (self) -> int |
X.totalDuration() -> int (shared captured text) |
tr |
function | (self, text: Any, ambig: Any, n: Any) -> str |
X.tr(text, ambig, n) -> str (shared captured text) |
updateCurrentTime |
function | (self, currentTime: Any) -> Any |
(shared captured text) |
updateDirection |
function | (self, direction: Any) -> Any |
(shared captured text) |
updateState |
function | (self, newState: Any, oldState: Any) -> Any |
X.updateState(newState, oldState) (shared captured text) |