Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qparallelanimationgroup.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QPARALLELANIMATIONGROUP_H
5#define QPARALLELANIMATIONGROUP_H
6
7#include <QtCore/qanimationgroup.h>
8
10
12
14class Q_CORE_EXPORT QParallelAnimationGroup : public QAnimationGroup
15{
17
18public:
21
22 int duration() const override;
23
24protected:
26 bool event(QEvent *event) override;
27
28 void updateCurrentTime(int currentTime) override;
31
32private:
33 Q_DISABLE_COPY(QParallelAnimationGroup)
34 Q_DECLARE_PRIVATE(QParallelAnimationGroup)
35 Q_PRIVATE_SLOT(d_func(), void _q_uncontrolledAnimationFinished())
36};
37
39
40#endif // QPARALLELANIMATIONGROUP
State
This enum describes the state of the animation.
virtual void updateCurrentTime(int currentTime)=0
This pure virtual function is called every time the animation's currentTime changes.
virtual void updateDirection(QAbstractAnimation::Direction direction)
This virtual function is called by QAbstractAnimation when the direction of the animation is changed.
virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
This virtual function is called by QAbstractAnimation when the state of the animation is changed from...
Direction
This enum describes the direction of the animation when in \l Running state.
int duration
the duration of the animation.
\inmodule QtCore
\inmodule QtCore
Definition qcoreevent.h:45
\inmodule QtCore
Definition qobject.h:90
direction
void newState(QList< State > &states, const char *token, const char *lexem, bool pre)
Combined button and popup list for selecting options.
struct _cl_event * event
#define QT_REQUIRE_CONFIG(feature)
#define Q_OBJECT
#define Q_PRIVATE_SLOT(d, signature)
static double currentTime()
QPropertyAnimation animation
[0]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent