QtCore/qtimeline.h Source File
Go to the documentation of this file.
54 class QTimeLinePrivate;
59 Q_PROPERTY(
int updateInterval READ updateInterval WRITE setUpdateInterval)
60 Q_PROPERTY(
int currentTime READ currentTime WRITE setCurrentTime)
62 Q_PROPERTY(
int loopCount READ loopCount WRITE setLoopCount)
84 explicit QTimeLine(
int duration = 1000, QObject *parent = 0);
89 int loopCount()
const;
90 void setLoopCount(
int count);
92 Direction direction()
const;
93 void setDirection(Direction direction);
96 void setDuration(
int duration);
98 int startFrame()
const;
99 void setStartFrame(
int frame);
100 int endFrame()
const;
101 void setEndFrame(
int frame);
102 void setFrameRange(
int startFrame,
int endFrame);
104 int updateInterval()
const;
105 void setUpdateInterval(
int interval);
107 CurveShape curveShape()
const;
108 void setCurveShape(CurveShape shape);
113 int currentTime()
const;
114 int currentFrame()
const;
115 qreal currentValue()
const;
117 int frameForTime(
int msec)
const;
118 virtual qreal valueForTime(
int msec)
const;
124 void setPaused(
bool paused);
125 void setCurrentTime(
int msec);
126 void toggleDirection();
129 void valueChanged(qreal
x);
130 void frameChanged(
int);
State
The state the media producing object is in at the moment.
#define QT_BEGIN_NAMESPACE
GLuint GLuint GLsizei count