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
QQuickBoundaryReturnJob Class Reference
Inheritance diagram for QQuickBoundaryReturnJob:
Collaboration diagram for QQuickBoundaryReturnJob:

Public Member Functions

 QQuickBoundaryReturnJob (QQuickBoundaryRulePrivate *br, qreal to)
int duration () const override
void updateCurrentTime (int) override
void updateState (QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState) override
 QQuickBoundaryReturnJob (QQuickBoundaryRulePrivate *br, qreal to)
int duration () const override
void updateCurrentTime (int) override
void updateState (QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState) override
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

QQuickBoundaryRulePrivateboundaryRule
qreal fromValue
qreal toValue
Public Attributes inherited from QAbstractAnimationJob
SelfDeletable m_selfDeletable

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 Member Functions inherited from QAbstractAnimationJob
virtual void updateLoopCount (int)
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 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 49 of file qquickboundaryrule.cpp.

Constructor & Destructor Documentation

◆ QQuickBoundaryReturnJob() [1/2]

QQuickBoundaryReturnJob::QQuickBoundaryReturnJob ( QQuickBoundaryRulePrivate * br,
qreal to )
inline

Definition at line 52 of file qquickboundaryrule.cpp.

References QQuickBoundaryReturnJob(), and boundaryRule.

Referenced by QQuickBoundaryReturnJob().

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

◆ QQuickBoundaryReturnJob() [2/2]

QQuickBoundaryReturnJob::QQuickBoundaryReturnJob ( QQuickBoundaryRulePrivate * br,
qreal to )
inline

Definition at line 52 of file qquickboundaryrule.cpp.

Member Function Documentation

◆ duration() [1/2]

int QQuickBoundaryReturnJob::duration ( ) const
inlineoverridevirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 58 of file qquickboundaryrule.cpp.

References boundaryRule, and QQuickBoundaryRulePrivate::returnDuration.

Referenced by updateCurrentTime().

Here is the caller graph for this function:

◆ duration() [2/2]

int QQuickBoundaryReturnJob::duration ( ) const
inlineoverridevirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 58 of file qquickboundaryrule.cpp.

◆ updateCurrentTime() [1/2]

void QQuickBoundaryReturnJob::updateCurrentTime ( int t)
overridevirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 70 of file qquickboundaryrule.cpp.

References boundaryRule, and duration().

Here is the call graph for this function:

◆ updateCurrentTime() [2/2]

void QQuickBoundaryReturnJob::updateCurrentTime ( int )
overridevirtual

Reimplemented from QAbstractAnimationJob.

◆ updateState() [1/2]

void QQuickBoundaryReturnJob::updateState ( QAbstractAnimationJob::State newState,
QAbstractAnimationJob::State oldState )
overridevirtual

Reimplemented from QAbstractAnimationJob.

Definition at line 84 of file qquickboundaryrule.cpp.

References boundaryRule, QQuickBoundaryRulePrivate::onAnimationEnded(), and QQuickBoundaryRulePrivate::resetOvershoot().

Here is the call graph for this function:

◆ updateState() [2/2]

void QQuickBoundaryReturnJob::updateState ( QAbstractAnimationJob::State newState,
QAbstractAnimationJob::State oldState )
overridevirtual

Reimplemented from QAbstractAnimationJob.

Member Data Documentation

◆ boundaryRule

QQuickBoundaryRulePrivate * QQuickBoundaryReturnJob::boundaryRule

◆ fromValue

qreal QQuickBoundaryReturnJob::fromValue

Definition at line 66 of file qquickboundaryrule.cpp.

◆ toValue

qreal QQuickBoundaryReturnJob::toValue

Definition at line 67 of file qquickboundaryrule.cpp.


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