#pragma once #include "iWxPseudoCSubFit.h" class iPseudoPressureC; class M_TOOL_PVT_EXPORT iWxPseudoCSubPseu : public iWxPseudoCSubFit { Q_OBJECT public: explicit iWxPseudoCSubPseu(QString sMethod, QWidget *parent = 0); ~iWxPseudoCSubPseu(); // 外部调用 virtual void initUI(); // 传递数据,开启刷新图表 virtual bool freshFinalPs(VecFloat& vecP, VecFloat& vecPs, double dPP, double dPD, QString sAllExpr); QString getFitExprStr(QMap& mapFits); bool freshFitRsView(QMap& mapFits, \ QMap &mapOthers, \ VecDouble& vecXs, int nSplitIndex, \ iPseudoPressureC* pPvt); protected: // 初始化 virtual void initLabels(); virtual void initUI_Tops(); virtual QWidget* initUI_TableView(); virtual void initPsInfo(iPseudoCInfo*& 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; };