|
| QParallelAnimationGroup (QObject *parent=nullptr) |
|
| ~QParallelAnimationGroup () |
|
int | duration () const override |
|
| QAnimationGroup (QObject *parent=nullptr) |
|
| ~QAnimationGroup () |
|
void | addAnimation (QAbstractAnimation *animation) |
|
QAbstractAnimation * | animationAt (int index) const |
|
int | animationCount () const |
|
void | clear () |
|
int | indexOfAnimation (QAbstractAnimation *animation) const |
|
void | insertAnimation (int index, QAbstractAnimation *animation) |
|
void | removeAnimation (QAbstractAnimation *animation) |
|
QAbstractAnimation * | takeAnimation (int index) |
|
| QAbstractAnimation (QObject *parent=nullptr) |
|
virtual | ~QAbstractAnimation () |
|
int | currentLoop () const |
|
int | currentLoopTime () const |
|
int | currentTime () const |
|
Direction | direction () const |
|
QAnimationGroup * | group () const |
|
int | loopCount () const |
|
void | setDirection (Direction direction) |
|
void | setLoopCount (int loopCount) |
|
State | state () const |
|
int | totalDuration () const |
|
| QObject (QObject *parent=nullptr) |
|
| ~QObject () |
|
bool | blockSignals (bool block) |
|
const QList< QObject * > & | children () const |
|
bool | connect (const QObject *sender, const QString &signalMethod, const QString &location, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection) |
|
bool | connect (const QObject *sender, const QString &signalMethod, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection) |
|
bool | disconnect (const QObject *receiver, const QString &slotMethod=QString ()) const |
|
bool | disconnect (const QString &signalMethod, const QString &location, const QObject *receiver=nullptr, const QString &slotMethod=QString ()) const |
|
bool | disconnect (const QString &signalMethod=QString (), const QObject *receiver=nullptr, const QString &slotMethod=QString ()) const |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () |
|
QList< QString > | dynamicPropertyNames () const |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
template<typename T > |
T | findChild (const QString &childName=QString ()) const |
|
template<class T > |
QList< T > | findChildren (const QRegularExpression ®Exp, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
|
template<class T > |
QList< T > | findChildren (const QString &childName=QString (), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const |
|
bool | inherits (const QString &className) const |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isWidgetType () const |
|
bool | isWindowType () const |
|
void | killTimer (int id) |
|
const QMetaObject * | metaObject () const |
|
void | moveToThread (QThread *targetThread) |
|
QString | objectName () const |
|
QObject * | parent () const |
|
template<class T = QVariant> |
T | property (const QString &name) const |
|
void | removeEventFilter (QObject *obj) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const QString &name, const QVariant &value) |
|
bool | signalsBlocked () const |
|
int | startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer) |
|
QThread * | thread () const |
|
|
enum | DeletionPolicy |
|
enum | Direction |
|
enum | State |
|
void | currentLoopChanged (int currentLoop) |
|
void | directionChanged (QAbstractAnimation::Direction newDirection) |
|
void | finished () |
|
void | stateChanged (QAbstractAnimation::State newState, QAbstractAnimation::State oldState) |
|
void | destroyed (QObject *obj=nullptr) |
|
void | objectNameChanged (const QString &objectName) |
|
void | pause () |
|
void | resume () |
|
void | setCurrentTime (int msecs) |
|
void | setPaused (bool paused) |
|
void | start (QAbstractAnimation::DeletionPolicy policy=KeepWhenStopped) |
|
void | stop () |
|
void | deleteLater () |
|
static bool | connect (const QObject *sender, const QMetaMethod &signalMethod, const QObject *receiver, const QMetaMethod &slotMethod, Qt::ConnectionType type=Qt::AutoConnection) |
|
static bool | connect (const QObject *sender, const QString &signalMethod, const QObject *receiver, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection, const QString &location=QString ()) |
|
static bool | connect (const QObject *sender, const QString &signalMethod, const QString &location, const QObject *receiver, const QString &slotMethod, Qt::ConnectionType type=Qt::AutoConnection) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class SlotClass , class... SlotArgs, class SlotReturn > |
static bool | connect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, SlotReturn (SlotClass::*slotMethod)(SlotArgs...), Qt::ConnectionType type=Qt::AutoConnection) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class T > |
static bool | connect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, T slotLambda, Qt::ConnectionType type=Qt::AutoConnection) |
|
static bool | disconnect (const QObject *sender, const QMetaMethod &signalMethod, const QObject *receiver, const QMetaMethod &slotMethod) |
|
static bool | disconnect (const QObject *sender, const QString &signalMethod, const QObject *receiver, const QString &slotMethod) |
|
static bool | disconnect (const QObject *sender, const QString &signalMethod, const QString &location, const QObject *receiver, const QString &slotMethod) |
|
static bool | disconnect (const QObject *sender, std::nullptr_t, const QObject *receiver, std::nullptr_t) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class SlotClass , class... SlotArgs, class SlotReturn > |
static bool | disconnect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, SlotReturn (SlotClass::*slotMethod)(SlotArgs...)) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver > |
static bool | disconnect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, std::nullptr_t slotMethod=nullptr) |
|
template<class Sender , class SignalClass , class... SignalArgs, class Receiver , class T > |
static bool | disconnect (const Sender *sender, void (SignalClass::*signalMethod)(SignalArgs...), const Receiver *receiver, T slotMethod) |
|
static QMetaObject & | staticMetaObject () |
|
static QString | tr (const char *text, const char *comment=nullptr, std::optional< int > numArg=std::optional< int >()) |
|
| currentLoop |
|
| currentTime |
|
| direction |
|
| duration |
|
| loopCount |
|
| state |
|
| objectName |
|
T | qobject_cast (QObject *object) |
|
| QObjectList |
|
The QParallelAnimationGroup class provides a parallel group of animations. This class is a container for animations and runs all child animations in parallel. The animation group finishes when the longest animation has completed.
In the following example, anim1
and anim2
are two QPropertyAnimations which have already been created and configured.
group->addAnimation(anim1);
group->addAnimation(anim2);
group->start();
- See also
- QAnimationGroup, QPropertyAnimation, Animation Technology