QtCore/qeasingcurve.h Source File
Go to the documentation of this file.
42 #ifndef QEASINGCURVE_H
43 #define QEASINGCURVE_H
54 class QEasingCurvePrivate;
76 QEasingCurve(Type
type = Linear);
77 QEasingCurve(
const QEasingCurve &other);
80 QEasingCurve &
operator=(
const QEasingCurve &other);
81 bool operator==(
const QEasingCurve &other)
const;
85 qreal amplitude()
const;
86 void setAmplitude(qreal amplitude);
89 void setPeriod(qreal period);
91 qreal overshoot()
const;
92 void setOvershoot(qreal overshoot);
95 void setType(Type
type);
96 typedef qreal (*EasingFunction)(qreal progress);
97 void setCustomType(EasingFunction func);
98 EasingFunction customType()
const;
100 qreal valueForProgress(qreal progress)
const;
102 QEasingCurvePrivate *d_ptr;
103 #ifndef QT_NO_DEBUG_STREAM
106 #ifndef QT_NO_DATASTREAM
112 #ifndef QT_NO_DEBUG_STREAM
116 #ifndef QT_NO_DATASTREAM
GLuint GLuint GLsizei GLenum type
QDebug & operator=(const QDebug &other)
Q_CORE_EXPORT QDataStream & operator>>(QDataStream &, QEasingCurve &)
bool operator==(const Attribute &cA, const AttributeInstance< type > &cB)
This operator compares the two attributes and NOT their values.
#define QT_BEGIN_NAMESPACE
Q_CORE_EXPORT QDebug operator<<(QDebug debug, const QEasingCurve &item)
bool operator!=(const QEasingCurve &other) const