1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef CONFIGUREWIDGET_H |
6 | #define CONFIGUREWIDGET_H |
7 | |
8 | #include <QScrollArea> |
9 | |
10 | class CollapseWidget; |
11 | class ConfigureWidgetPrivate; |
12 | class ConfigureWidget : public QScrollArea |
13 | { |
14 | Q_OBJECT |
15 | ConfigureWidgetPrivate *const d; |
16 | public: |
17 | explicit ConfigureWidget(QWidget *parent = nullptr); |
18 | virtual ~ConfigureWidget() override; |
19 | void addCollapseWidget(CollapseWidget *widget); |
20 | void addWidget(QWidget *widget); |
21 | |
22 | protected: |
23 | void resizeEvent(QResizeEvent *event) override; |
24 | }; |
25 | |
26 | #endif // CONFIGUREWIDGET_H |
27 | |