Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
src_corelib_tools_qeasingcurve.cpp
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
7
10
11 for (qreal t = 0.0; t < 1.0; t += 0.1)
12 qWarning() << "Effective progress" << t << "is"
15
\inmodule QtCore
qreal valueForProgress(qreal progress) const
Return the effective progress for the easing curve at progress.
void setStartValue(const QVariant &value)
void setEasingCurve(const QEasingCurve &easing)
void setDuration(int msecs)
void setEndValue(const QVariant &value)
#define qWarning
Definition qlogging.h:162
GLdouble GLdouble t
Definition qopenglext.h:243
double qreal
Definition qtypes.h:92
QEasingCurve easing(QEasingCurve::InOutQuad)
[typedef]
QPropertyAnimation animation
[0]
qreal myEasingFunction(qreal progress)
[typedef]