41 #include <QtCore/qvariantanimation.h> 42 #include <private/qvariantanimation_p.h> 44 #ifndef QT_NO_ANIMATION 46 #include <QtGui/qcolor.h> 47 #include <QtGui/qvector2d.h> 48 #include <QtGui/qvector3d.h> 49 #include <QtGui/qvector4d.h> 50 #include <QtGui/qquaternion.h> 69 qRegisterAnimationInterpolator<QColor>(_q_interpolateVariant<QColor>);
70 qRegisterAnimationInterpolator<QVector2D>(_q_interpolateVariant<QVector2D>);
71 qRegisterAnimationInterpolator<QVector3D>(_q_interpolateVariant<QVector3D>);
72 qRegisterAnimationInterpolator<QVector4D>(_q_interpolateVariant<QVector4D>);
73 qRegisterAnimationInterpolator<QQuaternion>(_q_interpolateVariant<QQuaternion>);
81 qRegisterAnimationInterpolator<QColor>(
83 qRegisterAnimationInterpolator<QVector2D>(
85 qRegisterAnimationInterpolator<QVector3D>(
87 qRegisterAnimationInterpolator<QVector4D>(
89 qRegisterAnimationInterpolator<QQuaternion>(
98 #endif //QT_NO_ANIMATION The QVariant class acts like a union for the most common Qt data types.
The QColor class provides colors based on RGB, HSV or CMYK values.
The QVector3D class represents a vector or vertex in 3D space.
static int qRegisterGuiGetInterpolator()
#define QT_END_NAMESPACE
This macro expands to.
static QQuaternion slerp(const QQuaternion &q1, const QQuaternion &q2, qreal t)
Interpolates along the shortest spherical path between the rotational positions q1 and q2...
The QVector4D class represents a vector or vertex in 4D space.
ushort red
Returns the red color component of this color.
#define Q_DESTRUCTOR_FUNCTION(AFUNC)
Q_INLINE_TEMPLATE QColor _q_interpolate(const QColor &f, const QColor &t, qreal progress)
#define Q_CONSTRUCTOR_FUNCTION(AFUNC)
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define Q_INLINE_TEMPLATE
The QVector2D class represents a vector or vertex in 2D space.
static int qUnregisterGuiGetInterpolator()
ushort blue
Returns the blue color component of this color.
ushort alpha
Returns the alpha color component of this color.
Q_DECL_CONSTEXPR const T & qBound(const T &min, const T &val, const T &max)
The QQuaternion class represents a quaternion consisting of a vector and scalar.
ushort green
Returns the green color component of this color.