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
src_corelib_animation_qsequentialanimationgroup.cpp
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4#include <QSequentialAnimationGroup>
5
6void example(QAbstractAnimation *anim1, QAbstractAnimation *anim2)
7{
8//! [0]
9 QSequentialAnimationGroup *group = new QSequentialAnimationGroup;
10
11 group->addAnimation(anim1);
12 group->addAnimation(anim2);
13
14 group->start();
15//! [0]
16}
void example(QAbstractAnimation *anim1, QAbstractAnimation *anim2)