You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
960 B
C++
49 lines
960 B
C++
#pragma once
|
|
|
|
#include "iWxPvtUtilOption.h"
|
|
|
|
namespace Ui {
|
|
class iWxPvtUtilOptionW;
|
|
}
|
|
|
|
class M_TOOL_PVT_EXPORT iWxPvtUtilOptionW : public iWxPvtUtilOption
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit iWxPvtUtilOptionW(QWidget *parent = 0);
|
|
~iWxPvtUtilOptionW();
|
|
|
|
// 初始化
|
|
virtual void initUI();
|
|
|
|
// 文件标识
|
|
virtual QString getFilePvtTag();
|
|
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
protected:
|
|
|
|
// 默认值
|
|
virtual void initDefault();
|
|
|
|
// 刷新Radio相关
|
|
void refreshRadioAbouts();
|
|
|
|
// 返回数据
|
|
virtual bool getParaValue(QString sPara,
|
|
float &fValue,
|
|
QString sUnitDest = "");
|
|
|
|
private slots:
|
|
|
|
void on_radioGravity_clicked();
|
|
void on_radioSalinity_clicked();
|
|
|
|
void on_cbxUnitSalinity_currentIndexChanged(const QString &arg1);
|
|
|
|
private:
|
|
Ui::iWxPvtUtilOptionW *ui;
|
|
};
|