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

#include <qquicksmoothedanimation_p_p.h>

Inheritance diagram for QSmoothedAnimation:
Collaboration diagram for QSmoothedAnimation:

Public Member Functions

 QSmoothedAnimation (QQuickSmoothedAnimationPrivate *=nullptr)
 ~QSmoothedAnimation ()
int duration () const override
void restart ()
void init ()
void prepareForRestart ()
void clearTemplate ()
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

Public Attributes

qreal to
qreal velocity
int userDuration
int maximumEasingTime
QQuickSmoothedAnimation::ReversingMode reversingMode
qreal initialVelocity
qreal trackVelocity
QQmlProperty target
Public Attributes inherited from QAbstractAnimationJob
SelfDeletable m_selfDeletable

Protected Member Functions

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

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 }
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 42 of file qquicksmoothedanimation_p_p.h.

Constructor & Destructor Documentation

◆ QSmoothedAnimation()

QSmoothedAnimation::QSmoothedAnimation ( QQuickSmoothedAnimationPrivate * priv = nullptr)

Definition at line 41 of file qquicksmoothedanimation.cpp.

◆ ~QSmoothedAnimation()

QSmoothedAnimation::~QSmoothedAnimation ( )

Definition at line 51 of file qquicksmoothedanimation.cpp.

Member Function Documentation

◆ clearTemplate()

void QSmoothedAnimation::clearTemplate ( )
inline

Definition at line 66 of file qquicksmoothedanimation_p_p.h.

◆ debugAnimation()

void QSmoothedAnimation::debugAnimation ( QDebug d) const
overrideprotectedvirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 277 of file qquicksmoothedanimation.cpp.

◆ duration()

int QSmoothedAnimation::duration ( ) const
overridevirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 106 of file qquicksmoothedanimation.cpp.

◆ init()

void QSmoothedAnimation::init ( )

Definition at line 224 of file qquicksmoothedanimation.cpp.

◆ prepareForRestart()

void QSmoothedAnimation::prepareForRestart ( )

Definition at line 80 of file qquicksmoothedanimation.cpp.

◆ restart()

void QSmoothedAnimation::restart ( )

Definition at line 71 of file qquicksmoothedanimation.cpp.

◆ updateCurrentTime()

void QSmoothedAnimation::updateCurrentTime ( int t)
overrideprotectedvirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 205 of file qquicksmoothedanimation.cpp.

◆ updateState()

void QSmoothedAnimation::updateState ( QAbstractAnimationJob::State newState,
QAbstractAnimationJob::State  )
overrideprotectedvirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 94 of file qquicksmoothedanimation.cpp.

Member Data Documentation

◆ initialVelocity

qreal QSmoothedAnimation::initialVelocity

Definition at line 56 of file qquicksmoothedanimation_p_p.h.

◆ maximumEasingTime

int QSmoothedAnimation::maximumEasingTime

Definition at line 53 of file qquicksmoothedanimation_p_p.h.

◆ reversingMode

QQuickSmoothedAnimation::ReversingMode QSmoothedAnimation::reversingMode

Definition at line 54 of file qquicksmoothedanimation_p_p.h.

◆ target

QQmlProperty QSmoothedAnimation::target

Definition at line 59 of file qquicksmoothedanimation_p_p.h.

◆ to

qreal QSmoothedAnimation::to

Definition at line 49 of file qquicksmoothedanimation_p_p.h.

◆ trackVelocity

qreal QSmoothedAnimation::trackVelocity

Definition at line 57 of file qquicksmoothedanimation_p_p.h.

◆ userDuration

int QSmoothedAnimation::userDuration

Definition at line 51 of file qquicksmoothedanimation_p_p.h.

◆ velocity

qreal QSmoothedAnimation::velocity

Definition at line 50 of file qquicksmoothedanimation_p_p.h.


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