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
QQuickBulkValueAnimator Class Reference

#include <qquickanimation_p_p.h>

+ Inheritance diagram for QQuickBulkValueAnimator:
+ Collaboration diagram for QQuickBulkValueAnimator:

Public Member Functions

 QQuickBulkValueAnimator ()
 
 ~QQuickBulkValueAnimator () override
 
void setAnimValue (QQuickBulkValueUpdater *value)
 
QQuickBulkValueUpdatergetAnimValue () const
 
void setFromIsSourcedValue (bool *value)
 
int duration () const override
 
void setDuration (int msecs)
 
QEasingCurve easingCurve () const
 
void setEasingCurve (const QEasingCurve &curve)
 
- 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

void updateCurrentTime (int currentTime) override
 
void topLevelAnimationLoopChanged () override
 
void debugAnimation (QDebug d) const override
 
- Protected Member Functions inherited from QAbstractAnimationJob
virtual void updateLoopCount (int)
 
virtual void updateState (QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState)
 
virtual void updateDirection (QAbstractAnimationJob::Direction direction)
 
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)
 

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
 
- 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
 

Detailed Description

Definition at line 92 of file qquickanimation_p_p.h.

Constructor & Destructor Documentation

◆ QQuickBulkValueAnimator()

QQuickBulkValueAnimator::QQuickBulkValueAnimator ( )

Definition at line 2038 of file qquickanimation.cpp.

◆ ~QQuickBulkValueAnimator()

QQuickBulkValueAnimator::~QQuickBulkValueAnimator ( )
override

Definition at line 2043 of file qquickanimation.cpp.

Member Function Documentation

◆ debugAnimation()

void QQuickBulkValueAnimator::debugAnimation ( QDebug d) const
overrideprotectedvirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 2075 of file qquickanimation.cpp.

References d, QQuickBulkValueUpdater::debugUpdater(), Qt::dec(), duration(), QAbstractAnimationJob::group(), and Qt::hex().

+ Here is the call graph for this function:

◆ duration()

int QQuickBulkValueAnimator::duration ( ) const
inlineoverridevirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 104 of file qquickanimation_p_p.h.

Referenced by debugAnimation().

+ Here is the caller graph for this function:

◆ easingCurve()

QEasingCurve QQuickBulkValueAnimator::easingCurve ( ) const
inline

Definition at line 107 of file qquickanimation_p_p.h.

References easing.

◆ getAnimValue()

QQuickBulkValueUpdater * QQuickBulkValueAnimator::getAnimValue ( ) const
inline

Definition at line 100 of file qquickanimation_p_p.h.

◆ setAnimValue()

void QQuickBulkValueAnimator::setAnimValue ( QQuickBulkValueUpdater * value)

Definition at line 2048 of file qquickanimation.cpp.

References QAbstractAnimationJob::isRunning(), and QAbstractAnimationJob::stop().

Referenced by QQuickAnchorAnimation::transition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setDuration()

void QQuickBulkValueAnimator::setDuration ( int msecs)
inline

Definition at line 105 of file qquickanimation_p_p.h.

Referenced by QQuickPropertyAnimation::transition().

+ Here is the caller graph for this function:

◆ setEasingCurve()

void QQuickBulkValueAnimator::setEasingCurve ( const QEasingCurve & curve)
inline

Definition at line 108 of file qquickanimation_p_p.h.

References easing.

◆ setFromIsSourcedValue()

void QQuickBulkValueAnimator::setFromIsSourcedValue ( bool * value)
inline

Definition at line 102 of file qquickanimation_p_p.h.

◆ topLevelAnimationLoopChanged()

void QQuickBulkValueAnimator::topLevelAnimationLoopChanged ( )
overrideprotectedvirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 2066 of file qquickanimation.cpp.

References QAbstractAnimationJob::m_loopCount, and QAbstractAnimationJob::topLevelAnimationLoopChanged().

+ Here is the call graph for this function:

◆ updateCurrentTime()

void QQuickBulkValueAnimator::updateCurrentTime ( int currentTime)
overrideprotectedvirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 2055 of file qquickanimation.cpp.

References QAbstractAnimationJob::currentTime(), QAbstractAnimationJob::isStopped(), QQuickBulkValueUpdater::setValue(), and QEasingCurve::valueForProgress().

+ Here is the call graph for this function:

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