#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(VecFloat& vecP, VecFloat& 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; };