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

Detailed Description

Definition at line 18 of file QskAnimator.h.

Inheritance diagram for QskAnimator:

Public Member Functions

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

virtual void setup ()
 
virtual void advance (qreal value)=0
 
virtual void done ()
 

Constructor & Destructor Documentation

◆ QskAnimator()

QskAnimator::QskAnimator ( )

Definition at line 239 of file QskAnimator.cpp.

◆ ~QskAnimator()

QskAnimator::~QskAnimator ( )
virtual

Definition at line 248 of file QskAnimator.cpp.

Member Function Documentation

◆ addAdvanceHandler()

QMetaObject::Connection QskAnimator::addAdvanceHandler ( QObject *  receiver,
const char *  method,
Qt::ConnectionType  type = Qt::AutoConnection 
)
static

Definition at line 394 of file QskAnimator.cpp.

◆ addCleanupHandler()

QMetaObject::Connection QskAnimator::addCleanupHandler ( QObject *  receiver,
const char *  method,
Qt::ConnectionType  type = Qt::AutoConnection 
)
static

Definition at line 387 of file QskAnimator.cpp.

◆ autoRepeat()

bool QskAnimator::autoRepeat ( ) const
inline

Definition at line 82 of file QskAnimator.h.

◆ debugStatistics()

void QskAnimator::debugStatistics ( QDebug  debug)
static

Definition at line 403 of file QskAnimator.cpp.

◆ done()

void QskAnimator::done ( )
protectedvirtual

Definition at line 378 of file QskAnimator.cpp.

◆ duration()

int QskAnimator::duration ( ) const
inline

Definition at line 77 of file QskAnimator.h.

◆ easingCurve()

const QEasingCurve & QskAnimator::easingCurve ( ) const

Definition at line 305 of file QskAnimator.cpp.

◆ elapsed()

qint64 QskAnimator::elapsed ( ) const

Definition at line 310 of file QskAnimator.cpp.

◆ isRunning()

bool QskAnimator::isRunning ( ) const
inline

Definition at line 72 of file QskAnimator.h.

◆ setAutoRepeat()

void QskAnimator::setAutoRepeat ( bool  on)

Definition at line 271 of file QskAnimator.cpp.

◆ setDuration()

void QskAnimator::setDuration ( int  ms)

Definition at line 276 of file QskAnimator.cpp.

◆ setEasingCurve() [1/2]

void QskAnimator::setEasingCurve ( const QEasingCurve &  easingCurve)

Definition at line 300 of file QskAnimator.cpp.

◆ setEasingCurve() [2/2]

void QskAnimator::setEasingCurve ( QEasingCurve::Type  type)

Definition at line 281 of file QskAnimator.cpp.

◆ setup()

void QskAnimator::setup ( )
protectedvirtual

Definition at line 373 of file QskAnimator.cpp.

◆ setWindow()

void QskAnimator::setWindow ( QQuickWindow *  window)

Definition at line 262 of file QskAnimator.cpp.

◆ start()

void QskAnimator::start ( )

Definition at line 319 of file QskAnimator.cpp.

◆ stop()

void QskAnimator::stop ( )

Definition at line 333 of file QskAnimator.cpp.

◆ update()

void QskAnimator::update ( )

Definition at line 345 of file QskAnimator.cpp.

◆ window()

QQuickWindow * QskAnimator::window ( ) const

Definition at line 257 of file QskAnimator.cpp.