Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQuickTransformAnimatorJob Class Reference

#include <qquickanimatorjob_p.h>

Inheritance diagram for QQuickTransformAnimatorJob:
Collaboration diagram for QQuickTransformAnimatorJob:

Classes

struct  Helper

Public Member Functions

 ~QQuickTransformAnimatorJob ()
void commit () override
void preSync () override
void setTarget (QQuickItem *item) override
Public Member Functions inherited from QQuickAnimatorJob
QQuickItemtarget () const
void setFrom (qreal from)
qreal from () const
void setTo (qreal to)
qreal to () const
void setDuration (int duration)
int duration () const override
QEasingCurve easingCurve () const
void setEasingCurve (const QEasingCurve &curve)
virtual void initialize (QQuickAnimatorController *controller)
virtual void writeBack ()=0
virtual void postSync ()
bool isTransform () const
bool isUniform () const
qreal value () const
QQuickAnimatorControllercontroller () const
Public Member Functions inherited from QAbstractAnimationJob
 QAbstractAnimationJob ()
virtual ~QAbstractAnimationJob ()
QAnimationGroupJobgroup () const
int loopCount () const
void setLoopCount (int loopCount)
int totalDuration () const
QAbstractAnimationJob::Direction direction () const
void setDirection (QAbstractAnimationJob::Direction direction)
int currentTime () const
int currentLoopTime () const
int currentLoop () const
QAbstractAnimationJob::State state () const
bool isRunning ()
bool isStopped ()
bool isPaused ()
void setDisableUserControl ()
void setEnableUserControl ()
bool userControlDisabled () const
void setCurrentTime (int msecs)
void start ()
void pause ()
void resume ()
void stop ()
void complete ()
void addAnimationChangeListener (QAnimationJobChangeListener *listener, QAbstractAnimationJob::ChangeTypes)
void removeAnimationChangeListener (QAnimationJobChangeListener *listener, QAbstractAnimationJob::ChangeTypes)
bool isGroup () const
bool isRenderThreadJob () const
bool isRenderThreadProxy () const
Public Member Functions inherited from QInheritedListNode
 ~QInheritedListNode ()
bool isInList () const

Protected Member Functions

 QQuickTransformAnimatorJob ()
void invalidate () override
Protected Member Functions inherited from QQuickAnimatorJob
 QQuickAnimatorJob ()
void debugAnimation (QDebug d) const override
qreal progress (int time) const
void boundValue ()
Protected Member Functions inherited from QAbstractAnimationJob
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 ()
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

Helperm_helper
Protected Attributes inherited from QQuickAnimatorJob
QPointer< QQuickItemm_target
QQuickAnimatorControllerm_controller
qreal m_from
qreal m_to
qreal m_value
QEasingCurve m_easing
int m_duration
uint m_isTransform: 1
uint m_isUniform: 1
Protected Attributes inherited from QAbstractAnimationJob
int m_loopCount
QAnimationGroupJobm_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< ChangeListenerchangeListeners
QQmlAnimationTimerm_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

Public Types inherited from QAbstractAnimationJob
enum  Direction { Forward , Backward }
enum  State { Stopped , Paused , Running }
enum  ChangeType { Completion = 0x01 , StateChange = 0x02 , CurrentLoop = 0x04 , CurrentTime = 0x08 }
Public Attributes inherited from QAbstractAnimationJob
SelfDeletable m_selfDeletable

Detailed Description

Definition at line 160 of file qquickanimatorjob_p.h.

Constructor & Destructor Documentation

◆ ~QQuickTransformAnimatorJob()

QQuickTransformAnimatorJob::~QQuickTransformAnimatorJob ( )

Definition at line 288 of file qquickanimatorjob.cpp.

References m_helper.

◆ QQuickTransformAnimatorJob()

QQuickTransformAnimatorJob::QQuickTransformAnimatorJob ( )
protected

Definition at line 282 of file qquickanimatorjob.cpp.

References m_helper.

Member Function Documentation

◆ commit()

void QQuickTransformAnimatorJob::commit ( )
overridevirtual

Reimplemented from QQuickAnimatorJob.

Definition at line 403 of file qquickanimatorjob.cpp.

References QQuickTransformAnimatorJob::Helper::commit(), and m_helper.

Here is the call graph for this function:

◆ invalidate()

void QQuickTransformAnimatorJob::invalidate ( )
overrideprotectedvirtual

Implements QQuickAnimatorJob.

Definition at line 335 of file qquickanimatorjob.cpp.

References m_helper.

Referenced by preSync().

Here is the caller graph for this function:

◆ preSync()

void QQuickTransformAnimatorJob::preSync ( )
overridevirtual

Reimplemented from QQuickAnimatorJob.

Definition at line 304 of file qquickanimatorjob.cpp.

References invalidate(), m_helper, and QQuickTransformAnimatorJob::Helper::sync().

Here is the call graph for this function:

◆ setTarget()

void QQuickTransformAnimatorJob::setTarget ( QQuickItem * item)
overridevirtual

Reimplemented from QQuickAnimatorJob.

Definition at line 294 of file qquickanimatorjob.cpp.

References m_helper.

Member Data Documentation

◆ m_helper

Helper* QQuickTransformAnimatorJob::m_helper
protected

The documentation for this class was generated from the following files: