| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. | 
| 2 | // | 
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later | 
| 4 |  | 
| 5 | #ifndef RUNPROPERTYWIDGET_H | 
| 6 | #define RUNPROPERTYWIDGET_H | 
| 7 |  | 
| 8 | #include "configutil.h" | 
| 9 | #include "common/widget/pagewidget.h" | 
| 10 |  | 
| 11 | class QStandardItem; | 
| 12 | class RunPropertyWidgetPrivate; | 
| 13 | class RunPropertyWidget : public PageWidget | 
| 14 | { | 
| 15 |     Q_OBJECT | 
| 16 | public: | 
| 17 |     explicit RunPropertyWidget(const dpfservice::ProjectInfo &projectInfo, QStandardItem *item, QWidget *parent = nullptr); | 
| 18 |     virtual ~RunPropertyWidget() override; | 
| 19 |  | 
| 20 |     void saveConfig() override; | 
| 21 |     void readConfig() override; | 
| 22 |  | 
| 23 | private: | 
| 24 |     void setupUi(); | 
| 25 |     void updateData(); | 
| 26 |  | 
| 27 |     RunPropertyWidgetPrivate *const d; | 
| 28 | }; | 
| 29 |  | 
| 30 | #endif // RUNPROPERTYWIDGET_H | 
| 31 |  |