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.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "iWxPvtUtilOption.h"
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
class iWxPvtUtilOptionO;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class M_TOOL_PVT_EXPORT iWxPvtUtilOptionO : public iWxPvtUtilOption
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
explicit iWxPvtUtilOptionO(QWidget *parent = 0);
|
|
|
|
|
~iWxPvtUtilOptionO();
|
|
|
|
|
|
|
|
|
|
// 初始化
|
|
|
|
|
virtual void initUI();
|
|
|
|
|
|
|
|
|
|
// 文件标识
|
|
|
|
|
virtual QString getFilePvtTag();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
// 默认值
|
|
|
|
|
virtual void initDefault();
|
|
|
|
|
|
|
|
|
|
virtual void dealWithParaItem(QGridLayout* pLayout,
|
|
|
|
|
QString sPara,
|
|
|
|
|
int r,
|
|
|
|
|
int& c);
|
|
|
|
|
// 返回数据
|
|
|
|
|
virtual bool getParaValue(QString sPara,
|
|
|
|
|
float &fValue,
|
|
|
|
|
QString sUnitDest = "");
|
|
|
|
|
|
|
|
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
|
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void slotVasBegSetting();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Ui::iWxPvtUtilOptionO *ui;
|
|
|
|
|
|
|
|
|
|
float m_fPsep;
|
|
|
|
|
float m_fTsep;
|
|
|
|
|
};
|