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
11using namespace templateMgr;
12
13class MainDialogPrivate;
14class MainDialog : public QDialog
15{
16 Q_OBJECT
17public:
18 explicit MainDialog(QDialog *parent = nullptr);
19 ~MainDialog();
20
21signals:
22
23private slots:
24
25private:
26 void setupUI(TemplateVector &templateVec);
27 void generate(const PojectGenParam &param);
28
29 MainDialogPrivate *const d;
30};
31
32#endif // MAINDIALOG_H
33