![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsvgabstractanimation_p.h>
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 |
| void | setEasing (QSvgEasingInterfacePtr easing) |
| QSvgEasingInterface * | easing () 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 |
| QSvgEasingInterfacePtr | m_easing |
| QList< QSvgAbstractAnimatedProperty * > | m_properties |
Definition at line 27 of file qsvgabstractanimation_p.h.
| Enumerator | |
|---|---|
| CSS | |
| SMIL | |
Definition at line 30 of file qsvgabstractanimation_p.h.
| QT_BEGIN_NAMESPACE QSvgAbstractAnimation::QSvgAbstractAnimation | ( | ) |
Definition at line 10 of file qsvgabstractanimation.cpp.
|
virtual |
Definition at line 18 of file qsvgabstractanimation.cpp.
|
pure virtual |
Implemented in QSvgAnimateNode, and QSvgCssAnimation.
|
virtual |
Definition at line 24 of file qsvgabstractanimation.cpp.
| int QSvgAbstractAnimation::duration | ( | ) | const |
Definition at line 86 of file qsvgabstractanimation.cpp.
| QSvgEasingInterface * QSvgAbstractAnimation::easing | ( | ) | const |
Definition at line 106 of file qsvgabstractanimation.cpp.
Definition at line 44 of file qsvgabstractanimation.cpp.
| bool QSvgAbstractAnimation::finished | ( | ) | const |
Definition at line 34 of file qsvgabstractanimation.cpp.
|
virtual |
Reimplemented in QSvgAnimateNode.
Definition at line 39 of file qsvgabstractanimation.cpp.
| int QSvgAbstractAnimation::iterationCount | ( | ) | const |
Definition at line 96 of file qsvgabstractanimation.cpp.
| QList< QSvgAbstractAnimatedProperty * > QSvgAbstractAnimation::properties | ( | ) | const |
Definition at line 29 of file qsvgabstractanimation.cpp.
| void QSvgAbstractAnimation::setEasing | ( | QSvgEasingInterfacePtr | easing | ) |
Definition at line 101 of file qsvgabstractanimation.cpp.
| void QSvgAbstractAnimation::setIterationCount | ( | int | count | ) |
Definition at line 91 of file qsvgabstractanimation.cpp.
| void QSvgAbstractAnimation::setRunningTime | ( | int | startMs, |
| int | durationMs ) |
Definition at line 75 of file qsvgabstractanimation.cpp.
| int QSvgAbstractAnimation::start | ( | ) | const |
Definition at line 81 of file qsvgabstractanimation.cpp.
|
protected |
Definition at line 60 of file qsvgabstractanimation_p.h.
|
protected |
Definition at line 63 of file qsvgabstractanimation_p.h.
|
protected |
Definition at line 61 of file qsvgabstractanimation_p.h.
|
protected |
Definition at line 62 of file qsvgabstractanimation_p.h.
|
protected |
Definition at line 64 of file qsvgabstractanimation_p.h.
|
protected |
Definition at line 59 of file qsvgabstractanimation_p.h.