Definition at line 55 of file qeasingcurve.h.
Public Types
|
| enum |
Type
{
Linear,
InQuad,
OutQuad,
InOutQuad,
OutInQuad,
InCubic,
OutCubic,
InOutCubic,
OutInCubic,
InQuart,
OutQuart,
InOutQuart,
OutInQuart,
InQuint,
OutQuint,
InOutQuint,
OutInQuint,
InSine,
OutSine,
InOutSine,
OutInSine,
InExpo,
OutExpo,
InOutExpo,
OutInExpo,
InCirc,
OutCirc,
InOutCirc,
OutInCirc,
InElastic,
OutElastic,
InOutElastic,
OutInElastic,
InBack,
OutBack,
InOutBack,
OutInBack,
InBounce,
OutBounce,
InOutBounce,
OutInBounce,
InCurve,
OutCurve,
SineCurve,
CosineCurve,
Custom,
NCurveTypes
} |
| typedef
qreal(* |
EasingFunction
)(qreal progress) |
Public Member Functions
|
| |
QEasingCurve
(Type
type=Linear) |
| |
QEasingCurve
(const QEasingCurve &other) |
| |
~QEasingCurve
() |
| QEasingCurve & |
operator=
(const QEasingCurve &other) |
| bool |
operator==
(const QEasingCurve &other) const |
| bool |
operator!=
(const QEasingCurve &other) const |
| qreal |
amplitude
() const |
| void |
setAmplitude
(qreal amplitude) |
| qreal |
period
() const |
| void |
setPeriod
(qreal period) |
| qreal |
overshoot
() const |
| void |
setOvershoot
(qreal overshoot) |
| Type |
type
() const |
| void |
setType
(Type
type) |
| void |
setCustomType
(EasingFunction
func) |
| EasingFunction |
customType
() const |
| qreal |
valueForProgress
(qreal progress) const |
Friends
|
| Q_CORE_EXPORT
QDebug |
operator<<
(QDebug debug, const
QEasingCurve
&item) |
| Q_CORE_EXPORT
QDataStream
& |
operator<<
(QDataStream
&, const QEasingCurve &) |
| Q_CORE_EXPORT
QDataStream
& |
operator>>
(QDataStream
&, QEasingCurve &) |