58 for (
qreal t = 0.0;
t < 1.0;
t += 0.1)
59 qWarning() <<
"Effective progress" <<
t <<
"is"
The QEasingCurve class provides easing curves for controlling animation.
qreal valueForProgress(qreal progress) const
The QPropertyAnimation class animates Qt properties.
void setStartValue(const QVariant &value)
void setEasingCurve(const QEasingCurve &easing)
void setDuration(int msecs)
void setEndValue(const QVariant &value)
QT_END_INCLUDE_NAMESPACE typedef double qreal