QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskFlickAnimator Class Referenceabstract

Detailed Description

Definition at line 11 of file QskFlickAnimator.h.

Inheritance diagram for QskFlickAnimator:

Public Member Functions

void setAngle (qreal degrees)
 
qreal angle () const
 
void setVelocity (qreal)
 
qreal velocity () const
 
qreal animatedVelocity () const
 
void flick (qreal degrees, qreal velocity)
 
void accelerate (qreal degrees, qreal velocity)
 
- 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 ()
 

Protected Member Functions

void setup () override
 
void advance (qreal value) override final
 
void done () override
 
virtual void translate (qreal dx, qreal dy)=0
 

Additional Inherited Members

- 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)
 

Constructor & Destructor Documentation

◆ QskFlickAnimator()

QskFlickAnimator::QskFlickAnimator ( )

Definition at line 23 of file QskFlickAnimator.cpp.

◆ ~QskFlickAnimator()

QskFlickAnimator::~QskFlickAnimator ( )
override

Definition at line 34 of file QskFlickAnimator.cpp.

Member Function Documentation

◆ accelerate()

void QskFlickAnimator::accelerate ( qreal  degrees,
qreal  velocity 
)

Definition at line 54 of file QskFlickAnimator.cpp.

◆ advance()

void QskFlickAnimator::advance ( qreal  value)
finaloverrideprotectedvirtual

Implements QskAnimator.

Definition at line 114 of file QskFlickAnimator.cpp.

◆ angle()

qreal QskFlickAnimator::angle ( ) const
inline

Definition at line 45 of file QskFlickAnimator.h.

◆ animatedVelocity()

qreal QskFlickAnimator::animatedVelocity ( ) const
inline

Definition at line 55 of file QskFlickAnimator.h.

◆ done()

void QskFlickAnimator::done ( )
overrideprotectedvirtual

Reimplemented from QskAnimator.

Definition at line 84 of file QskFlickAnimator.cpp.

◆ flick()

void QskFlickAnimator::flick ( qreal  degrees,
qreal  velocity 
)

Definition at line 38 of file QskFlickAnimator.cpp.

◆ setAngle()

void QskFlickAnimator::setAngle ( qreal  degrees)

Definition at line 90 of file QskFlickAnimator.cpp.

◆ setup()

void QskFlickAnimator::setup ( )
overrideprotectedvirtual

Reimplemented from QskAnimator.

Definition at line 108 of file QskFlickAnimator.cpp.

◆ setVelocity()

void QskFlickAnimator::setVelocity ( qreal  velocity)

Definition at line 103 of file QskFlickAnimator.cpp.

◆ velocity()

qreal QskFlickAnimator::velocity ( ) const
inline

Definition at line 50 of file QskFlickAnimator.h.