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

#include <qsvgabstractanimation_p.h>

Inheritance diagram for QSvgAbstractAnimation:
Collaboration diagram for QSvgAbstractAnimation:

Public Types

enum  AnimationType { CSS , SMIL }

Public Member Functions

 QSvgAbstractAnimation ()
virtual ~QSvgAbstractAnimation ()
virtual AnimationType animationType () const =0
void evaluateAnimation (qreal elapsedTime)
void setRunningTime (int startMs, int durationMs)
int start () const
int duration () const
void setIterationCount (int count)
int iterationCount () const
virtual void appendProperty (QSvgAbstractAnimatedProperty *property)
QList< QSvgAbstractAnimatedProperty * > properties () const
bool finished () const
virtual bool isActive () const

Protected Attributes

int m_start
int m_duration
bool m_finished
int m_iterationCount
QList< QSvgAbstractAnimatedProperty * > m_properties

Detailed Description

Definition at line 24 of file qsvgabstractanimation_p.h.

Member Enumeration Documentation

◆ AnimationType

Enumerator
CSS 
SMIL 

Definition at line 27 of file qsvgabstractanimation_p.h.

Constructor & Destructor Documentation

◆ QSvgAbstractAnimation()

QT_BEGIN_NAMESPACE QSvgAbstractAnimation::QSvgAbstractAnimation ( )

Definition at line 8 of file qsvgabstractanimation.cpp.

◆ ~QSvgAbstractAnimation()

QSvgAbstractAnimation::~QSvgAbstractAnimation ( )
virtual

Definition at line 17 of file qsvgabstractanimation.cpp.

Member Function Documentation

◆ animationType()

virtual AnimationType QSvgAbstractAnimation::animationType ( ) const
pure virtual

Implemented in QSvgAnimateNode, and QSvgCssAnimation.

◆ appendProperty()

void QSvgAbstractAnimation::appendProperty ( QSvgAbstractAnimatedProperty * property)
virtual

Definition at line 23 of file qsvgabstractanimation.cpp.

◆ duration()

int QSvgAbstractAnimation::duration ( ) const

Definition at line 84 of file qsvgabstractanimation.cpp.

◆ evaluateAnimation()

void QSvgAbstractAnimation::evaluateAnimation ( qreal elapsedTime)

Definition at line 43 of file qsvgabstractanimation.cpp.

◆ finished()

bool QSvgAbstractAnimation::finished ( ) const

Definition at line 33 of file qsvgabstractanimation.cpp.

◆ isActive()

bool QSvgAbstractAnimation::isActive ( ) const
virtual

Reimplemented in QSvgAnimateNode.

Definition at line 38 of file qsvgabstractanimation.cpp.

◆ iterationCount()

int QSvgAbstractAnimation::iterationCount ( ) const

Definition at line 94 of file qsvgabstractanimation.cpp.

◆ properties()

QList< QSvgAbstractAnimatedProperty * > QSvgAbstractAnimation::properties ( ) const

Definition at line 28 of file qsvgabstractanimation.cpp.

◆ setIterationCount()

void QSvgAbstractAnimation::setIterationCount ( int count)

Definition at line 89 of file qsvgabstractanimation.cpp.

◆ setRunningTime()

void QSvgAbstractAnimation::setRunningTime ( int startMs,
int durationMs )

Definition at line 73 of file qsvgabstractanimation.cpp.

◆ start()

int QSvgAbstractAnimation::start ( ) const

Definition at line 79 of file qsvgabstractanimation.cpp.

Member Data Documentation

◆ m_duration

int QSvgAbstractAnimation::m_duration
protected

Definition at line 54 of file qsvgabstractanimation_p.h.

◆ m_finished

bool QSvgAbstractAnimation::m_finished
protected

Definition at line 55 of file qsvgabstractanimation_p.h.

◆ m_iterationCount

int QSvgAbstractAnimation::m_iterationCount
protected

Definition at line 56 of file qsvgabstractanimation_p.h.

◆ m_properties

QList<QSvgAbstractAnimatedProperty *> QSvgAbstractAnimation::m_properties
protected

Definition at line 57 of file qsvgabstractanimation_p.h.

◆ m_start

int QSvgAbstractAnimation::m_start
protected

Definition at line 53 of file qsvgabstractanimation_p.h.


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