4#ifndef QABSTRACTANIMATION_H
5#define QABSTRACTANIMATION_H
7#include <QtCore/qobject.h>
24 Q_PROPERTY(
int loopCount READ loopCount WRITE setLoopCount BINDABLE bindableLoopCount)
26 Q_PROPERTY(
int currentLoop READ currentLoop NOTIFY currentLoopChanged
27 BINDABLE bindableCurrentLoop)
29 BINDABLE bindableDirection)
66 int currentLoopTime()
const;
68 int loopCount()
const;
69 void setLoopCount(
int loopCount);
72 int currentLoop()
const;
76 int totalDuration()
const;
90 void setCurrentTime(
int msecs);
115 virtual void advance();
129 void advanceAnimation();
130 virtual void start();
State
This enum describes the state of the animation.
DeletionPolicy
\value KeepWhenStopped The animation will not be deleted when stopped.
virtual void updateCurrentTime(int currentTime)=0
This pure virtual function is called every time the animation's currentTime changes.
Direction
This enum describes the direction of the animation when in \l Running state.
void directionChanged(QAbstractAnimation::Direction)
QAbstractAnimation emits this signal whenever the direction has been changed.
void stateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
QAbstractAnimation emits this signal whenever the state of the animation has changed from oldState to...
void finished()
QAbstractAnimation emits this signal after the animation has stopped and has reached the end.
virtual int duration() const =0
This pure virtual function returns the duration of the animation, and defines for how long QAbstractA...
void currentLoopChanged(int currentLoop)
QAbstractAnimation emits this signal whenever the current loop changes.
void started()
This signal is emitted by the animation framework to notify the driver that continuous animation has ...
void stopped()
This signal is emitted by the animation framework to notify the driver that continuous animation has ...
void newState(QList< State > &states, const char *token, const char *lexem, bool pre)
Combined button and popup list for selecting options.
static double elapsed(qint64 after, qint64 before)
#define QT_REQUIRE_CONFIG(feature)
static double currentTime()
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent