Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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:
19 QParallelAnimationGroup(QObject *parent = nullptr);
21
22 int duration() const override;
23
24protected:
26 bool event(QEvent *event) override;
27
28 void updateCurrentTime(int currentTime) override;
29 void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override;
30 void updateDirection(QAbstractAnimation::Direction direction) 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.
Direction
This enum describes the direction of the animation when in \l Running state.
\inmodule QtCore
\inmodule QtCore
Definition qcoreevent.h:45
\inmodule QtCore
Definition qobject.h:103
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]