![]() |
Qt 6.x
The Qt SDK
|
#include <qquickanimatorjob_p.h>
Protected Member Functions | |
QQuickAnimatorJob () | |
void | debugAnimation (QDebug d) const override |
qreal | progress (int time) const |
void | boundValue () |
![]() | |
virtual void | updateCurrentTime (int) |
virtual void | updateLoopCount (int) |
virtual void | updateState (QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState) |
virtual void | updateDirection (QAbstractAnimationJob::Direction direction) |
virtual void | topLevelAnimationLoopChanged () |
virtual void | debugAnimation (QDebug d) const |
void | fireTopLevelAnimationLoopChanged () |
void | setState (QAbstractAnimationJob::State state) |
void | finished () |
void | stateChanged (QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState) |
void | currentLoopChanged () |
void | directionChanged (QAbstractAnimationJob::Direction) |
void | currentTimeChanged (int currentTime) |
Protected Attributes | |
QPointer< QQuickItem > | m_target |
QQuickAnimatorController * | m_controller |
qreal | m_from |
qreal | m_to |
qreal | m_value |
QEasingCurve | m_easing |
int | m_duration |
uint | m_isTransform: 1 |
uint | m_isUniform: 1 |
![]() | |
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 | |
![]() | |
enum | Direction { Forward , Backward } |
enum | State { Stopped , Paused , Running } |
enum | ChangeType { Completion = 0x01 , StateChange = 0x02 , CurrentLoop = 0x04 , CurrentTime = 0x08 } |
![]() | |
SelfDeletable | m_selfDeletable |
Definition at line 80 of file qquickanimatorjob_p.h.
|
protected |
Definition at line 224 of file qquickanimatorjob.cpp.
References QAbstractAnimationJob::m_isRenderThreadJob.
|
protected |
|
inlinevirtual |
Reimplemented in QQuickTransformAnimatorJob.
Definition at line 127 of file qquickanimatorjob_p.h.
Referenced by QQuickAnimatorController::animationStateChanged().
|
inline |
Definition at line 134 of file qquickanimatorjob_p.h.
Referenced by initialize().
Reimplemented from QAbstractAnimationJob.
Definition at line 237 of file qquickanimatorjob.cpp.
References d, Qt::dec(), duration(), Qt::hex(), m_target, m_value, and QAbstractAnimationJob::state().
|
inlineoverridevirtual |
Reimplemented from QAbstractAnimationJob.
Definition at line 99 of file qquickanimatorjob_p.h.
Referenced by debugAnimation().
|
inline |
Definition at line 101 of file qquickanimatorjob_p.h.
|
inline |
Definition at line 90 of file qquickanimatorjob_p.h.
|
virtual |
Definition at line 276 of file qquickanimatorjob.cpp.
References controller(), and m_controller.
|
pure virtual |
Implemented in QQuickTransformAnimatorJob, and QQuickOpacityAnimatorJob.
|
inline |
Definition at line 129 of file qquickanimatorjob_p.h.
|
inline |
Definition at line 130 of file qquickanimatorjob_p.h.
|
inlinevirtual |
Reimplemented in QQuickOpacityAnimatorJob.
Definition at line 122 of file qquickanimatorjob_p.h.
|
inlinevirtual |
Reimplemented in QQuickTransformAnimatorJob.
Definition at line 118 of file qquickanimatorjob_p.h.
|
protected |
Definition at line 244 of file qquickanimatorjob.cpp.
References m_duration, m_easing, time, and QEasingCurve::valueForProgress().
Referenced by QQuickScaleAnimatorJob::updateCurrentTime(), QQuickXAnimatorJob::updateCurrentTime(), QQuickYAnimatorJob::updateCurrentTime(), QQuickRotationAnimatorJob::updateCurrentTime(), and QQuickOpacityAnimatorJob::updateCurrentTime().
|
inline |
Definition at line 98 of file qquickanimatorjob_p.h.
References QAbstractAnimationJob::duration().
Referenced by QQuickAnimatorPrivate::apply().
|
inline |
Definition at line 102 of file qquickanimatorjob_p.h.
Referenced by QQuickAnimatorPrivate::apply().
Definition at line 86 of file qquickanimatorjob_p.h.
Referenced by QQuickAnimatorPrivate::apply().
|
virtual |
Reimplemented in QQuickTransformAnimatorJob.
Definition at line 271 of file qquickanimatorjob.cpp.
References m_target, and target().
Referenced by QQuickAnimatorPrivate::apply(), and QQuickTransformAnimatorJob::setTarget().
Definition at line 92 of file qquickanimatorjob_p.h.
Referenced by QQuickAnimatorPrivate::apply().
|
inline |
Definition at line 84 of file qquickanimatorjob_p.h.
Referenced by QQuickAnimatorPrivate::apply(), setTarget(), and QQuickAnimator::transition().
|
inline |
Definition at line 96 of file qquickanimatorjob_p.h.
qreal QQuickAnimatorJob::value | ( | ) | const |
Definition at line 260 of file qquickanimatorjob.cpp.
References QQuickAnimatorController::lock(), m_controller, m_to, m_value, QQuickAnimatorController::unlock(), and value().
Referenced by value(), QQuickScaleAnimatorJob::writeBack(), QQuickXAnimatorJob::writeBack(), QQuickYAnimatorJob::writeBack(), QQuickRotationAnimatorJob::writeBack(), and QQuickOpacityAnimatorJob::writeBack().
|
pure virtual |
Implemented in QQuickScaleAnimatorJob, QQuickXAnimatorJob, QQuickYAnimatorJob, QQuickRotationAnimatorJob, and QQuickOpacityAnimatorJob.
|
protected |
Definition at line 144 of file qquickanimatorjob_p.h.
Referenced by initialize(), and value().
|
protected |
Definition at line 152 of file qquickanimatorjob_p.h.
Referenced by progress().
|
protected |
Definition at line 150 of file qquickanimatorjob_p.h.
Referenced by progress().
|
protected |
Definition at line 146 of file qquickanimatorjob_p.h.
Referenced by boundValue(), QQuickScaleAnimatorJob::updateCurrentTime(), QQuickXAnimatorJob::updateCurrentTime(), QQuickYAnimatorJob::updateCurrentTime(), QQuickRotationAnimatorJob::updateCurrentTime(), and QQuickOpacityAnimatorJob::updateCurrentTime().
|
protected |
Definition at line 154 of file qquickanimatorjob_p.h.
Referenced by QQuickTransformAnimatorJob::QQuickTransformAnimatorJob().
|
protected |
Definition at line 155 of file qquickanimatorjob_p.h.
|
protected |
Definition at line 143 of file qquickanimatorjob_p.h.
Referenced by debugAnimation(), QQuickOpacityAnimatorJob::postSync(), QQuickTransformAnimatorJob::preSync(), QQuickTransformAnimatorJob::setTarget(), setTarget(), QQuickScaleAnimatorJob::writeBack(), QQuickXAnimatorJob::writeBack(), QQuickYAnimatorJob::writeBack(), QQuickRotationAnimatorJob::writeBack(), and QQuickOpacityAnimatorJob::writeBack().
|
protected |
Definition at line 147 of file qquickanimatorjob_p.h.
Referenced by boundValue(), QQuickScaleAnimatorJob::updateCurrentTime(), QQuickXAnimatorJob::updateCurrentTime(), QQuickYAnimatorJob::updateCurrentTime(), QQuickRotationAnimatorJob::updateCurrentTime(), QQuickOpacityAnimatorJob::updateCurrentTime(), and value().
|
protected |
Definition at line 148 of file qquickanimatorjob_p.h.
Referenced by boundValue(), debugAnimation(), QQuickScaleAnimatorJob::updateCurrentTime(), QQuickXAnimatorJob::updateCurrentTime(), QQuickYAnimatorJob::updateCurrentTime(), QQuickRotationAnimatorJob::updateCurrentTime(), QQuickOpacityAnimatorJob::updateCurrentTime(), and value().