![]() |
Qt 6.x
The Qt SDK
|
#include <qparallelanimationgroup_p.h>
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
![]() | |
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) |
Definition at line 26 of file qparallelanimationgroup_p.h.
|
inline |
Definition at line 30 of file qparallelanimationgroup_p.h.
void QParallelAnimationGroupPrivate::_q_uncontrolledAnimationFinished | ( | ) |
Definition at line 175 of file qparallelanimationgroup.cpp.
References animation, QAnimationGroupPrivate::animations, QHash< Key, T >::begin(), QList< T >::constBegin(), QList< T >::constEnd(), QAbstractAnimation::currentTime, currentTime(), QVariantAnimation::duration, QHash< Key, T >::end(), it, QAbstractAnimation::loopCount, Q_ASSERT, qMax(), and uncontrolledFinishTime.
|
overridevirtual |
Reimplemented from QAnimationGroupPrivate.
Definition at line 258 of file qparallelanimationgroup.cpp.
References QAnimationGroupPrivate::animationRemoved(), QAnimationGroupPrivate::disconnectUncontrolledAnimation(), QHash< Key, T >::remove(), and uncontrolledFinishTime.
void QParallelAnimationGroupPrivate::applyGroupState | ( | QAbstractAnimation * | animation | ) |
Definition at line 236 of file qparallelanimationgroup.cpp.
References animation, QAbstractAnimation::pause(), QAbstractAnimation::Paused, QAbstractAnimation::Running, QAbstractAnimation::start(), state, and QAbstractAnimation::Stopped.
void QParallelAnimationGroupPrivate::connectUncontrolledAnimations | ( | ) |
Definition at line 212 of file qparallelanimationgroup.cpp.
References animation, QAnimationGroupPrivate::animations, QAnimationGroupPrivate::connectUncontrolledAnimation(), QList< T >::constBegin(), QList< T >::constEnd(), QVariantAnimation::duration, it, QAbstractAnimation::loopCount, and uncontrolledFinishTime.
void QParallelAnimationGroupPrivate::disconnectUncontrolledAnimations | ( | ) |
Definition at line 204 of file qparallelanimationgroup.cpp.
References QHash< Key, T >::clear(), QHash< Key, T >::constBegin(), QHash< Key, T >::constEnd(), QAnimationGroupPrivate::disconnectUncontrolledAnimation(), it, and uncontrolledFinishTime.
bool QParallelAnimationGroupPrivate::isUncontrolledAnimationFinished | ( | QAbstractAnimation * | anim | ) | const |
Definition at line 253 of file qparallelanimationgroup.cpp.
References uncontrolledFinishTime, and QHash< Key, T >::value().
Referenced by shouldAnimationStart().
bool QParallelAnimationGroupPrivate::shouldAnimationStart | ( | QAbstractAnimation * | animation, |
bool | startIfAtEnd | ||
) | const |
Definition at line 223 of file qparallelanimationgroup.cpp.
References animation, currentTime(), direction, QAbstractAnimation::Forward, isUncontrolledAnimationFinished(), and QAbstractAnimation::totalDuration().
int QParallelAnimationGroupPrivate::lastCurrentTime |
Definition at line 37 of file qparallelanimationgroup_p.h.
int QParallelAnimationGroupPrivate::lastLoop |
Definition at line 36 of file qparallelanimationgroup_p.h.
QHash<QAbstractAnimation*, int> QParallelAnimationGroupPrivate::uncontrolledFinishTime |
Definition at line 35 of file qparallelanimationgroup_p.h.
Referenced by _q_uncontrolledAnimationFinished(), animationRemoved(), connectUncontrolledAnimations(), disconnectUncontrolledAnimations(), and isUncontrolledAnimationFinished().