WellLogUI,WellLogModule适配linux

This commit is contained in:
jinyuan 2026-05-15 09:57:53 +08:00
parent 8a449628fa
commit 8df235f63a
8 changed files with 15 additions and 12 deletions

View File

@ -6,12 +6,12 @@
#include <ObjWelllogINP.h> #include <ObjWelllogINP.h>
#include "DepthProgress.h" #include "DepthProgress.h"
#include <QDir> #include <QDir>
#include "GeometryUtils.h" #include "geometryutils.h"
// #include "LogPlusClient.h" // #include "LogPlusClient.h"
// #include "ObjectEvent.h" // #include "ObjectEvent.h"
// #include "ObjProject.h" // #include "ObjProject.h"
#include "ObjWell.h" #include "ObjWell.h"
#include "ObjWellLogTABLE.h" #include "ObjWelllogTABLE.h"
#include "ObjWelllogRound.h" #include "ObjWelllogRound.h"
#include "ParameterItem.h" #include "ParameterItem.h"
#include <QTextCodec> #include <QTextCodec>

View File

@ -64,7 +64,9 @@ INCLUDEPATH += ../../common
INCLUDEPATH += ../../BaseFun/include INCLUDEPATH += ../../BaseFun/include
INCLUDEPATH += ../../OSGDataModel/include INCLUDEPATH += ../../OSGDataModel/include
INCLUDEPATH += ../../DataMgr/include INCLUDEPATH += ../../DataMgr/include
INCLUDEPATH += ../../Workflow/include win32 {
INCLUDEPATH += ../../Workflow/include
}
INCLUDEPATH += ../../Workflow/WFEngine/Module/include INCLUDEPATH += ../../Workflow/WFEngine/Module/include
INCLUDEPATH += ../../Workflow/WFEngine/ObjectModel/ObjectModelBase/include INCLUDEPATH += ../../Workflow/WFEngine/ObjectModel/ObjectModelBase/include
INCLUDEPATH += ../../Workflow/WFCrystal/SysUtility/utils/include INCLUDEPATH += ../../Workflow/WFCrystal/SysUtility/utils/include

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
// #include "ui_TxtEditorDlg.h" // #include "ui_TxtEditorDlg.h"
#include "WellLogUI.h" #include "WellLogUI.h"
#include "ObjWellLogINP.h" #include "ObjWelllogINP.h"
class QString; class QString;
namespace Ui namespace Ui
{ {

View File

@ -21,7 +21,7 @@
#include <QApplication> #include <QApplication>
#include "BaseFun.h" #include "BaseFun.h"
// #include "ObjCoreImage.h" // #include "ObjCoreImage.h"
#include "ObjWellLogWavefile.h" #include "ObjWelllogWavefile.h"
#include "ObjWelllog.h" #include "ObjWelllog.h"
#include "LogIO.h" #include "LogIO.h"
// #include "CurveLineLog.h" // #include "CurveLineLog.h"

View File

@ -1,6 +1,6 @@
#include "TxtEditorDlg.h" #include "TxtEditorDlg.h"
#include "ui_TxtEditorDlg.h" #include "ui_TxtEditorDlg.h"
#include "GeometryUtils.h" #include "geometryutils.h"
TxtEditorDlg::TxtEditorDlg(CObjWellLogINP * currentinp) TxtEditorDlg::TxtEditorDlg(CObjWellLogINP * currentinp)
{ {

View File

@ -353,10 +353,9 @@ void CWellDialog::ViewToData()
wellLR.SetAreaName(m_pUI->areaName->text().toStdString()); wellLR.SetAreaName(m_pUI->areaName->text().toStdString());
wellLR.SetOilCompanyName(m_pUI->companyName->text().toStdString()); wellLR.SetOilCompanyName(m_pUI->companyName->text().toStdString());
QString xcode=m_pUI->xCode->text(); QString xcode=m_pUI->xCode->text();
char buf[100];
strcpy(buf,xcode.toStdString().c_str()); wellLR.SetXCode(xcode.toDouble());
wellLR.SetXCode(_atof_l(buf,0)); hd.x=xcode.toDouble();
hd.x=_atof_l(buf,0);
wellLR.SetYCode(m_pUI->yCode->text().toFloat()); wellLR.SetYCode(m_pUI->yCode->text().toFloat());
hd.y=m_pUI->yCode->text().toFloat(); hd.y=m_pUI->yCode->text().toFloat();
wellLR.SetXOffset(m_pUI->xOffset->text().toFloat()); wellLR.SetXOffset(m_pUI->xOffset->text().toFloat());

View File

@ -15,7 +15,7 @@
#include "LogIO.h" #include "LogIO.h"
//#include "CurveLineLog.h" //#include "CurveLineLog.h"
#include "ObjWelllogTABLE.h" #include "ObjWelllogTABLE.h"
#include "ObjWellLogTDT.h" #include "ObjWelllogTDT.h"
//#include "DataManagger.h" //#include "DataManagger.h"
#include "griddataadapter.h" #include "griddataadapter.h"

View File

@ -99,7 +99,9 @@ INCLUDEPATH += ../../common
INCLUDEPATH += ../../BaseFun/include INCLUDEPATH += ../../BaseFun/include
INCLUDEPATH += ../../OSGDataModel/include INCLUDEPATH += ../../OSGDataModel/include
INCLUDEPATH += ../../DataMgr/include INCLUDEPATH += ../../DataMgr/include
INCLUDEPATH += ../../Workflow/include win32 {
INCLUDEPATH += ../../Workflow/include
}
INCLUDEPATH += ../../Workflow/WFCrystal/Crystal/include INCLUDEPATH += ../../Workflow/WFCrystal/Crystal/include
INCLUDEPATH += ../../Workflow/WFCrystal/Plugin/include INCLUDEPATH += ../../Workflow/WFCrystal/Plugin/include
INCLUDEPATH += ../../Workflow/WFCrystal/SysUtility/utils/include INCLUDEPATH += ../../Workflow/WFCrystal/SysUtility/utils/include