From 9d742b18e614047698ddc5bcd980db458ec532d8 Mon Sep 17 00:00:00 2001 From: lh <2334563547@qq.com> Date: Mon, 17 Aug 2026 09:33:32 +0800 Subject: [PATCH] =?UTF-8?q?refactor(nmNum):=20=E4=BC=98=E5=8C=96=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E5=8F=82=E6=95=B0=E7=95=8C=E9=9D=A2=E5=B9=B6=E6=8E=A5?= =?UTF-8?q?=E5=85=A5=E7=B3=BB=E7=BB=9F=E5=B8=AE=E5=8A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Include/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.h | 2 +- Src/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Include/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.h b/Include/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.h index c76658d..32fed00 100644 --- a/Include/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.h +++ b/Include/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.h @@ -81,7 +81,7 @@ private slots: /** @brief 根据各页面状态更新确定按钮。 */ void slotPageValidityChanged(bool bValid); - /** @brief 进入当前界面的上下文帮助模式。 */ + /** @brief 打开系统帮助文档。 */ void slotHelp(); private: diff --git a/Src/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.cpp b/Src/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.cpp index baee7d4..2beb682 100644 --- a/Src/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.cpp +++ b/Src/nmNum/nmSubWxs/nmWxReservoirPropertiesEditor.cpp @@ -22,7 +22,6 @@ #include #include #include -#include nmWxReservoirPropertiesEditor::nmWxReservoirPropertiesEditor( nmIReservoirPropertiesDataSource* pDataSource, @@ -434,8 +433,8 @@ void nmWxReservoirPropertiesEditor::slotPageValidityChanged(bool bValid) void nmWxReservoirPropertiesEditor::slotHelp() { - // 顶部和底部帮助命令共用Qt上下文帮助;字段说明和范围来自XML。 - QWhatsThis::enterWhatsThisMode(); + // 顶部和底部帮助命令统一打开系统帮助文档。 + ZxBaseUtil::startHelp(); } bool nmWxReservoirPropertiesEditor::validateAllPages()