QtCore/qabstractanimation.h Source File
Go to the documentation of this file.
42 #ifndef QABSTRACTANIMATION_H
43 #define QABSTRACTANIMATION_H
53 #ifndef QT_NO_ANIMATION
59 class QAbstractAnimationPrivate;
66 Q_PROPERTY(
int loopCount READ loopCount WRITE setLoopCount)
67 Q_PROPERTY(
int currentTime READ currentTime WRITE setCurrentTime)
68 Q_PROPERTY(
int currentLoop READ currentLoop NOTIFY currentLoopChanged)
96 Direction direction()
const;
97 void setDirection(Direction direction);
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;
136 class QAnimationDriverPrivate;
148 bool isRunning()
const;
157 friend class QUnifiedTimer;
166 #endif //QT_NO_ANIMATION
172 #endif // QABSTRACTANIMATION_H
State
The state the media producing object is in at the moment.
#define QT_BEGIN_NAMESPACE
virtual bool event(QEvent *)