QTimeLine
#include <QtCore/QTimeLine>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QTimeLine
Overview
Public Types Index
enum CurveShapeEaseInCurve, EaseOutCurve, EaseInOutCurve, LinearCurve, SineCurve, CosineCurve | |
enum Direction | |
enum State |
Properties Index
int | currentTime |
CurveShape | curveShape |
Direction | direction |
int | duration |
QEasingCurve | easingCurve |
int | loopCount |
int | updateInterval |
Public Functions Index
QTimeLine (int duration=1000, QObject *parent=0) | |
virtual | ~QTimeLine () |
int | currentFrame () const |
int | currentTime () const |
qreal | currentValue () const |
CurveShape | curveShape () const |
Direction | direction () const |
int | duration () const |
QEasingCurve | easingCurve () const |
int | endFrame () const |
int | frameForTime (int msec) const |
int | loopCount () const |
void | setCurveShape (CurveShape shape) |
void | setDirection (Direction direction) |
void | setDuration (int duration) |
void | setEasingCurve (const QEasingCurve &curve) |
void | setEndFrame (int frame) |
void | setFrameRange (int startFrame, int endFrame) |
void | setLoopCount (int count) |
void | setStartFrame (int frame) |
void | setUpdateInterval (int interval) |
int | startFrame () const |
State | state () const |
int | updateInterval () const |
virtual qreal | valueForTime (int msec) const |
Protected Functions Index
virtual void | timerEvent (QTimerEvent *event) |
Public Slots Index
void | resume () |
void | setCurrentTime (int msec) |
void | setPaused (bool paused) |
void | start () |
void | stop () |
void | toggleDirection () |
Signals Index
void | finished () |
void | frameChanged (int) |
void | stateChanged (QTimeLine::State newState) |
void | valueChanged (qreal x) |
Public Types
- EaseInCurve
- EaseOutCurve
- EaseInOutCurve
- LinearCurve
- SineCurve
- CosineCurve
- Forward
- Backward
- NotRunning
- Paused
- Running
Properties
Public Functions
virtual
Destructor.
int
int
qreal
CurveShape
Direction
int
int
int
int
void
void
void
void
void
void
void
void
void
int
State
int
virtual qreal
Protected Functions
virtual void
Public Slots
void
void
void
void
void
void
Signals
void
void
void
void
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy