big-change:添加两种类型结构读写支持
This commit is contained in:
35
conf_setting.h
Normal file
35
conf_setting.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#ifndef CONF_SETTING_H
|
||||
#define CONF_SETTING_H
|
||||
|
||||
#include <QDialog>
|
||||
#include "src/config.h"
|
||||
|
||||
namespace Ui {
|
||||
class CGroupSetting;
|
||||
}
|
||||
|
||||
class CGroupSetting : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CGroupSetting(QWidget *parent, CGroupIni* oper);
|
||||
~CGroupSetting();
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent* event) override;
|
||||
|
||||
private:
|
||||
void add_item();
|
||||
void del_item();
|
||||
void set_ui(const OneGroupIni& gp);
|
||||
void change_ini();
|
||||
void update_ini();
|
||||
|
||||
private:
|
||||
bool auto_add_{false};
|
||||
Ui::CGroupSetting *ui;
|
||||
CGroupIni* ini_opr_{};
|
||||
};
|
||||
|
||||
#endif // CONF_SETTING_H
|
||||
Reference in New Issue
Block a user