1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef DETAILWIDGET_H |
6 | #define DETAILWIDGET_H |
7 | |
8 | #include "projectgenerate.h" |
9 | |
10 | #include <QScrollArea> |
11 | |
12 | using namespace templateMgr; |
13 | |
14 | class DetailWidgetPrivate; |
15 | class DetailWidget : public QScrollArea |
16 | { |
17 | Q_OBJECT |
18 | public: |
19 | explicit DetailWidget(QWidget *parent = nullptr); |
20 | DetailWidget(const QString &templatePath, QWidget *parent = nullptr); |
21 | ~DetailWidget() override; |
22 | |
23 | bool getGenParams(PojectGenParam ¶m); |
24 | |
25 | signals: |
26 | |
27 | private slots: |
28 | |
29 | private: |
30 | DetailWidgetPrivate *const d; |
31 | }; |
32 | |
33 | #endif // DETAILWIDGET_H |
34 |