1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #include "optionninjagenerator.h" |
6 | #include "ninjaoptionwidget.h" |
7 | |
8 | #include "common/widget/pagewidget.h" |
9 | |
10 | #include <QWidget> |
11 | #include <QHBoxLayout> |
12 | #include <QTabWidget> |
13 | |
14 | class OptionNinjaGeneratorPrivate |
15 | { |
16 | friend class OptionNinjaGenerator; |
17 | |
18 | NinjaOptionWidget *widget = nullptr; |
19 | }; |
20 | |
21 | OptionNinjaGenerator::OptionNinjaGenerator() |
22 | : d(new OptionNinjaGeneratorPrivate()) |
23 | { |
24 | d->widget = new NinjaOptionWidget(); |
25 | } |
26 | |
27 | QWidget *OptionNinjaGenerator::optionWidget() |
28 | { |
29 | return d->widget; |
30 | } |
31 |