#ifndef WELLLOGINFORMATION_H #define WELLLOGINFORMATION_H //using namespace Ui; #include #include "BaseDialog.h" #include "EditPlotHeader.h" #include #include "ObjWelllogRound.h" #pragma execution_character_set("utf-8") using namespace pai; using namespace pai::datamodel; namespace Ui { class WellLogInformationClass; } namespace pai { namespace gui { //class CustomLineEdit; class EDITPLOTHEADER_EXPORT WellLogInformation : public /*CBaseDialog*/ QDialog { Q_OBJECT public: WellLogInformation(QWidget *parent = 0, Qt::WindowFlags flags = 0); ~WellLogInformation(); void SetWelllogRound(CObjWelllogRound*); CObjWelllogRound* GetWelllogRound(); int CreateTable(CLogIO *); protected: //bool eventFilter(QObject * pObject, QEvent * pEvent) override; private slots: void OnSave(); void OnCAddCurve(); void OnSAddCurve(); void OnCDeleteCurve(); void OnSDeleteCurve(); void OnCalcTemp(); private: void ReadWellP(QString szText,QLineEdit* pStart,QLineEdit* pEnd); void ReadCustomWell(const Slf_FILE_MESSAGE& rMessage); void ReadCementationWell(const Slf_FILE_MESSAGE& rMessage); void ReadProduceWell(const Slf_FILE_MESSAGE& rMessage); void ReadTable(QString tablename); void WriteTable(CLogIO *,int); void GetValueTable(CLogIO * pLogio,Slf_TABLE_FIELD *pFieldInfo,int nTableFlag,int nRow,int nColumn ,char*); QString GetStringtValueInTable(CLogIO * pLogio,Slf_TABLE_FIELD *pFieldInfo,int nTableFlag,int nRow,int nColumn,char*); void SetItemValue(CLogIO * pLogio,int nTableFlag,const QString& szKey,const QString& szValue,int nRow,int nCol,char*); void SetItemValue(CLogIO * pLogio,int nTableFlag,const QString& szKey, const QString& szValue1,const QString& szValue2,int nRow,int nCol,char*); private: Ui::WellLogInformationClass* m_pUi; CObjWelllogRound* m_pObjWelllogRound; }; } } #endif // WELLLOGINFORMATION_H