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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# pragma once
# include "iWxPseudoCSub.h"
class M_TOOL_PVT_EXPORT iWxPseudoCSubPE : public iWxPseudoCSub
{
Q_OBJECT
public :
explicit iWxPseudoCSubPE ( QString sMethod , QWidget * parent = 0 ) ;
~ iWxPseudoCSubPE ( ) ;
virtual void initUI ( ) ;
virtual void initLabels ( ) ;
// 所有的平衡计算的结果地址
void setResultPtrOfPE ( VVecDouble * pVVec ) ;
// 是否需要刷新
void setFreshNeeded ( bool b ) ;
bool isFreshNeeded ( ) { return m_bFreshNeeded ; }
// 根据新的相态平衡计算结果进行刷新
virtual bool freshResultPE ( ) ;
virtual bool freshTableByPE ( ) ;
protected :
// 准备拟合数据
bool prepareFitSrc ( VVecVariant & vvec , int nIndexY , int nIndexX = - 1 ) ;
// 表格及图形刷新
virtual void freshChartByTableChange ( ) ;
protected :
// 所有的平衡计算的结果地址,临时,不需要析构
VVecDouble * m_pVVecPtrOfPE ;
// 是否需要刷新
bool m_bFreshNeeded ;
// PE中第几列数据, 最后为压力, 8, 不予考虑
VecInt m_vecDataIndexes ;
} ;