Debian Codegraph @

src/app/view/progressview.h

raw symbols SCIP
1 // SPDX-FileCopyrightText: 2017 - 2022 UnionTech Software Technology Co., Ltd.
2 //
3 // SPDX-License-Identifier: GPL-3.0-only
4
5 #pragma once
6
7 #include <DWidget>
8 #include <DWaterProgress>
9
10 DWIDGET_USE_NAMESPACE
11
12 class ProgressView : public DWidget
13 {
14 Q_OBJECT
15 public:
16 explicit ProgressView(DWidget *parent = nullptr);
17
18 protected:
19 virtual void timerEvent(QTimerEvent *event);
20
21 signals:
22 void finish(quint32 current,quint32 error, const QString &title, const QString &description);
23 void testCancel();
24
25 private:
26 int m_iInterval;
27 DWaterProgress* m_waterProgress;
28 };
29