From f0971aba60aa577bf17dcef869637e121fa6d2b1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-450PEFP\\mainc" Date: Wed, 11 Mar 2026 09:53:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E9=87=8A=E7=BB=93=E8=AE=BA=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logPlus/PropertyWidget.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/logPlus/PropertyWidget.cpp b/logPlus/PropertyWidget.cpp index 7f17cfd..cdc1507 100644 --- a/logPlus/PropertyWidget.cpp +++ b/logPlus/PropertyWidget.cpp @@ -2010,6 +2010,32 @@ void PropertyWidget::initWaveProperty(FormInfo *formInfo, int nType) m_strCurrentProperty = Wave_Property; } +void PropertyWidget::initJieshiItemProperty(TransparentGroupResult* tdJieshi, double lower, double upper, QString strResult) +{ + //初始化,清空 + InitCurrentViewInfo(); + + + m_tdJieshi = tdJieshi; + + // + _CreateVariantPropertyItem("当前项", "顶深(m)", -upper, QVariant::Double); + _CreateVariantPropertyItem("当前项", "底深(m)", -lower, QVariant::Double); + _CreateVariantPropertyItem("当前项", "解释层号", tdJieshi->getTitle(), QVariant::String); + _CreateVariantPropertyItem("当前项", "油气结论", strResult, VariantManager::filePathTypeId()); + _CreateVariantPropertyItem("当前项", "备注", "", QVariant::String); + for (int i = 1; i <= 10; i++) + { + _CreateVariantPropertyItem("当前项", QString("油气结论%1").arg(i), strResult, VariantManager::filePathTypeId()); + } + for (int i = 1; i <= 10; i++) + { + _CreateVariantPropertyItem("当前项", QString("分段点%1深度").arg(i), strResult, VariantManager::filePathTypeId()); + } + //当前属性类型 + m_strCurrentProperty = JieshiItem_Property; +} + void PropertyWidget::initSwallCoreProperty(FormInfo *formInfo) { _CreateVariantPropertyItem("通常", "选择井曲线", m_strLineName + "@" + m_strSlfName, QVariant::String);