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

#include <qquicktransition_p.h>

+ Inheritance diagram for QQuickTransitionInstance:
+ Collaboration diagram for QQuickTransitionInstance:

Public Member Functions

 QQuickTransitionInstance (QQuickTransition *transition, QAbstractAnimationJob *anim)
 
 ~QQuickTransitionInstance ()
 
void start ()
 
void stop ()
 
void complete ()
 
bool isRunning () const
 

Protected Member Functions

void animationStateChanged (QAbstractAnimationJob *, QAbstractAnimationJob::State, QAbstractAnimationJob::State) override
 
void removeStateChangeListener ()
 

Friends

class QQuickTransition
 

Detailed Description

Definition at line 32 of file qquicktransition_p.h.

Constructor & Destructor Documentation

◆ QQuickTransitionInstance()

QQuickTransitionInstance::QQuickTransitionInstance ( QQuickTransition * transition,
QAbstractAnimationJob * anim )

Definition at line 176 of file qquicktransition.cpp.

References QAbstractAnimationJob::addAnimationChangeListener(), and QAbstractAnimationJob::StateChange.

+ Here is the call graph for this function:

◆ ~QQuickTransitionInstance()

QQuickTransitionInstance::~QQuickTransitionInstance ( )

Definition at line 183 of file qquicktransition.cpp.

References removeStateChangeListener().

+ Here is the call graph for this function:

Member Function Documentation

◆ animationStateChanged()

void QQuickTransitionInstance::animationStateChanged ( QAbstractAnimationJob * ,
QAbstractAnimationJob::State newState,
QAbstractAnimationJob::State  )
overrideprotectedvirtual

Reimplemented from QAnimationJobChangeListener.

Definition at line 141 of file qquicktransition.cpp.

References QQuickTransitionPrivate::animationStateChanged(), QQuickTransitionPrivate::get(), and newState().

+ Here is the call graph for this function:

◆ complete()

void QQuickTransitionInstance::complete ( )

Definition at line 201 of file qquicktransition.cpp.

References QAbstractAnimationJob::complete().

+ Here is the call graph for this function:

◆ isRunning()

bool QQuickTransitionInstance::isRunning ( ) const

Definition at line 207 of file qquicktransition.cpp.

References QAbstractAnimationJob::Running, and QAbstractAnimationJob::state().

Referenced by QQuickTransitionManager::cancel(), and QQuickTransitionManager::isRunning().

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

◆ removeStateChangeListener()

void QQuickTransitionInstance::removeStateChangeListener ( )
inlineprotected

Definition at line 47 of file qquicktransition_p.h.

References QAbstractAnimationJob::removeAnimationChangeListener(), and QAbstractAnimationJob::StateChange.

Referenced by ~QQuickTransitionInstance().

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

◆ start()

void QQuickTransitionInstance::start ( )

Definition at line 189 of file qquicktransition.cpp.

References QAbstractAnimationJob::start().

Referenced by QQuickTransitionManager::transition().

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

◆ stop()

void QQuickTransitionInstance::stop ( )

Definition at line 195 of file qquicktransition.cpp.

References QAbstractAnimationJob::stop().

Referenced by QQuickTransitionManager::cancel().

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

Friends And Related Symbol Documentation

◆ QQuickTransition

friend class QQuickTransition
friend

Definition at line 55 of file qquicktransition_p.h.


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