#include <QtCore/qvariantanimation.h>
#include <private/qvariantanimation_p.h>
#include <QtGui/qcolor.h>
#include <QtGui/qvector2d.h>
#include <QtGui/qvector3d.h>
#include <QtGui/qvector4d.h>
#include <QtGui/qquaternion.h>
Go to the source code of this file.
◆ _q_interpolate() [1/2]
Definition at line 54 of file qguivariantanimation.cpp.
The QColor class provides colors based on RGB, HSV or CMYK values.
ushort red
Returns the red color component of this color.
Q_INLINE_TEMPLATE QColor _q_interpolate(const QColor &f, const QColor &t, qreal progress)
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)
ushort green
Returns the green color component of this color.
◆ _q_interpolate() [2/2]
Definition at line 62 of file qguivariantanimation.cpp.
static QQuaternion slerp(const QQuaternion &q1, const QQuaternion &q2, qreal t)
Interpolates along the shortest spherical path between the rotational positions q1 and q2...
◆ qRegisterGuiGetInterpolator()
static int qRegisterGuiGetInterpolator |
( |
| ) |
|
|
static |
Definition at line 67 of file qguivariantanimation.cpp.
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>);
◆ qUnregisterGuiGetInterpolator()
static int qUnregisterGuiGetInterpolator |
( |
| ) |
|
|
static |
Definition at line 78 of file qguivariantanimation.cpp.
81 qRegisterAnimationInterpolator<QColor>(
83 qRegisterAnimationInterpolator<QVector2D>(
85 qRegisterAnimationInterpolator<QVector3D>(
87 qRegisterAnimationInterpolator<QVector4D>(
89 qRegisterAnimationInterpolator<QQuaternion>(
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.
The QVector4D class represents a vector or vertex in 4D space.
The QVector2D class represents a vector or vertex in 2D space.
The QQuaternion class represents a quaternion consisting of a vector and scalar.