![]() |
Qt 6.x
The Qt SDK
|
#include <qanimationgroupjob_p.h>
Public Types | |
using | Children = QDoubleEndedList< QAbstractAnimationJob > |
![]() | |
enum | Direction { Forward , Backward } |
enum | State { Stopped , Paused , Running } |
enum | ChangeType { Completion = 0x01 , StateChange = 0x02 , CurrentLoop = 0x04 , CurrentTime = 0x08 } |
Protected Attributes | |
Children | m_children |
![]() | |
int | m_loopCount |
QAnimationGroupJob * | m_group |
QAbstractAnimationJob::Direction | m_direction |
QAbstractAnimationJob::State | m_state |
int | m_totalCurrentTime |
int | m_currentTime |
int | m_currentLoop |
int | m_uncontrolledFinishTime |
int | m_currentLoopStartTime |
std::vector< ChangeListener > | changeListeners |
QQmlAnimationTimer * | m_timer = nullptr |
bool | m_hasRegisteredTimer:1 |
bool | m_isPause:1 |
bool | m_isGroup:1 |
bool | m_disableUserControl:1 |
bool | m_hasCurrentTimeChangeListeners:1 |
bool | m_isRenderThreadJob:1 |
bool | m_isRenderThreadProxy:1 |
Additional Inherited Members | |
![]() | |
SelfDeletable | m_selfDeletable |
Definition at line 26 of file qanimationgroupjob_p.h.
Definition at line 30 of file qanimationgroupjob_p.h.
QT_BEGIN_NAMESPACE QAnimationGroupJob::QAnimationGroupJob | ( | ) |
Definition at line 8 of file qanimationgroupjob.cpp.
References QAbstractAnimationJob::m_isGroup.
|
override |
Definition at line 30 of file qanimationgroupjob.cpp.
References animation, QDoubleEndedList< N >::first(), handleAnimationRemoved(), m_children, and ungroupChild().
|
inlineprotectedvirtual |
Reimplemented in QSequentialAnimationGroupJob.
Definition at line 49 of file qanimationgroupjob_p.h.
Referenced by appendAnimation(), and prependAnimation().
|
protectedvirtual |
Reimplemented in QSequentialAnimationGroupJob.
Definition at line 111 of file qanimationgroupjob.cpp.
References handleAnimationRemoved().
Referenced by QSequentialAnimationGroupJob::animationRemoved(), and removeAnimation().
void QAnimationGroupJob::appendAnimation | ( | QAbstractAnimationJob * | animation | ) |
Definition at line 45 of file qanimationgroupjob.cpp.
References animation, animationInserted(), QDoubleEndedList< N >::append(), m_children, and Q_ASSERT.
Referenced by QQuickParentAnimation::transition(), QQuickSequentialAnimation::transition(), QQuickParallelAnimation::transition(), QQuickSmoothedAnimation::transition(), and QQuickSpringAnimation::transition().
|
inline |
Definition at line 39 of file qanimationgroupjob_p.h.
|
inline |
Definition at line 40 of file qanimationgroupjob_p.h.
|
virtual |
Reimplemented in QSequentialAnimationGroupJob.
Definition at line 77 of file qanimationgroupjob.cpp.
References child, QDoubleEndedList< N >::first(), QDoubleEndedList< N >::isEmpty(), m_children, Q_ASSERT, and removeAnimation().
Referenced by QSequentialAnimationGroupJob::clear().
Definition at line 116 of file qanimationgroupjob.cpp.
References child, QByteArray::constData(), d, and m_children.
Referenced by QContinuingAnimationGroupJob::debugAnimation(), QParallelAnimationGroupJob::debugAnimation(), and QSequentialAnimationGroupJob::debugAnimation().
|
protected |
Definition at line 21 of file qanimationgroupjob.cpp.
References animation, QDoubleEndedList< N >::isEmpty(), m_children, QAbstractAnimationJob::m_currentTime, resetUncontrolledAnimationFinishTime(), and QAbstractAnimationJob::stop().
Referenced by ~QAnimationGroupJob(), and animationRemoved().
void QAnimationGroupJob::prependAnimation | ( | QAbstractAnimationJob * | animation | ) |
Definition at line 57 of file qanimationgroupjob.cpp.
References animation, animationInserted(), m_children, QDoubleEndedList< N >::prepend(), and Q_ASSERT.
Referenced by QQuickSequentialAnimation::transition().
void QAnimationGroupJob::removeAnimation | ( | QAbstractAnimationJob * | animation | ) |
Definition at line 69 of file qanimationgroupjob.cpp.
References animation, animationRemoved(), m_children, next, QDoubleEndedList< N >::next(), QDoubleEndedList< N >::prev(), and ungroupChild().
Referenced by QAbstractAnimationJob::~QAbstractAnimationJob(), and clear().
|
protected |
Definition at line 96 of file qanimationgroupjob.cpp.
References setUncontrolledAnimationFinishTime().
Referenced by handleAnimationRemoved(), resetUncontrolledAnimationsFinishTime(), QContinuingAnimationGroupJob::updateState(), and QParallelAnimationGroupJob::updateState().
|
protected |
Definition at line 87 of file qanimationgroupjob.cpp.
References animation, QVariantAnimation::duration, QAbstractAnimation::loopCount, m_children, and resetUncontrolledAnimationFinishTime().
|
protected |
Definition at line 101 of file qanimationgroupjob.cpp.
References QAbstractAnimationJob::m_uncontrolledFinishTime, and time.
Referenced by resetUncontrolledAnimationFinishTime(), QContinuingAnimationGroupJob::uncontrolledAnimationFinished(), QParallelAnimationGroupJob::uncontrolledAnimationFinished(), and QSequentialAnimationGroupJob::uncontrolledAnimationFinished().
|
overrideprotectedvirtual |
Reimplemented from QAbstractAnimationJob.
Definition at line 39 of file qanimationgroupjob.cpp.
References animation, and m_children.
|
virtual |
Reimplemented in QContinuingAnimationGroupJob, QParallelAnimationGroupJob, and QSequentialAnimationGroupJob.
Definition at line 106 of file qanimationgroupjob.cpp.
References animation, and Q_UNUSED.
Referenced by QAbstractAnimationJob::finished().
|
inlineprotected |
Definition at line 55 of file qanimationgroupjob_p.h.
References QAbstractAnimationJob::m_uncontrolledFinishTime.
Referenced by QContinuingAnimationGroupJob::uncontrolledAnimationFinished(), and QParallelAnimationGroupJob::uncontrolledAnimationFinished().
|
protected |
Definition at line 13 of file qanimationgroupjob.cpp.
References animation, m_children, Q_ASSERT, and QDoubleEndedList< N >::remove().
Referenced by ~QAnimationGroupJob(), and removeAnimation().
|
protected |
Definition at line 66 of file qanimationgroupjob_p.h.
Referenced by ~QAnimationGroupJob(), QSequentialAnimationGroupJob::animationInserted(), QSequentialAnimationGroupJob::animationRemoved(), appendAnimation(), clear(), debugChildren(), QParallelAnimationGroupJob::duration(), QSequentialAnimationGroupJob::duration(), handleAnimationRemoved(), prependAnimation(), removeAnimation(), resetUncontrolledAnimationsFinishTime(), topLevelAnimationLoopChanged(), QContinuingAnimationGroupJob::uncontrolledAnimationFinished(), QParallelAnimationGroupJob::uncontrolledAnimationFinished(), QSequentialAnimationGroupJob::uncontrolledAnimationFinished(), ungroupChild(), QContinuingAnimationGroupJob::updateCurrentTime(), QParallelAnimationGroupJob::updateCurrentTime(), QSequentialAnimationGroupJob::updateCurrentTime(), QContinuingAnimationGroupJob::updateDirection(), QParallelAnimationGroupJob::updateDirection(), QContinuingAnimationGroupJob::updateState(), and QParallelAnimationGroupJob::updateState().