1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef PROJECTINFODIALOG_H |
6 | #define PROJECTINFODIALOG_H |
7 | |
8 | #include <QTextBrowser> |
9 | #include <QDialog> |
10 | #include <QVBoxLayout> |
11 | |
12 | class ProjectInfoDialog : public QDialog |
13 | { |
14 | Q_OBJECT |
15 | public: |
16 | explicit ProjectInfoDialog(QWidget *parent = nullptr, |
17 | Qt::WindowFlags f = Qt::WindowFlags()); |
18 | void setPropertyText(const QString &text); |
19 | private: |
20 | QVBoxLayout *vLayout {nullptr}; |
21 | QTextBrowser *textBrowser {nullptr}; |
22 | }; |
23 | |
24 | #endif // PROJECTINFODIALOG_H |
25 |