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
QSvgAbstractAnimator Class Referenceabstract

#include <qsvganimator_p.h>

Inheritance diagram for QSvgAbstractAnimator:
Collaboration diagram for QSvgAbstractAnimator:

Public Member Functions

 QSvgAbstractAnimator ()=default
virtual ~QSvgAbstractAnimator ()
void appendAnimation (const QSvgNode *node, QSvgAbstractAnimation *anim)
QList< QSvgAbstractAnimation * > animationsForNode (const QSvgNode *node) const
void advanceAnimations ()
virtual void restartAnimation ()=0
virtual qint64 currentElapsed ()=0
virtual void setAnimatorTime (qint64 time)=0
void setAnimationDuration (qint64 dur)
qint64 animationDuration () const

Protected Attributes

qint64 m_time {0}
qint64 m_animationDuration {0}

Detailed Description

Definition at line 29 of file qsvganimator_p.h.

Constructor & Destructor Documentation

◆ QSvgAbstractAnimator()

QSvgAbstractAnimator::QSvgAbstractAnimator ( )
default

◆ ~QSvgAbstractAnimator()

QT_BEGIN_NAMESPACE QSvgAbstractAnimator::~QSvgAbstractAnimator ( )
virtual

Definition at line 12 of file qsvganimator.cpp.

Member Function Documentation

◆ advanceAnimations()

void QSvgAbstractAnimator::advanceAnimations ( )

Definition at line 39 of file qsvganimator.cpp.

◆ animationDuration()

qint64 QSvgAbstractAnimator::animationDuration ( ) const

Definition at line 55 of file qsvganimator.cpp.

◆ animationsForNode()

QList< QSvgAbstractAnimation * > QSvgAbstractAnimator::animationsForNode ( const QSvgNode * node) const

Definition at line 34 of file qsvganimator.cpp.

◆ appendAnimation()

void QSvgAbstractAnimator::appendAnimation ( const QSvgNode * node,
QSvgAbstractAnimation * anim )

Definition at line 23 of file qsvganimator.cpp.

◆ currentElapsed()

virtual qint64 QSvgAbstractAnimator::currentElapsed ( )
pure virtual

Implemented in QSvgAnimationController, and QSvgAnimator.

◆ restartAnimation()

virtual void QSvgAbstractAnimator::restartAnimation ( )
pure virtual

Implemented in QSvgAnimationController, and QSvgAnimator.

◆ setAnimationDuration()

void QSvgAbstractAnimator::setAnimationDuration ( qint64 dur)

Definition at line 50 of file qsvganimator.cpp.

◆ setAnimatorTime()

virtual void QSvgAbstractAnimator::setAnimatorTime ( qint64 time)
pure virtual

Implemented in QSvgAnimationController, and QSvgAnimator.

Member Data Documentation

◆ m_animationDuration

qint64 QSvgAbstractAnimator::m_animationDuration {0}
protected

Definition at line 49 of file qsvganimator_p.h.

◆ m_time

qint64 QSvgAbstractAnimator::m_time {0}
protected

Definition at line 48 of file qsvganimator_p.h.


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