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);