1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
---|---|
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #include "optioncmakegenerator.h" |
6 | #include "cmakeoptionwidget.h" |
7 | |
8 | class OptionCmakeGeneratorPrivate |
9 | { |
10 | friend class OptionCmakeGenerator; |
11 | |
12 | CMakeOptionWidget *widget = nullptr; |
13 | }; |
14 | |
15 | OptionCmakeGenerator::OptionCmakeGenerator() |
16 | : d(new OptionCmakeGeneratorPrivate()) |
17 | { |
18 | d->widget = new CMakeOptionWidget(); |
19 | } |
20 | |
21 | QWidget *OptionCmakeGenerator::optionWidget() |
22 | { |
23 | return d->widget; |
24 | } |
25 |