![]() |
Qt 6.x
The Qt SDK
|
#include <qvariantanimation_p.h>
Static Public Member Functions | |
static QVariantAnimationPrivate * | get (QVariantAnimation *q) |
static Q_CORE_EXPORT QVariantAnimation::Interpolator | getInterpolator (int interpolationType) |
![]() | |
static QAbstractAnimationPrivate * | get (QAbstractAnimation *q) |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 31 of file qvariantanimation_p.h.
QVariantAnimationPrivate::QVariantAnimationPrivate | ( | ) |
Definition at line 152 of file qvariantanimation.cpp.
void QVariantAnimationPrivate::convertValues | ( | int | t | ) |
Definition at line 155 of file qvariantanimation.cpp.
References currentInterval, i, and updateInterpolator().
Referenced by QPropertyAnimationPrivate::updateMetaProperty().
|
inlinestatic |
Definition at line 38 of file qvariantanimation_p.h.
|
static |
Definition at line 420 of file qvariantanimation.cpp.
References QList< T >::at(), castToInterpolator(), registeredInterpolatorsMutex, and ret.
Referenced by QQuick3DQuaternionAnimation::QQuick3DQuaternionAnimation(), QQuickColorAnimation::QQuickColorAnimation(), QQuickGeoCoordinateAnimation::QQuickGeoCoordinateAnimation(), QQuickRotationAnimation::QQuickRotationAnimation(), QQuickVector3dAnimation::QQuickVector3dAnimation(), QQuickRotationAnimation::setDirection(), QQuick3DQuaternionAnimation::setType(), QQuickAnimationPropertyUpdater::setValue(), and updateInterpolator().
|
inline |
Definition at line 56 of file qvariantanimation_p.h.
The goal of this function is to update the currentInterval member. As a consequence, we also need to update the currentValue. Set force to true to always recalculate the interval.
Definition at line 190 of file qvariantanimation.cpp.
References animationValueLessThan(), QSet< T >::constBegin(), QSet< T >::constEnd(), currentInterval, currentTime(), defaultStartEndValue, direction, easing, QAbstractAnimation::Forward, QVariant::isValid(), it, qMakePair(), setCurrentValueForProgress(), QSet< T >::size(), updateInterpolator(), and QEasingCurve::valueForProgress().
Referenced by setDefaultStartEndValue(), and setValueAt().
Definition at line 239 of file qvariantanimation.cpp.
References currentInterval, currentValue, emit, QObjectPrivate::isSignalConnected(), Q_BASIC_ATOMIC_INITIALIZER, qIsNull(), qSwap(), ret, and signalIndex.
Referenced by recalculateCurrentInterval().
Definition at line 297 of file qvariantanimation.cpp.
References defaultStartEndValue, and recalculateCurrentInterval().
|
inline |
Definition at line 55 of file qvariantanimation_p.h.
References easing.
Definition at line 275 of file qvariantanimation.cpp.
References animationValueLessThan(), qWarning, and recalculateCurrentInterval().
void QVariantAnimationPrivate::updateInterpolator | ( | ) |
Definition at line 171 of file qvariantanimation.cpp.
References currentInterval, defaultInterpolator(), getInterpolator(), and interpolator.
Referenced by convertValues(), and recalculateCurrentInterval().
Definition at line 265 of file qvariantanimation.cpp.
References animationValueLessThan(), and qMakePair().
struct { ... } QVariantAnimationPrivate::currentInterval |
Referenced by convertValues(), recalculateCurrentInterval(), setCurrentValueForProgress(), and updateInterpolator().
QVariant QVariantAnimationPrivate::currentValue |
Definition at line 46 of file qvariantanimation_p.h.
Referenced by setCurrentValueForProgress().
QVariant QVariantAnimationPrivate::defaultStartEndValue |
Definition at line 47 of file qvariantanimation_p.h.
Referenced by recalculateCurrentInterval(), and setDefaultStartEndValue().
QVariantAnimation::KeyValue QVariantAnimationPrivate::end |
Definition at line 52 of file qvariantanimation_p.h.
Q_OBJECT_COMPAT_PROPERTY (QVariantAnimationPrivate, int, duration, &QVariantAnimationPrivate::setDuration) QVariantAnimation QVariantAnimation::Interpolator QVariantAnimationPrivate::interpolator |
Definition at line 64 of file qvariantanimation_p.h.
Referenced by updateInterpolator().
QVariantAnimation::KeyValue QVariantAnimationPrivate::start |
Definition at line 52 of file qvariantanimation_p.h.