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 "iSubWndAnal.h"
|
|
|
|
|
|
|
|
|
|
class iWxModelOption;
|
|
|
|
|
class iWxModelParameter;
|
|
|
|
|
class iAlgModelBase;
|
|
|
|
|
class iParaManager;
|
|
|
|
|
class iWxWmDataPF;
|
|
|
|
|
class ZxTableModel;
|
|
|
|
|
class iWxTime;
|
|
|
|
|
class iAlgFitBase;
|
|
|
|
|
class ZxObjCurve;
|
|
|
|
|
class ZxObjPointEx;
|
|
|
|
|
|
|
|
|
|
class M_SUB_WND_EXPORT iSubWndAnalEdit : public iSubWndAnal
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
explicit iSubWndAnalEdit(QWidget *parent = 0, QString sExt = "");
|
|
|
|
|
~iSubWndAnalEdit();
|
|
|
|
|
|
|
|
|
|
// 配置窗体
|
|
|
|
|
virtual void configWnd();
|
|
|
|
|
|
|
|
|
|
virtual QWidget* initUiMainWx();
|
|
|
|
|
|
|
|
|
|
// 执行命令:通常来自图形右侧/左侧的工具栏
|
|
|
|
|
virtual bool runActionOf(QString sAction);
|
|
|
|
|
|
|
|
|
|
virtual bool isModified();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// @brief 命令是否Enabled的状态判断,通常来自Ribbon
|
|
|
|
|
/// @param b (out),true:Enabled false:disabled
|
|
|
|
|
/// @param sName (in),Cmd Name
|
|
|
|
|
/// @param nID (in),Cmd ID
|
|
|
|
|
/// @param bLicensed (in),当前是否有授权
|
|
|
|
|
/// @return 本窗体是否已经进行状态判断(即属于本窗体可执行的命令)
|
|
|
|
|
virtual bool checkCmdEnable(bool &b, \
|
|
|
|
|
QString sName, int nID, \
|
|
|
|
|
bool bLicensed);
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
|
|
// 当前窗体所有信息的保存,比如关闭时提问的保存
|
|
|
|
|
virtual bool slotSaveAll();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
};
|