![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsvganimatedproperty_p.h>
Public Types | |
enum | Type { Int , Float , Color , Transform } |
Public Member Functions | |
QSvgAbstractAnimatedProperty (const QString &name, Type type) | |
virtual | ~QSvgAbstractAnimatedProperty () |
void | setKeyFrames (const QList< qreal > &keyFrames) |
void | appendKeyFrame (qreal keyFrame) |
QList< qreal > | keyFrames () const |
void | setPropertyName (const QString &name) |
QStringView | propertyName () const |
Type | type () const |
QVariant | interpolatedValue () const |
virtual void | interpolate (uint index, qreal t) const =0 |
Static Public Member Functions | |
static QSvgAbstractAnimatedProperty * | createAnimatedProperty (const QString &name) |
Protected Attributes | |
QList< qreal > | m_keyFrames |
QVariant | m_interpolatedValue |
Definition at line 28 of file qsvganimatedproperty_p.h.
Enumerator | |
---|---|
Int | |
Float | |
Color | |
Transform |
Definition at line 31 of file qsvganimatedproperty_p.h.
Definition at line 42 of file qsvganimatedproperty.cpp.
|
virtual |
Definition at line 48 of file qsvganimatedproperty.cpp.
Definition at line 57 of file qsvganimatedproperty.cpp.
|
static |
Definition at line 87 of file qsvganimatedproperty.cpp.
Implemented in QSvgAnimatedPropertyColor, QSvgAnimatedPropertyFloat, and QSvgAnimatedPropertyTransform.
QVariant QSvgAbstractAnimatedProperty::interpolatedValue | ( | ) | const |
Definition at line 82 of file qsvganimatedproperty.cpp.
Definition at line 62 of file qsvganimatedproperty.cpp.
QStringView QSvgAbstractAnimatedProperty::propertyName | ( | ) | const |
Definition at line 72 of file qsvganimatedproperty.cpp.
Definition at line 52 of file qsvganimatedproperty.cpp.
Definition at line 67 of file qsvganimatedproperty.cpp.
QSvgAbstractAnimatedProperty::Type QSvgAbstractAnimatedProperty::type | ( | ) | const |
Definition at line 77 of file qsvganimatedproperty.cpp.
|
mutableprotected |
Definition at line 54 of file qsvganimatedproperty_p.h.
Definition at line 53 of file qsvganimatedproperty_p.h.