Obsolete Members for QTimeLine

The following members of class QTimeLine are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Types

(obsolete) enum CurveShape { EaseInCurve, EaseOutCurve, EaseInOutCurve, LinearCurve, SineCurve, CosineCurve }

Properties

Public Functions

(obsolete) CurveShape curveShape() const
(obsolete) void setCurveShape(CurveShape shape)

Member Type Documentation

enum QTimeLine::CurveShape

This enum is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

use QEasingCurve instead

This enum describes the shape of QTimeLine's value curve. The default shape is EaseInOutCurve. The curve defines the relation between the value and the timeline.

ConstantValueDescription
QTimeLine::EaseInCurve0Obsolete equivalent of QEasingCurve::InCurve
QTimeLine::EaseOutCurve1Obsolete equivalent of QEasingCurve::OutCurve
QTimeLine::EaseInOutCurve2Obsolete equivalent of QEasingCurve::InOutSine
QTimeLine::LinearCurve3Obsolete equivalent of QEasingCurve::Linear
QTimeLine::SineCurve4Obsolete equivalent of QEasingCurve::SineCurve
QTimeLine::CosineCurve5Obsolete equivalent of QEasingCurve::CosineCurve

See also curveShape, setCurveShape(), easingCurve, and QEasingCurve.

Property Documentation

curveShape : CurveShape

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This property holds the shape of the timeline curve.

The curve shape describes the relation between the time and value for the base implementation of valueForTime().

This property is an indirect way to update the easingCurve property; if you set both, the one set more recently overrides the other. (If valueForTime() is reimplemented it will override both.)

By default, this property is set to EaseInOutCurve.

Access easingCurve instead.

Access functions:

CurveShape curveShape() const
void setCurveShape(CurveShape shape)

See also valueForTime() and easingCurve.