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
12using namespace templateMgr;
13
14class DetailWidgetPrivate;
15class DetailWidget : public QScrollArea
16{
17 Q_OBJECT
18public:
19 explicit DetailWidget(QWidget *parent = nullptr);
20 DetailWidget(const QString &templatePath, QWidget *parent = nullptr);
21 ~DetailWidget() override;
22
23 bool getGenParams(PojectGenParam &param);
24
25signals:
26
27private slots:
28
29private:
30 DetailWidgetPrivate *const d;
31};
32
33#endif // DETAILWIDGET_H
34