aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/tasking/demo/progressindicator.h
blob: 406ebc9e8315f5f37be1e7be799e14b6df748005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef PROGRESSINDICATOR_H
#define PROGRESSINDICATOR_H

#include <QObject>

class ProgressIndicator : public QObject
{
public:
    ProgressIndicator(QWidget *parent = nullptr);

    void show();
    void hide();

private:
    class ProgressIndicatorWidget *m_widget = nullptr;
};

#endif // PROGRESSINDICATOR_H