Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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// Qt-Security score:significant reason:default
4
5#ifndef QPARALLELANIMATIONGROUP_H
6#define QPARALLELANIMATIONGROUP_H
7
8#include <QtCore/qanimationgroup.h>
9
11
12QT_BEGIN_NAMESPACE
13
14class QParallelAnimationGroupPrivate;
15class Q_CORE_EXPORT QParallelAnimationGroup : public QAnimationGroup
16{
17 Q_OBJECT
18
19public:
20 QParallelAnimationGroup(QObject *parent = nullptr);
21 ~QParallelAnimationGroup();
22
23 int duration() const override;
24
25protected:
26 QParallelAnimationGroup(QParallelAnimationGroupPrivate &dd, QObject *parent);
27 bool event(QEvent *event) override;
28
29 void updateCurrentTime(int currentTime) override;
30 void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) override;
31 void updateDirection(QAbstractAnimation::Direction direction) override;
32
33private:
34 Q_DISABLE_COPY(QParallelAnimationGroup)
35 Q_DECLARE_PRIVATE(QParallelAnimationGroup)
36 Q_PRIVATE_SLOT(d_func(), void _q_uncontrolledAnimationFinished())
37};
38
39QT_END_NAMESPACE
40
41#endif // QPARALLELANIMATIONGROUP
QT_REQUIRE_CONFIG(animation)
QT_BEGIN_NAMESPACE typedef QList< QAbstractAnimation * >::ConstIterator AnimationListConstIt
QHash< QAbstractAnimation *, int >::Iterator AnimationTimeHashIt
QHash< QAbstractAnimation *, int >::ConstIterator AnimationTimeHashConstIt