Qt 4.8
|
#include <qsequentialanimationgroup_p.h>
Classes | |
struct | AnimationIndex |
Public Functions | |
void | _q_uncontrolledAnimationFinished () |
void | activateCurrentAnimation (bool intermediate=false) |
void | advanceForwards (const AnimationIndex &newAnimationIndex) |
This manages advancing the execution of a group running forwards (time has gone forward), which is the same behaviour for rewinding the execution of a group running backwards (time has gone backward). More... | |
int | animationActualTotalDuration (int index) const |
void | animationInsertedAt (int index) |
This method is called whenever an animation is added to the group at index index. More... | |
void | animationRemoved (int index, QAbstractAnimation *anim) |
This method is called whenever an animation is removed from the group at index index. More... | |
bool | atEnd () const |
AnimationIndex | indexForCurrentTime () const |
QSequentialAnimationGroupPrivate () | |
void | restart () |
void | rewindForwards (const AnimationIndex &newAnimationIndex) |
This manages rewinding the execution of a group running forwards (time has gone forward), which is the same behaviour for advancing the execution of a group running backwards (time has gone backward). More... | |
void | setCurrentAnimation (int index, bool intermediate=false) |
Public Functions inherited from QAnimationGroupPrivate | |
void | connectUncontrolledAnimation (QAbstractAnimation *anim) |
void | disconnectUncontrolledAnimation (QAbstractAnimation *anim) |
QAnimationGroupPrivate () | |
Public Functions inherited from QAbstractAnimationPrivate | |
QAbstractAnimationPrivate () | |
void | setState (QAbstractAnimation::State state) |
virtual | ~QAbstractAnimationPrivate () |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Static Public Functions inherited from QAbstractAnimationPrivate | |
static QAbstractAnimationPrivate * | get (QAbstractAnimation *q) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Definition at line 63 of file qsequentialanimationgroup_p.h.
|
inline |
Definition at line 67 of file qsequentialanimationgroup_p.h.
void QSequentialAnimationGroupPrivate::_q_uncontrolledAnimationFinished | ( | ) |
Definition at line 496 of file qsequentialanimationgroup.cpp.
void QSequentialAnimationGroupPrivate::activateCurrentAnimation | ( | bool | intermediate = false | ) |
Definition at line 477 of file qsequentialanimationgroup.cpp.
Referenced by advanceForwards(), restart(), and rewindForwards().
void QSequentialAnimationGroupPrivate::advanceForwards | ( | const AnimationIndex & | newAnimationIndex | ) |
This manages advancing the execution of a group running forwards (time has gone forward), which is the same behaviour for rewinding the execution of a group running backwards (time has gone backward).
Definition at line 179 of file qsequentialanimationgroup.cpp.
int QSequentialAnimationGroupPrivate::animationActualTotalDuration | ( | int | index | ) | const |
Definition at line 109 of file qsequentialanimationgroup.cpp.
Referenced by advanceForwards(), atEnd(), and indexForCurrentTime().
|
virtual |
This method is called whenever an animation is added to the group at index index.
Note: We only support insertion after the current animation
Reimplemented from QAnimationGroupPrivate.
Definition at line 530 of file qsequentialanimationgroup.cpp.
|
virtual |
This method is called whenever an animation is removed from the group at index index.
Reimplemented from QAnimationGroupPrivate.
Definition at line 559 of file qsequentialanimationgroup.cpp.
bool QSequentialAnimationGroupPrivate::atEnd | ( | ) | const |
Definition at line 94 of file qsequentialanimationgroup.cpp.
QSequentialAnimationGroupPrivate::AnimationIndex QSequentialAnimationGroupPrivate::indexForCurrentTime | ( | ) | const |
Definition at line 118 of file qsequentialanimationgroup.cpp.
void QSequentialAnimationGroupPrivate::restart | ( | ) |
Definition at line 151 of file qsequentialanimationgroup.cpp.
void QSequentialAnimationGroupPrivate::rewindForwards | ( | const AnimationIndex & | newAnimationIndex | ) |
This manages rewinding the execution of a group running forwards (time has gone forward), which is the same behaviour for advancing the execution of a group running backwards (time has gone backward).
Definition at line 214 of file qsequentialanimationgroup.cpp.
void QSequentialAnimationGroupPrivate::setCurrentAnimation | ( | int | index, |
bool | intermediate = false |
||
) |
Definition at line 447 of file qsequentialanimationgroup.cpp.
Referenced by advanceForwards(), restart(), and rewindForwards().
QList<int> QSequentialAnimationGroupPrivate::actualDuration |
Definition at line 97 of file qsequentialanimationgroup_p.h.
Referenced by animationActualTotalDuration().
QAbstractAnimation* QSequentialAnimationGroupPrivate::currentAnimation |
Definition at line 92 of file qsequentialanimationgroup_p.h.
Referenced by atEnd().
int QSequentialAnimationGroupPrivate::currentAnimationIndex |
Definition at line 93 of file qsequentialanimationgroup_p.h.
Referenced by advanceForwards(), atEnd(), restart(), and rewindForwards().
int QSequentialAnimationGroupPrivate::lastLoop |
Definition at line 100 of file qsequentialanimationgroup_p.h.
Referenced by advanceForwards(), restart(), and rewindForwards().