1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef PAGEWIDGET_H |
6 | #define PAGEWIDGET_H |
7 | |
8 | #include <QWidget> |
9 | |
10 | class PageWidget : public QWidget |
11 | { |
12 | Q_OBJECT |
13 | public: |
14 | explicit PageWidget(QWidget *parent = nullptr); |
15 | virtual ~PageWidget() = 0; |
16 | virtual void saveConfig(){} |
17 | virtual void readConfig(){} |
18 | |
19 | virtual void setUserConfig(const QMap<QString, QVariant> &map){} |
20 | virtual void getUserConfig( QMap<QString, QVariant> &map){} |
21 | }; |
22 | |
23 | #endif // PAGEWIDGET_H |
24 | |