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
(obsolete)
curveShape : CurveShape
Public Functions
(obsolete) QTimeLine::CurveShape | curveShape() const |
(obsolete) void | setCurveShape(QTimeLine::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.
Constant | Value | Description |
---|---|---|
QTimeLine::EaseInCurve | 0 | Obsolete equivalent of QEasingCurve::InCurve |
QTimeLine::EaseOutCurve | 1 | Obsolete equivalent of QEasingCurve::OutCurve |
QTimeLine::EaseInOutCurve | 2 | Obsolete equivalent of QEasingCurve::InOutSine |
QTimeLine::LinearCurve | 3 | Obsolete equivalent of QEasingCurve::Linear |
QTimeLine::SineCurve | 4 | Obsolete equivalent of QEasingCurve::SineCurve |
QTimeLine::CosineCurve | 5 | Obsolete 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:
QTimeLine::CurveShape | curveShape() const |
void | setCurveShape(QTimeLine::CurveShape shape) |
See also valueForTime() and easingCurve.
© 2024 The Qt Company Ltd. 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. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.