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.
nmWATI/Include/mTool/mToolPvt/Pseu3/iWxPseudo3SubPseu.h

55 lines
1.2 KiB
C++

#pragma once
#include "iWxPseudo3SubFit.h"
class M_TOOL_PVT_EXPORT iWxPseudo3SubPseu : public iWxPseudo3SubFit
{
Q_OBJECT
public:
explicit iWxPseudo3SubPseu(QString sMethod, QWidget *parent = 0);
~iWxPseudo3SubPseu();
// 外部调用
virtual void initUI();
// 传递数据,开启刷新图表
virtual bool freshFinalPs(VecDouble& vecP, VecDouble& vecPs, double dPP, double dPD, QString sAllExpr);
protected:
// 初始化
virtual void initLabels();
virtual void initUI_Tops();
virtual QWidget* initUI_TableView();
virtual void initPsInfo(iPseudo3Info*& pInfo);
// 表格及图形刷新
virtual void freshChartByTableChange();
virtual void refreshByTopFit();
virtual void fitAndFreshChart(QString sKey, VVecVariant& vvec, bool bFitCurveOnly = false);
virtual void fitPseuReverse(VVecVariant& vvec); //反推
// 拟合相关
virtual bool isFitItemVisible(int nIndex);
// 通用标识
virtual bool isFinalPseu();
virtual bool isTbDataEditable();
signals:
void sigRefreshPseu();
private slots:
virtual void on_cbxWholeMode_clicked();
virtual void on_btnCalPseu3_clicked();
protected:
double m_dPP; //临时,画三段曲线用
double m_dPD;
};