From c7bafd1c9f0976c9ef0c7d90d5da1253b267d6c1 Mon Sep 17 00:00:00 2001 From: lh <2334563547@qq.com> Date: Tue, 4 Aug 2026 16:06:00 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B8=85=E7=90=86PEBI=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=9D=A2=E6=9D=BF=E5=B8=AE=E5=8A=A9=E6=A1=86=E6=AE=8B?= =?UTF-8?q?=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Include/nmNum/nmSubWxs/nmWxParaPropertyPebi.h | 6 ----- Src/nmNum/nmSubWxs/nmWxParaPropertyPebi.cpp | 22 ------------------- 2 files changed, 28 deletions(-) diff --git a/Include/nmNum/nmSubWxs/nmWxParaPropertyPebi.h b/Include/nmNum/nmSubWxs/nmWxParaPropertyPebi.h index 894e035..720d0bb 100644 --- a/Include/nmNum/nmSubWxs/nmWxParaPropertyPebi.h +++ b/Include/nmNum/nmSubWxs/nmWxParaPropertyPebi.h @@ -63,9 +63,6 @@ public: public slots: - // help msg - virtual void slotHelpMsg(QString& s); - /// @brief 响应参数控件值改变,并转发给数据注册表 virtual void slotParaCtrlValueChanged(QString sPara, QVariant o); @@ -93,9 +90,6 @@ protected: QStringList m_listParas; nmGridRowUtils* m_pGridItemUtils; - // Help - QTextEdit* m_pHelpBox; - // 数据管理器引用(用于全量重建面板时获取井和几何对象列表) nmDataAnalyzeManager* m_pDataManager; diff --git a/Src/nmNum/nmSubWxs/nmWxParaPropertyPebi.cpp b/Src/nmNum/nmSubWxs/nmWxParaPropertyPebi.cpp index 9c87711..54071eb 100644 --- a/Src/nmNum/nmSubWxs/nmWxParaPropertyPebi.cpp +++ b/Src/nmNum/nmSubWxs/nmWxParaPropertyPebi.cpp @@ -193,7 +193,6 @@ nmWxParaPropertyPebi::nmWxParaPropertyPebi(QWidget* parent) : m_pMainLayout = nullptr; m_listParas.clear(); m_pGridItemUtils = nullptr; - m_pHelpBox = nullptr; m_pDataManager = nullptr; setWindowTitle(tr("Numerical para property")); @@ -240,11 +239,6 @@ void nmWxParaPropertyPebi::initUI() pLayoutBk->setMargin(0); pLayoutBk->addWidget(pArea); - if (nullptr != m_pHelpBox) - { - pLayoutBk->addWidget(m_pHelpBox); - } - setLayout(pLayoutBk); } } @@ -277,8 +271,6 @@ void nmWxParaPropertyPebi::refreshUIs(QStringList& listParas, bool bReserveOlds Q_ASSERT(nullptr != m_pGridItemUtils); m_pGridItemUtils->setParent(this); m_pGridItemUtils->setParaSrcTag(s_Nm_Serie); - connect(m_pGridItemUtils, SIGNAL(sigHelpMsg(QString&)), - this, SLOT(slotHelpMsg(QString&))); m_pMainLayout->addWidget(m_pGridItemUtils); m_pGridItemUtils->setWellNames(mapObjectNames); m_pGridItemUtils->buildRowUtils(listParas, false, this); @@ -661,10 +653,6 @@ void nmWxParaPropertyPebi::rebuildResultParas() { m_pGridItemUtils->setItemsReadonly(true); } - if (m_pHelpBox != nullptr) - { - m_pHelpBox->hide(); - } } bool nmWxParaPropertyPebi::getParaValue(QString sPara, QVariant& o) @@ -748,16 +736,6 @@ void nmWxParaPropertyPebi::onDeserialize(ZxSerializer* ser) m_bUnableSP = false; } -// help msg -void nmWxParaPropertyPebi::slotHelpMsg(QString& s) -{ - if (nullptr == m_pHelpBox) - { - return; - } - m_pHelpBox->setHtml(s); -} - void nmWxParaPropertyPebi::paintEvent(QPaintEvent* e) { iDlgBase::paintEvent(e);