1.道中间的线,双线改为单线。 2.套管组件、沉积相、气测支持拖拽到其他道。 3.重新提交PropertyWidget.cpp
This commit is contained in:
parent
6e314845ed
commit
c6cf28b6dd
|
|
@ -941,11 +941,25 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
else if("岩性" == m_propertyData[pProperty])
|
else if("岩性" == m_propertyData[pProperty])
|
||||||
{
|
{
|
||||||
QString newResult = variant.value<QString>();
|
QString newResult = variant.value<QString>();
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetLithSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
newResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(newResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
m_tdLayer->setLith(newResult);
|
m_tdLayer->setLith(newResult);
|
||||||
//
|
//
|
||||||
QCPRange currentRange = m_tdLayer->getRange();
|
QCPRange currentRange = m_tdLayer->getRange();
|
||||||
m_tdLayer->setRange(currentRange.lower, currentRange.upper);
|
m_tdLayer->setRange(currentRange.lower, currentRange.upper);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QMessageBox::information(nullptr,"提示","所选目录不支持");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (m_strCurrentProperty == JieshiItem_Property)
|
else if (m_strCurrentProperty == JieshiItem_Property)
|
||||||
{
|
{
|
||||||
|
|
@ -1021,6 +1035,15 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
if(m_tdGujing)
|
if(m_tdGujing)
|
||||||
{
|
{
|
||||||
QString newResult = variant.value<QString>();
|
QString newResult = variant.value<QString>();
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetGujingSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
newResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(newResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
m_tdGujing->setResult(newResult);
|
m_tdGujing->setResult(newResult);
|
||||||
//
|
//
|
||||||
QCPRange currentRange = m_tdGujing->getRange();
|
QCPRange currentRange = m_tdGujing->getRange();
|
||||||
|
|
@ -1028,6 +1051,11 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
//保存
|
//保存
|
||||||
m_tdGujing->mPlot->SaveToSLF_Gujing();
|
m_tdGujing->mPlot->SaveToSLF_Gujing();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QMessageBox::information(nullptr,"提示","所选目录不支持");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (m_strCurrentProperty == ImageItem_Property) // 岩心图片
|
else if (m_strCurrentProperty == ImageItem_Property) // 岩心图片
|
||||||
|
|
@ -1076,6 +1104,15 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
if(m_tdSwallCore)
|
if(m_tdSwallCore)
|
||||||
{
|
{
|
||||||
QString newResult = variant.value<QString>();
|
QString newResult = variant.value<QString>();
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetSymbolDir()+"取心岩性符号";
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
newResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(newResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
m_tdSwallCore->setLith(newResult);
|
m_tdSwallCore->setLith(newResult);
|
||||||
//
|
//
|
||||||
QCPRange currentRange = m_tdSwallCore->getRange();
|
QCPRange currentRange = m_tdSwallCore->getRange();
|
||||||
|
|
@ -1083,6 +1120,11 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
//保存
|
//保存
|
||||||
m_tdSwallCore->mPlot->SaveToSLF_SwallCore();
|
m_tdSwallCore->mPlot->SaveToSLF_SwallCore();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QMessageBox::information(nullptr,"提示","所选目录不支持");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if("油气" == m_propertyData[pProperty])
|
else if("油气" == m_propertyData[pProperty])
|
||||||
{
|
{
|
||||||
|
|
@ -1090,6 +1132,15 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
if(m_tdSwallCore)
|
if(m_tdSwallCore)
|
||||||
{
|
{
|
||||||
QString newResult = variant.value<QString>();
|
QString newResult = variant.value<QString>();
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetGasSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
newResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(newResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
m_tdSwallCore->setOil(newResult);
|
m_tdSwallCore->setOil(newResult);
|
||||||
//
|
//
|
||||||
QCPRange currentRange = m_tdSwallCore->getRange();
|
QCPRange currentRange = m_tdSwallCore->getRange();
|
||||||
|
|
@ -1097,6 +1148,11 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
//保存
|
//保存
|
||||||
m_tdSwallCore->mPlot->SaveToSLF_SwallCore();
|
m_tdSwallCore->mPlot->SaveToSLF_SwallCore();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QMessageBox::information(nullptr,"提示","所选目录不支持");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if("颜色" == m_propertyData[pProperty])
|
else if("颜色" == m_propertyData[pProperty])
|
||||||
{
|
{
|
||||||
|
|
@ -1105,6 +1161,14 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
{
|
{
|
||||||
QString ColorImage = variant.value<QString>();
|
QString ColorImage = variant.value<QString>();
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetColorSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
ColorImage.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(ColorImage.contains(strDefaultPath))
|
||||||
|
{
|
||||||
QString name = "";
|
QString name = "";
|
||||||
int CoreColor = 0;
|
int CoreColor = 0;
|
||||||
ColorImage.replace("\\","/");
|
ColorImage.replace("\\","/");
|
||||||
|
|
@ -1124,6 +1188,11 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
//保存
|
//保存
|
||||||
m_tdSwallCore->mPlot->SaveToSLF_SwallCore();
|
m_tdSwallCore->mPlot->SaveToSLF_SwallCore();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QMessageBox::information(nullptr,"提示","所选目录不支持");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if("起始位置" == m_propertyData[pProperty])
|
else if("起始位置" == m_propertyData[pProperty])
|
||||||
{
|
{
|
||||||
|
|
@ -1174,6 +1243,15 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
if(m_tdGeoLith)
|
if(m_tdGeoLith)
|
||||||
{
|
{
|
||||||
QString newResult = variant.value<QString>();
|
QString newResult = variant.value<QString>();
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetMudSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
newResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(newResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
m_tdGeoLith->setLith(newResult, m_tdGeoLith->m_Color);
|
m_tdGeoLith->setLith(newResult, m_tdGeoLith->m_Color);
|
||||||
//
|
//
|
||||||
QCPRange currentRange = m_tdGeoLith->getRange();
|
QCPRange currentRange = m_tdGeoLith->getRange();
|
||||||
|
|
@ -1181,6 +1259,11 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
//保存
|
//保存
|
||||||
m_tdGeoLith->mPlot->SaveToSLF_GeoLith();
|
m_tdGeoLith->mPlot->SaveToSLF_GeoLith();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QMessageBox::information(nullptr,"提示","所选目录不支持");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if("油气" == m_propertyData[pProperty])
|
else if("油气" == m_propertyData[pProperty])
|
||||||
{
|
{
|
||||||
|
|
@ -1188,6 +1271,15 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
if(m_tdGeoLith)
|
if(m_tdGeoLith)
|
||||||
{
|
{
|
||||||
QString newResult = variant.value<QString>();
|
QString newResult = variant.value<QString>();
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetGasSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
newResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(newResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
m_tdGeoLith->setOil(newResult);
|
m_tdGeoLith->setOil(newResult);
|
||||||
//
|
//
|
||||||
QCPRange currentRange = m_tdGeoLith->getRange();
|
QCPRange currentRange = m_tdGeoLith->getRange();
|
||||||
|
|
@ -1195,6 +1287,11 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
//保存
|
//保存
|
||||||
m_tdGeoLith->mPlot->SaveToSLF_GeoLith();
|
m_tdGeoLith->mPlot->SaveToSLF_GeoLith();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QMessageBox::information(nullptr,"提示","所选目录不支持");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if("颜色" == m_propertyData[pProperty])
|
else if("颜色" == m_propertyData[pProperty])
|
||||||
{
|
{
|
||||||
|
|
@ -1202,6 +1299,15 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
if(m_tdGeoLith)
|
if(m_tdGeoLith)
|
||||||
{
|
{
|
||||||
QString newResult = variant.value<QString>();
|
QString newResult = variant.value<QString>();
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetColorSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
newResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(newResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
m_tdGeoLith->setLith(m_tdGeoLith->m_Lith, newResult);
|
m_tdGeoLith->setLith(m_tdGeoLith->m_Lith, newResult);
|
||||||
//
|
//
|
||||||
QCPRange currentRange = m_tdGeoLith->getRange();
|
QCPRange currentRange = m_tdGeoLith->getRange();
|
||||||
|
|
@ -1209,6 +1315,11 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
//保存
|
//保存
|
||||||
m_tdGeoLith->mPlot->SaveToSLF_GeoLith();
|
m_tdGeoLith->mPlot->SaveToSLF_GeoLith();
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QMessageBox::information(nullptr,"提示","所选目录不支持");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if("含油占比(1~8)" == m_propertyData[pProperty])
|
else if("含油占比(1~8)" == m_propertyData[pProperty])
|
||||||
{
|
{
|
||||||
|
|
@ -1675,6 +1786,15 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
|
|
||||||
//--------------------------
|
//--------------------------
|
||||||
QString newResult = variant.value<QString>();
|
QString newResult = variant.value<QString>();
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = GetSymbolDir()+"管柱组件";
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
newResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(newResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
m_tdGuan->setResult(newResult);
|
m_tdGuan->setResult(newResult);
|
||||||
//
|
//
|
||||||
QCPRange currentRange = m_tdGuan->getRange();
|
QCPRange currentRange = m_tdGuan->getRange();
|
||||||
|
|
@ -1690,6 +1810,11 @@ void PropertyWidget::SlotPropertyChanged( QtProperty *pProperty, const QVariant
|
||||||
m_tdGuan->mPlot->LoadFromSLF_ReDrawTubing(m_tdGuan->mPlot->m_strSlfName, m_tdGuan->mPlot->m_strLineName);
|
m_tdGuan->mPlot->LoadFromSLF_ReDrawTubing(m_tdGuan->mPlot->m_strSlfName, m_tdGuan->mPlot->m_strLineName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QMessageBox::information(nullptr,"提示","所选目录不支持");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (m_strCurrentProperty == Depth_Property) // 深度
|
else if (m_strCurrentProperty == Depth_Property) // 深度
|
||||||
|
|
@ -3125,9 +3250,51 @@ void PropertyWidget::initSwallCoreItemProperty(TransparentDraggableSwallCore* td
|
||||||
|
|
||||||
//
|
//
|
||||||
_CreateVariantPropertyItem("当前项", "深度", -Depth, QVariant::Double);
|
_CreateVariantPropertyItem("当前项", "深度", -Depth, QVariant::Double);
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetSymbolDir()+"取心岩性符号";
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
LithologyImage.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(LithologyImage.contains(strDefaultPath))
|
||||||
|
{
|
||||||
_CreateVariantPropertyItem("当前项", "岩性", LithologyImage, VariantManager::filePathTypeId());
|
_CreateVariantPropertyItem("当前项", "岩性", LithologyImage, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
_CreateVariantPropertyItem("当前项", "岩性", strDefaultPath, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
strDefaultPath = ::GetGasSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
OilGasImage.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(OilGasImage.contains(strDefaultPath))
|
||||||
|
{
|
||||||
_CreateVariantPropertyItem("当前项", "油气", OilGasImage, VariantManager::filePathTypeId());
|
_CreateVariantPropertyItem("当前项", "油气", OilGasImage, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_CreateVariantPropertyItem("当前项", "油气", strDefaultPath, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
strDefaultPath = ::GetColorSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
ColorImage.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(ColorImage.contains(strDefaultPath))
|
||||||
|
{
|
||||||
_CreateVariantPropertyItem("当前项", "颜色", ColorImage, VariantManager::filePathTypeId());
|
_CreateVariantPropertyItem("当前项", "颜色", ColorImage, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_CreateVariantPropertyItem("当前项", "颜色", strDefaultPath, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
|
||||||
_CreateVariantPropertyItem("当前项", "起始位置", Sideleft, QVariant::Double);
|
_CreateVariantPropertyItem("当前项", "起始位置", Sideleft, QVariant::Double);
|
||||||
//_CreateVariantPropertyItem("当前项", "宽度", -Depth, QVariant::Double);
|
//_CreateVariantPropertyItem("当前项", "宽度", -Depth, QVariant::Double);
|
||||||
}
|
}
|
||||||
|
|
@ -3294,7 +3461,21 @@ void PropertyWidget::initGujingItemProperty(TransparentDraggableGujing* tdGujing
|
||||||
//
|
//
|
||||||
_CreateVariantPropertyItem("当前项", "顶深(m)", -upper, QVariant::Double);
|
_CreateVariantPropertyItem("当前项", "顶深(m)", -upper, QVariant::Double);
|
||||||
_CreateVariantPropertyItem("当前项", "底深(m)", -lower, QVariant::Double);
|
_CreateVariantPropertyItem("当前项", "底深(m)", -lower, QVariant::Double);
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetGujingSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
strResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(strResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
_CreateVariantPropertyItem("当前项", "固井结论", strResult, VariantManager::filePathTypeId());
|
_CreateVariantPropertyItem("当前项", "固井结论", strResult, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_CreateVariantPropertyItem("当前项", "固井结论", strDefaultPath, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PropertyWidget::initImageProperty(FormInfo *formInfo)
|
void PropertyWidget::initImageProperty(FormInfo *formInfo)
|
||||||
|
|
@ -3612,7 +3793,7 @@ void PropertyWidget::initTvdProperty(FormInfo *formInfo)
|
||||||
m_strCurrentProperty = Tvd_Property;
|
m_strCurrentProperty = Tvd_Property;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PropertyWidget::initGeoLithItemProperty(TransparentDraggableGeoLith* tdGeoLith, double lower, double upper, const QString myLith, const QString myOil, const QString myColor)
|
void PropertyWidget::initGeoLithItemProperty(TransparentDraggableGeoLith* tdGeoLith, double lower, double upper, QString myLith, QString myOil, QString myColor)
|
||||||
{
|
{
|
||||||
//初始化,清空
|
//初始化,清空
|
||||||
InitCurrentViewInfo();
|
InitCurrentViewInfo();
|
||||||
|
|
@ -3654,9 +3835,51 @@ void PropertyWidget::initGeoLithItemProperty(TransparentDraggableGeoLith* tdGeoL
|
||||||
//
|
//
|
||||||
_CreateVariantPropertyItem("当前项", "顶深(m)", -upper, QVariant::Double);
|
_CreateVariantPropertyItem("当前项", "顶深(m)", -upper, QVariant::Double);
|
||||||
_CreateVariantPropertyItem("当前项", "底深(m)", -lower, QVariant::Double);
|
_CreateVariantPropertyItem("当前项", "底深(m)", -lower, QVariant::Double);
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = ::GetMudSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
myLith.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(myLith.contains(strDefaultPath))
|
||||||
|
{
|
||||||
_CreateVariantPropertyItem("当前项", "岩性", myLith, VariantManager::filePathTypeId());
|
_CreateVariantPropertyItem("当前项", "岩性", myLith, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
_CreateVariantPropertyItem("当前项", "岩性", strDefaultPath, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
strDefaultPath = ::GetGasSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
myOil.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(myOil.contains(strDefaultPath))
|
||||||
|
{
|
||||||
_CreateVariantPropertyItem("当前项", "油气", myOil, VariantManager::filePathTypeId());
|
_CreateVariantPropertyItem("当前项", "油气", myOil, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_CreateVariantPropertyItem("当前项", "油气", strDefaultPath, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
strDefaultPath = ::GetColorSymbolDir();
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
myColor.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(myColor.contains(strDefaultPath))
|
||||||
|
{
|
||||||
_CreateVariantPropertyItem("当前项", "颜色", myColor, VariantManager::filePathTypeId());
|
_CreateVariantPropertyItem("当前项", "颜色", myColor, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_CreateVariantPropertyItem("当前项", "颜色", strDefaultPath, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//气测/FMT/射孔/文本
|
//气测/FMT/射孔/文本
|
||||||
|
|
@ -3815,7 +4038,20 @@ void PropertyWidget::initTubingItemProperty(TransparentDraggableGuan* tdGuan, do
|
||||||
|
|
||||||
//
|
//
|
||||||
_CreateVariantPropertyItem("当前项", "深度(m)", -(upper+lower)/2.0, QVariant::Double);
|
_CreateVariantPropertyItem("当前项", "深度(m)", -(upper+lower)/2.0, QVariant::Double);
|
||||||
|
|
||||||
|
//只能选择自己的符号,不能选择其他。
|
||||||
|
QString strDefaultPath = GetSymbolDir()+"管柱组件";
|
||||||
|
//符号统一
|
||||||
|
strDefaultPath.replace("\\","/");
|
||||||
|
strResult.replace("\\","/");
|
||||||
|
//
|
||||||
|
if(strResult.contains(strDefaultPath))
|
||||||
|
{
|
||||||
_CreateVariantPropertyItem("当前项", "组件类型", strResult, VariantManager::filePathTypeId());
|
_CreateVariantPropertyItem("当前项", "组件类型", strResult, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
_CreateVariantPropertyItem("当前项", "组件类型", strDefaultPath, VariantManager::filePathTypeId());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PropertyWidget::changedDepthProperty(QString strProperty, QVariant varVal)
|
void PropertyWidget::changedDepthProperty(QString strProperty, QVariant varVal)
|
||||||
|
|
|
||||||
|
|
@ -189,6 +189,16 @@ void CustomTabWidget::dropEvent(QDropEvent *event)
|
||||||
//关闭
|
//关闭
|
||||||
void CustomTabWidget::slot_tabClose(int index)
|
void CustomTabWidget::slot_tabClose(int index)
|
||||||
{
|
{
|
||||||
|
QWidget *selectWidget = tabWidget(index);
|
||||||
|
|
||||||
|
QString objectName = selectWidget->objectName();
|
||||||
|
if(objectName == "MainWindowSplitter")
|
||||||
|
{
|
||||||
|
int flag = QMessageBox::warning(NULL,"提示",QString("图文件尚未保存,您确信关闭当前窗口?"),QMessageBox::Yes,QMessageBox::No);
|
||||||
|
if(flag!=QMessageBox::Yes) return;
|
||||||
|
}
|
||||||
|
|
||||||
|
//移除
|
||||||
removeTab(index);
|
removeTab(index);
|
||||||
|
|
||||||
//属性清空
|
//属性清空
|
||||||
|
|
|
||||||
|
|
@ -8154,6 +8154,63 @@ void FormDraw::dropEvent(QDropEvent* event)
|
||||||
//新建表格曲线
|
//新建表格曲线
|
||||||
emit CallManage::getInstance()->sig_AddTableLine(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
emit CallManage::getInstance()->sig_AddTableLine(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
}
|
}
|
||||||
|
else if(strType=="depthObject")
|
||||||
|
{
|
||||||
|
qDebug() << "新建深度";
|
||||||
|
//新建曲线
|
||||||
|
emit CallManage::getInstance()->sig_AddDepth(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="ganzhuangtuObject")
|
||||||
|
{
|
||||||
|
//新建杆状图
|
||||||
|
emit CallManage::getInstance()->sig_AddGanZhuangTu(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="JyktObject")
|
||||||
|
{
|
||||||
|
//新建井眼垮塌矢量图
|
||||||
|
emit CallManage::getInstance()->sig_AddJykt(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="DenvObject")
|
||||||
|
{
|
||||||
|
//新建井斜方位图
|
||||||
|
emit CallManage::getInstance()->sig_AddDenv(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="DrawImageObject")
|
||||||
|
{
|
||||||
|
//图像 成图
|
||||||
|
emit CallManage::getInstance()->sig_AddDrawImage(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="SantuyibiaoObject")
|
||||||
|
{
|
||||||
|
//斜井三图一表
|
||||||
|
emit CallManage::getInstance()->sig_AddSantuyibiao(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="CrackObject")
|
||||||
|
{
|
||||||
|
//裂缝
|
||||||
|
emit CallManage::getInstance()->sig_AddCrack(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="JiegutextObject")
|
||||||
|
{
|
||||||
|
//气测/FMT/射孔/文本
|
||||||
|
emit CallManage::getInstance()->sig_AddJiegutext(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="LogfaceObject")
|
||||||
|
{
|
||||||
|
//沉积相
|
||||||
|
emit CallManage::getInstance()->sig_AddLogface(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="MCalsObject")
|
||||||
|
{
|
||||||
|
//多臂井径
|
||||||
|
emit CallManage::getInstance()->sig_AddMCals(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="TubingstringObject")
|
||||||
|
{
|
||||||
|
//套管组件
|
||||||
|
emit CallManage::getInstance()->sig_AddTubingstring(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
|
||||||
// 接受拖拽事件
|
// 接受拖拽事件
|
||||||
event->setDropAction(Qt::MoveAction);
|
event->setDropAction(Qt::MoveAction);
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
||||||
|
|
@ -137,6 +137,62 @@ void FormTrackTop::dropEvent(QDropEvent* event)
|
||||||
//新建表格曲线
|
//新建表格曲线
|
||||||
emit CallManage::getInstance()->sig_AddTableLine(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
emit CallManage::getInstance()->sig_AddTableLine(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
}
|
}
|
||||||
|
else if(strType=="depthObject")
|
||||||
|
{
|
||||||
|
qDebug() << "新建深度";
|
||||||
|
//新建曲线
|
||||||
|
emit CallManage::getInstance()->sig_AddDepth(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="ganzhuangtuObject")
|
||||||
|
{
|
||||||
|
//新建杆状图
|
||||||
|
emit CallManage::getInstance()->sig_AddGanZhuangTu(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="JyktObject")
|
||||||
|
{
|
||||||
|
//新建井眼垮塌矢量图
|
||||||
|
emit CallManage::getInstance()->sig_AddJykt(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="DenvObject")
|
||||||
|
{
|
||||||
|
//新建井斜方位图
|
||||||
|
emit CallManage::getInstance()->sig_AddDenv(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="DrawImageObject")
|
||||||
|
{
|
||||||
|
//图像 成图
|
||||||
|
emit CallManage::getInstance()->sig_AddDrawImage(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="SantuyibiaoObject")
|
||||||
|
{
|
||||||
|
//斜井三图一表
|
||||||
|
emit CallManage::getInstance()->sig_AddSantuyibiao(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="CrackObject")
|
||||||
|
{
|
||||||
|
//裂缝
|
||||||
|
emit CallManage::getInstance()->sig_AddCrack(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="JiegutextObject")
|
||||||
|
{
|
||||||
|
//气测/FMT/射孔/文本
|
||||||
|
emit CallManage::getInstance()->sig_AddJiegutext(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="LogfaceObject")
|
||||||
|
{
|
||||||
|
//沉积相
|
||||||
|
emit CallManage::getInstance()->sig_AddLogface(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="MCalsObject")
|
||||||
|
{
|
||||||
|
//多臂井径
|
||||||
|
emit CallManage::getInstance()->sig_AddMCals(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="TubingstringObject")
|
||||||
|
{
|
||||||
|
//套管组件
|
||||||
|
emit CallManage::getInstance()->sig_AddTubingstring(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
// 接受拖拽事件
|
// 接受拖拽事件
|
||||||
event->setDropAction(Qt::MoveAction);
|
event->setDropAction(Qt::MoveAction);
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,12 @@ FormWell::FormWell(QWidget *parent, QString strWellName) :
|
||||||
ui->tableWidget->setRowCount(rowcount); //动态设置行数
|
ui->tableWidget->setRowCount(rowcount); //动态设置行数
|
||||||
//ui->tableWidget->verticalHeader()->setFixedWidth(3);//标题栏宽度
|
//ui->tableWidget->verticalHeader()->setFixedWidth(3);//标题栏宽度
|
||||||
ui->tableWidget->horizontalHeader()->setFixedHeight(3);
|
ui->tableWidget->horizontalHeader()->setFixedHeight(3);
|
||||||
|
//左右边框隐藏
|
||||||
ui->tableWidget->setStyleSheet( "QTableView::item:selected {color:#57595B; background:#E4E4E4;}");
|
ui->tableWidget->setStyleSheet("QTableView::item {border-left: 0px solid black;} \
|
||||||
|
QTableView::item:selected {border-left: 0px solid black; color:#57595B; background:#E4E4E4;}\
|
||||||
|
QTableView::item {border-right: 0px solid black;} \
|
||||||
|
QTableView::item:selected {border-right: 0px solid black;}");
|
||||||
|
//"QTableView::item:selected {color:#57595B; background:#E4E4E4;}"
|
||||||
|
|
||||||
// 假设你的类中有一个槽函数:onTableRowsInserted(QModelIndex parent, int first, int last)
|
// 假设你的类中有一个槽函数:onTableRowsInserted(QModelIndex parent, int first, int last)
|
||||||
//connect(ui->tableWidget->model(), &QAbstractItemModel::columnsInserted,
|
//connect(ui->tableWidget->model(), &QAbstractItemModel::columnsInserted,
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,71 @@ void PreQTableWidget::dropEvent(QDropEvent *event)
|
||||||
//新建表格曲线
|
//新建表格曲线
|
||||||
emit CallManage::getInstance()->sig_AddTableLine(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
emit CallManage::getInstance()->sig_AddTableLine(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
}
|
}
|
||||||
|
else if(strType=="depthObject")
|
||||||
|
{
|
||||||
|
qDebug() << "新建深度";
|
||||||
|
//新建曲线
|
||||||
|
emit CallManage::getInstance()->sig_AddDepth(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="ganzhuangtuObject")
|
||||||
|
{
|
||||||
|
//新建杆状图
|
||||||
|
emit CallManage::getInstance()->sig_AddGanZhuangTu(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="JyktObject")
|
||||||
|
{
|
||||||
|
//新建井眼垮塌矢量图
|
||||||
|
emit CallManage::getInstance()->sig_AddJykt(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="DenvObject")
|
||||||
|
{
|
||||||
|
//新建井斜方位图
|
||||||
|
emit CallManage::getInstance()->sig_AddDenv(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="DrawImageObject")
|
||||||
|
{
|
||||||
|
//图像 成图
|
||||||
|
emit CallManage::getInstance()->sig_AddDrawImage(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="SantuyibiaoObject")
|
||||||
|
{
|
||||||
|
//斜井三图一表
|
||||||
|
emit CallManage::getInstance()->sig_AddSantuyibiao(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="CrackObject")
|
||||||
|
{
|
||||||
|
//裂缝
|
||||||
|
emit CallManage::getInstance()->sig_AddCrack(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="JiegutextObject")
|
||||||
|
{
|
||||||
|
//删除表格
|
||||||
|
// emit CallManage::getInstance()->sig_delTableLine(m_strUuid, strWellName, strTrackName, strLineName);
|
||||||
|
|
||||||
|
//气测/FMT/射孔/文本
|
||||||
|
emit CallManage::getInstance()->sig_AddJiegutext(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="LogfaceObject")
|
||||||
|
{
|
||||||
|
//删除表格
|
||||||
|
// emit CallManage::getInstance()->sig_delTableLine(m_strUuid, strWellName, strTrackName, strLineName);
|
||||||
|
|
||||||
|
//沉积相
|
||||||
|
emit CallManage::getInstance()->sig_AddLogface(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="MCalsObject")
|
||||||
|
{
|
||||||
|
//多臂井径
|
||||||
|
emit CallManage::getInstance()->sig_AddMCals(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="TubingstringObject")
|
||||||
|
{
|
||||||
|
//删除表格
|
||||||
|
// emit CallManage::getInstance()->sig_delTableLine(m_strUuid, strWellName, strTrackName, strLineName);
|
||||||
|
|
||||||
|
//套管组件
|
||||||
|
emit CallManage::getInstance()->sig_AddTubingstring(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//m_listLineName.push_back(strLineName);
|
//m_listLineName.push_back(strLineName);
|
||||||
|
|
||||||
|
|
@ -190,7 +254,62 @@ void PreQTableWidget::dropEvent(QDropEvent *event)
|
||||||
//新建表格曲线
|
//新建表格曲线
|
||||||
emit CallManage::getInstance()->sig_AddTableLine(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
emit CallManage::getInstance()->sig_AddTableLine(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
}
|
}
|
||||||
|
else if(strType=="depthObject")
|
||||||
|
{
|
||||||
|
qDebug() << "新建深度";
|
||||||
|
//新建曲线
|
||||||
|
emit CallManage::getInstance()->sig_AddDepth(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="ganzhuangtuObject")
|
||||||
|
{
|
||||||
|
//新建杆状图
|
||||||
|
emit CallManage::getInstance()->sig_AddGanZhuangTu(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="JyktObject")
|
||||||
|
{
|
||||||
|
//新建井眼垮塌矢量图
|
||||||
|
emit CallManage::getInstance()->sig_AddJykt(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="DenvObject")
|
||||||
|
{
|
||||||
|
//新建井斜方位图
|
||||||
|
emit CallManage::getInstance()->sig_AddDenv(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="DrawImageObject")
|
||||||
|
{
|
||||||
|
//图像 成图
|
||||||
|
emit CallManage::getInstance()->sig_AddDrawImage(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="SantuyibiaoObject")
|
||||||
|
{
|
||||||
|
//斜井三图一表
|
||||||
|
emit CallManage::getInstance()->sig_AddSantuyibiao(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="CrackObject")
|
||||||
|
{
|
||||||
|
//裂缝
|
||||||
|
emit CallManage::getInstance()->sig_AddCrack(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="JiegutextObject")
|
||||||
|
{
|
||||||
|
//气测/FMT/射孔/文本
|
||||||
|
emit CallManage::getInstance()->sig_AddJiegutext(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="LogfaceObject")
|
||||||
|
{
|
||||||
|
//沉积相
|
||||||
|
emit CallManage::getInstance()->sig_AddLogface(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="MCalsObject")
|
||||||
|
{
|
||||||
|
//多臂井径
|
||||||
|
emit CallManage::getInstance()->sig_AddMCals(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="TubingstringObject")
|
||||||
|
{
|
||||||
|
//套管组件
|
||||||
|
emit CallManage::getInstance()->sig_AddTubingstring(m_strUuid, strSlfName, strWellName, m_strTrackName, strLineName);
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//m_listLineName.push_back(strLineName);
|
//m_listLineName.push_back(strLineName);
|
||||||
|
|
||||||
|
|
@ -237,9 +356,10 @@ void PreQTableWidget::performDrag()
|
||||||
// 执行拖拽操作
|
// 执行拖拽操作
|
||||||
m_AddSuc = false;
|
m_AddSuc = false;
|
||||||
Qt::DropAction dropAction = drag->exec(Qt::MoveAction);
|
Qt::DropAction dropAction = drag->exec(Qt::MoveAction);
|
||||||
if (dropAction == Qt::MoveAction) { //&& m_AddSuc
|
if (dropAction == Qt::MoveAction)
|
||||||
|
{
|
||||||
// 处理拖拽结束的逻辑,例如从界面上移除拖拽的项
|
// 处理拖拽结束的逻辑,例如从界面上移除拖拽的项
|
||||||
removeRow(iCurrentRow);
|
// removeRow(iCurrentRow);
|
||||||
if(strType=="curveObject")
|
if(strType=="curveObject")
|
||||||
{
|
{
|
||||||
//删除曲线
|
//删除曲线
|
||||||
|
|
@ -252,12 +372,67 @@ void PreQTableWidget::performDrag()
|
||||||
}
|
}
|
||||||
else if(strType=="tableObject")
|
else if(strType=="tableObject")
|
||||||
{
|
{
|
||||||
//删除波列
|
//删除表格
|
||||||
emit CallManage::getInstance()->sig_delTableLine(m_strUuid, formInfo->m_strWellName, formInfo->m_strTrackName, formInfo->m_strLineName);
|
emit CallManage::getInstance()->sig_delTableLine(m_strUuid, formInfo->m_strWellName, formInfo->m_strTrackName, formInfo->m_strLineName);
|
||||||
}
|
}
|
||||||
|
else if(strType=="depthObject")
|
||||||
|
{
|
||||||
|
//深度
|
||||||
|
|
||||||
//
|
}
|
||||||
//m_listLineName.removeOne(formInfo->m_strLineName);
|
else if(strType=="ganzhuangtuObject")
|
||||||
|
{
|
||||||
|
//杆状图
|
||||||
|
|
||||||
|
}
|
||||||
|
else if(strType=="JyktObject")
|
||||||
|
{
|
||||||
|
//井眼垮塌矢量图
|
||||||
|
|
||||||
|
}
|
||||||
|
else if(strType=="DenvObject")
|
||||||
|
{
|
||||||
|
//井斜方位图
|
||||||
|
|
||||||
|
}
|
||||||
|
else if(strType=="DrawImageObject")
|
||||||
|
{
|
||||||
|
//图像 成图
|
||||||
|
|
||||||
|
}
|
||||||
|
else if(strType=="SantuyibiaoObject")
|
||||||
|
{
|
||||||
|
//斜井三图一表
|
||||||
|
|
||||||
|
}
|
||||||
|
else if(strType=="CrackObject")
|
||||||
|
{
|
||||||
|
//裂缝
|
||||||
|
|
||||||
|
}
|
||||||
|
else if(strType=="JiegutextObject")
|
||||||
|
{
|
||||||
|
//气测/FMT/射孔/文本
|
||||||
|
//删除表格
|
||||||
|
emit CallManage::getInstance()->sig_delTableLine(m_strUuid, formInfo->m_strWellName, formInfo->m_strTrackName, formInfo->m_strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="LogfaceObject")
|
||||||
|
{
|
||||||
|
//沉积相
|
||||||
|
//删除表格
|
||||||
|
emit CallManage::getInstance()->sig_delTableLine(m_strUuid, formInfo->m_strWellName, formInfo->m_strTrackName, formInfo->m_strLineName);
|
||||||
|
}
|
||||||
|
else if(strType=="MCalsObject")
|
||||||
|
{
|
||||||
|
//多臂井径
|
||||||
|
|
||||||
|
}
|
||||||
|
else if(strType=="TubingstringObject")
|
||||||
|
{
|
||||||
|
//套管组件
|
||||||
|
//删除表格
|
||||||
|
emit CallManage::getInstance()->sig_delTableLine(m_strUuid, formInfo->m_strWellName, formInfo->m_strTrackName, formInfo->m_strLineName);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user