QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskVariantAnimator Class Reference

Detailed Description

Definition at line 12 of file QskVariantAnimator.h.

Inheritance diagram for QskVariantAnimator:

Public Member Functions

void setCurrentValue (const QVariant &)
 
QVariant currentValue () const
 
void setStartValue (const QVariant &)
 
QVariant startValue () const
 
void setEndValue (const QVariant &)
 
QVariant endValue () const
 
- Public Member Functions inherited from QskAnimator
QQuickWindow * window () const
 
void setWindow (QQuickWindow *)
 
void setEasingCurve (QEasingCurve::Type type)
 
void setEasingCurve (const QEasingCurve &)
 
const QEasingCurve & easingCurve () const
 
void setAutoRepeat (bool)
 
bool autoRepeat () const
 
void setDuration (int ms)
 
int duration () const
 
bool isRunning () const
 
qint64 elapsed () const
 
void start ()
 
void stop ()
 
void update ()
 

Static Public Member Functions

static bool maybeInterpolate (const QVariant &, const QVariant &, bool acceptIdentity)
 
static bool convertValues (QVariant &, QVariant &)
 
- Static Public Member Functions inherited from QskAnimator
static QMetaObject::Connection addCleanupHandler (QObject *receiver, const char *method, Qt::ConnectionType type=Qt::AutoConnection)
 
static QMetaObject::Connection addAdvanceHandler (QObject *receiver, const char *method, Qt::ConnectionType type=Qt::AutoConnection)
 
static void debugStatistics (QDebug)
 

Protected Member Functions

void setup () override
 
void advance (qreal value) override
 
void done () override
 

Constructor & Destructor Documentation

◆ QskVariantAnimator()

QskVariantAnimator::QskVariantAnimator ( )

Definition at line 108 of file QskVariantAnimator.cpp.

◆ ~QskVariantAnimator()

QskVariantAnimator::~QskVariantAnimator ( )
override

Definition at line 113 of file QskVariantAnimator.cpp.

Member Function Documentation

◆ advance()

void QskVariantAnimator::advance ( qreal  value)
overrideprotectedvirtual

Implements QskAnimator.

Definition at line 193 of file QskVariantAnimator.cpp.

◆ convertValues()

bool QskVariantAnimator::convertValues ( QVariant &  v1,
QVariant &  v2 
)
static

Definition at line 134 of file QskVariantAnimator.cpp.

◆ currentValue()

QVariant QskVariantAnimator::currentValue ( ) const
inline

Definition at line 55 of file QskVariantAnimator.h.

◆ done()

void QskVariantAnimator::done ( )
overrideprotectedvirtual

Reimplemented from QskAnimator.

Definition at line 207 of file QskVariantAnimator.cpp.

◆ endValue()

QVariant QskVariantAnimator::endValue ( ) const
inline

Definition at line 50 of file QskVariantAnimator.h.

◆ maybeInterpolate()

bool QskVariantAnimator::maybeInterpolate ( const QVariant &  value1,
const QVariant &  value2,
bool  acceptIdentity 
)
static

Definition at line 212 of file QskVariantAnimator.cpp.

◆ setCurrentValue()

void QskVariantAnimator::setCurrentValue ( const QVariant &  value)

Definition at line 129 of file QskVariantAnimator.cpp.

◆ setEndValue()

void QskVariantAnimator::setEndValue ( const QVariant &  value)

Definition at line 123 of file QskVariantAnimator.cpp.

◆ setStartValue()

void QskVariantAnimator::setStartValue ( const QVariant &  value)

Definition at line 117 of file QskVariantAnimator.cpp.

◆ setup()

void QskVariantAnimator::setup ( )
overrideprotectedvirtual

Reimplemented from QskAnimator.

Definition at line 174 of file QskVariantAnimator.cpp.

◆ startValue()

QVariant QskVariantAnimator::startValue ( ) const
inline

Definition at line 45 of file QskVariantAnimator.h.