#include
<QtCore/qeasingcurve.h>#include <QtCore/qabstractanimation.h>#include <QtCore/qvector.h>#include <QtCore/qvariant.h>#include <QtCore/qpair.h>Go to the source code of this file.
Classes |
|
| class | QVariantAnimation |
Functions |
|
| template<typename T > | |
| void | qRegisterAnimationInterpolator (QVariant(*func)(const T &from, const T &to, qreal progress)) |
| void qRegisterAnimationInterpolator | ( | QVariant(*)(const T &from, const T &to, qreal progress) | func | ) |
Definition at line 120 of file qvariantanimation.h.
{
QVariantAnimation::registerInterpolator(reinterpret_cast<QVariantAnimation::Interpolator>(func), qMetaTypeId<T>());
}