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
qanimationgroup.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 QANIMATIONGROUP_H
5#define QANIMATIONGROUP_H
6
7#include <QtCore/qabstractanimation.h>
8
10
12
14class Q_CORE_EXPORT QAnimationGroup : public QAbstractAnimation
15{
17
18public:
19 QAnimationGroup(QObject *parent = nullptr);
21
22 QAbstractAnimation *animationAt(int index) const;
23 int animationCount() const;
24 int indexOfAnimation(QAbstractAnimation *animation) const;
26 void insertAnimation(int index, QAbstractAnimation *animation);
27 void removeAnimation(QAbstractAnimation *animation);
28 QAbstractAnimation *takeAnimation(int index);
29 void clear();
30
31protected:
33 bool event(QEvent *event) override;
34
35private:
36 Q_DISABLE_COPY(QAnimationGroup)
37 Q_DECLARE_PRIVATE(QAnimationGroup)
38};
39
41
42#endif //QANIMATIONGROUP_H
\inmodule QtCore
\inmodule QtCore
Definition qcoreevent.h:45
\inmodule QtCore
Definition qobject.h:103
b clear()
Combined button and popup list for selecting options.
GLuint index
[2]
struct _cl_event * event
#define QT_REQUIRE_CONFIG(feature)
#define Q_OBJECT
group addAnimation(anim1)
QPropertyAnimation animation
[0]