QTimeLine Class Reference
[QtCore module]
Inherits QObject.
Types
- enum CurveShape { EaseInCurve, EaseOutCurve, EaseInOutCurve, LinearCurve, SineCurve, CosineCurve }
- enum Direction { Forward, Backward }
- enum State { NotRunning, Paused, Running }
Methods
- __init__ (self, int duration = 1000, QObject parent = None)
- int currentFrame (self)
- int currentTime (self)
- float currentValue (self)
- CurveShape curveShape (self)
- Direction direction (self)
- int duration (self)
- QEasingCurve easingCurve (self)
- int endFrame (self)
- int frameForTime (self, int)
- int loopCount (self)
- resume (self)
- setCurrentTime (self, int)
- setCurveShape (self, CurveShape)
- setDirection (self, Direction)
- setDuration (self, int)
- setEasingCurve (self, QEasingCurve)
- setEndFrame (self, int)
- setFrameRange (self, int, int)
- setLoopCount (self, int)
- setPaused (self, bool)
- setStartFrame (self, int)
- setUpdateInterval (self, int)
- start (self)
- int startFrame (self)
- State state (self)
- stop (self)
- timerEvent (self, QTimerEvent)
- toggleDirection (self)
- int updateInterval (self)
- float valueForTime (self, int)
Qt Signals
Detailed Description
Type Documentation
QTimeLine.CurveShape
QTimeLine.Direction
QTimeLine.State
Method Documentation
QTimeLine.__init__ (self, int duration = 1000, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
int QTimeLine.currentFrame (self)
int QTimeLine.currentTime (self)
float QTimeLine.currentValue (self)
CurveShape QTimeLine.curveShape (self)
Direction QTimeLine.direction (self)
int QTimeLine.duration (self)
QEasingCurve QTimeLine.easingCurve (self)
int QTimeLine.endFrame (self)
int QTimeLine.frameForTime (self, int)
int QTimeLine.loopCount (self)
QTimeLine.resume (self)
This method is also a Qt slot with the C++ signature void resume().
QTimeLine.setCurrentTime (self, int)
This method is also a Qt slot with the C++ signature void setCurrentTime(int).
QTimeLine.setCurveShape (self, CurveShape)
QTimeLine.setDirection (self, Direction)
QTimeLine.setDuration (self, int)
QTimeLine.setEasingCurve (self, QEasingCurve)
QTimeLine.setEndFrame (self, int)
QTimeLine.setFrameRange (self, int, int)
QTimeLine.setLoopCount (self, int)
QTimeLine.setPaused (self, bool)
This method is also a Qt slot with the C++ signature void setPaused(bool).
QTimeLine.setStartFrame (self, int)
QTimeLine.setUpdateInterval (self, int)
QTimeLine.start (self)
This method is also a Qt slot with the C++ signature void start().
int QTimeLine.startFrame (self)
State QTimeLine.state (self)
QTimeLine.stop (self)
This method is also a Qt slot with the C++ signature void stop().
QTimeLine.timerEvent (self, QTimerEvent)
QTimeLine.toggleDirection (self)
This method is also a Qt slot with the C++ signature void toggleDirection().
int QTimeLine.updateInterval (self)
float QTimeLine.valueForTime (self, int)
Qt Signal Documentation
void finished ()
This is the default overload of this signal.
void frameChanged (int)
This is the default overload of this signal.
void stateChanged (QTimeLine::State)
This is the default overload of this signal.
void valueChanged (qreal)
This is the default overload of this signal.