#include <qabstractanimation.h>
Definition at line 60 of file qabstractanimation.h.
Public Types | |
enum | Direction { Forward, Backward } |
enum | State { Stopped, Paused, Running } |
enum | DeletionPolicy { KeepWhenStopped = 0, DeleteWhenStopped } |
Public Slots | |
void | start (QAbstractAnimation::DeletionPolicy policy=KeepWhenStopped) |
void | pause () |
void | resume () |
void | setPaused (bool) |
void | stop () |
void | setCurrentTime (int msecs) |
![]() | |
void | deleteLater () |
Signals | |
void | finished () |
void | stateChanged (QAbstractAnimation::State newState, QAbstractAnimation::State oldState) |
void | currentLoopChanged (int currentLoop) |
void | directionChanged (QAbstractAnimation::Direction) |
![]() | |
void | destroyed (QObject *=0) |
Protected Member Functions | |
QAbstractAnimation (QAbstractAnimationPrivate &dd, QObject *parent=0) | |
bool | event (QEvent *event) |
virtual void | updateCurrentTime (int currentTime)=0 |
virtual void | updateState (QAbstractAnimation::State newState, QAbstractAnimation::State oldState) |
virtual void | updateDirection (QAbstractAnimation::Direction direction) |
![]() | |
QObject * | sender () const |
int | senderSignalIndex () const |
int | receivers (const char *signal) const |
virtual void | timerEvent (QTimerEvent *) |
virtual void | childEvent (QChildEvent *) |
virtual void | customEvent (QEvent *) |
virtual void | connectNotify (const char *signal) |
virtual void | disconnectNotify (const char *signal) |
QObject (QObjectPrivate &dd, QObject *parent=0) | |
Properties | |
State | state |
int | loopCount |
int | currentTime |
int | currentLoop |
Direction | direction |
int | duration |
![]() | |
QString | objectName |
Additional Inherited Members | |
![]() | |
static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
static uint | registerUserData () |
![]() | |
QScopedPointer< QObjectData > | d_ptr |
![]() | |
static const QMetaObject | staticQtMetaObject |
enum Direction |
enum State |
enum DeletionPolicy |
QAbstractAnimation | ( | QObject * | parent = 0 | ) |
|
virtual |
|
protected |
State state | ( | ) | const |
QAnimationGroup* group | ( | ) | const |
Direction direction | ( | ) | const |
int currentTime | ( | ) | const |
int currentLoopTime | ( | ) | const |
int loopCount | ( | ) | const |
int currentLoop | ( | ) | const |
|
pure virtual |
Implemented in QVariantAnimation, QSequentialAnimationGroup, QPauseAnimation, and QParallelAnimationGroup.
int totalDuration | ( | ) | const |
|
signal |
|
signal |
|
signal |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
protectedvirtual |
Reimplemented from QObject.
Reimplemented in QVariantAnimation, QSequentialAnimationGroup, QAnimationGroup, QPropertyAnimation, QPauseAnimation, and QParallelAnimationGroup.
Implemented in QVariantAnimation, QSequentialAnimationGroup, QPauseAnimation, and QParallelAnimationGroup.
|
protectedvirtual |
Reimplemented in QVariantAnimation, QSequentialAnimationGroup, QPropertyAnimation, and QParallelAnimationGroup.
|
protectedvirtual |
Reimplemented in QSequentialAnimationGroup, and QParallelAnimationGroup.
|
read |
Definition at line 65 of file qabstractanimation.h.
|
readwrite |
Definition at line 66 of file qabstractanimation.h.
|
readwrite |
Definition at line 67 of file qabstractanimation.h.
|
read |
Definition at line 68 of file qabstractanimation.h.
|
readwrite |
Definition at line 69 of file qabstractanimation.h.
|
read |
Definition at line 70 of file qabstractanimation.h.