Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 159 of file qquickanimatorjob_p.h.

Constructor & Destructor Documentation

◆ ~QQuickTransformAnimatorJob()

QQuickTransformAnimatorJob::~QQuickTransformAnimatorJob ( )

Definition at line 287 of file qquickanimatorjob.cpp.

References m_helper.

◆ QQuickTransformAnimatorJob()

QQuickTransformAnimatorJob::QQuickTransformAnimatorJob ( )
protected

Definition at line 281 of file qquickanimatorjob.cpp.

References QQuickAnimatorJob::m_isTransform.

Member Function Documentation

◆ commit()

void QQuickTransformAnimatorJob::commit ( )
overridevirtual

Reimplemented from QQuickAnimatorJob.

Definition at line 402 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 334 of file qquickanimatorjob.cpp.

References m_helper, and QQuickTransformAnimatorJob::Helper::node.

Referenced by preSync().

+ Here is the caller graph for this function:

◆ preSync()

void QQuickTransformAnimatorJob::preSync ( )
overridevirtual

Reimplemented from QQuickAnimatorJob.

Definition at line 303 of file qquickanimatorjob.cpp.

References invalidate(), QQuickTransformAnimatorJob::Helper::item, m_helper, QQuickAnimatorJob::m_target, QQuickTransformAnimatorJob::Helper::sync(), and QQuickTransformAnimatorJob::Helper::wasSynced.

+ Here is the call graph for this function:

◆ setTarget()

void QQuickTransformAnimatorJob::setTarget ( QQuickItem * item)
overridevirtual

Reimplemented from QQuickAnimatorJob.

Definition at line 293 of file qquickanimatorjob.cpp.

References item, m_helper, QQuickAnimatorJob::m_target, QQuickAnimatorJob::setTarget(), and QQuickTransformAnimatorJob::Helper::wasSynced.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_helper


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