NAME

Qt::Core::QTimeLine

PUBLIC METHODS

QTimeLine(int duration, QObject * parent)
QTimeLine(int duration, QObject * parent = 0)
QTimeLine(int duration = 1000, QObject * parent = 0)
~QTimeLine()
int currentFrame()
int currentTime()
qreal currentValue()
QTimeLine::CurveShape curveShape()
QTimeLine::Direction direction()
int duration()
QEasingCurve easingCurve()
int endFrame()
int frameForTime(int msec)
int loopCount()
void resume()
void setCurrentTime(int msec)
void setCurveShape(QTimeLine::CurveShape shape)
void setDirection(QTimeLine::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 setPaused(bool paused)
void setStartFrame(int frame)
void setUpdateInterval(int interval)
void start()
int startFrame()
QTimeLine::State state()
void stop()
void toggleDirection()
int updateInterval()
qreal valueForTime(int msec)

ENUM VALUES

NotRunning
Paused
Running
Forward
Backward
EaseInCurve
EaseOutCurve
EaseInOutCurve
LinearCurve
SineCurve
CosineCurve

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html