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