Debian Codegraph @

src/app/view/resultview.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 <DPushButton>
8 #include <DWidget>
9 #include <DLabel>
10 #include <DPalette>
11 #include <DTipLabel>
12
13 #include <QPointer>
14
15 DWIDGET_USE_NAMESPACE
16
17 class ResultView : public DWidget
18 {
19 Q_OBJECT
20 public:
21 explicit ResultView(DWidget *parent = nullptr);
22
23 public slots:
24 void onLogLinkActivated(const QString &);
25 void updateResult(quint32 error, const QString &, const QString &description);
26
27 private:
28 QPointer<DLabel> m_title;
29 QPointer<DLabel> m_hitsTitle;
30 QPointer<DLabel> m_resultIcon;
31 QPointer<DLabel> m_logHits;
32 QPointer<DPushButton> m_rebootLater;
33 QPointer<DPushButton> m_rebootNow;
34
35 };