42 #ifndef QABSTRACTANIMATION_H 43 #define QABSTRACTANIMATION_H 45 #include <QtCore/qobject.h> 53 #ifndef QT_NO_ANIMATION 99 int currentTime()
const;
100 int currentLoopTime()
const;
102 int loopCount()
const;
103 void setLoopCount(
int loopCount);
104 int currentLoop()
const;
106 virtual int duration()
const = 0;
107 int totalDuration()
const;
112 void currentLoopChanged(
int currentLoop);
119 void setPaused(
bool);
121 void setCurrentTime(
int msecs);
127 virtual void updateCurrentTime(
int currentTime) = 0;
148 bool isRunning()
const;
166 #endif //QT_NO_ANIMATION 172 #endif // QABSTRACTANIMATION_H
#define QT_END_NAMESPACE
This macro expands to.
State
This enum describes the state of the animation.
virtual void started()
This function is called by the animation framework to notify the driver that it should start running...
The QSequentialAnimationGroup class provides a sequential group of animations.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QObject class is the base class of all Qt objects.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
#define QT_BEGIN_NAMESPACE
This macro expands to.
Direction
This enum describes the direction of the animation when in Running state.
virtual void stopped()
This function is called by the animation framework to notify the driver that it should stop running...
The State element defines configurations of objects and properties.
The QAbstractAnimation class is the base of all animations.
The QAnimationDriver class is used to exchange the mechanism that drives animations.
#define Q_DECLARE_PRIVATE(Class)
The QAnimationGroup class is an abstract base class for groups of animations.
The QEvent class is the base class of all event classes.
Qt::LayoutDirection direction