refactor(nmNum): 优化区域参数界面并接入系统帮助

feature/ReservoirPropertiesDlg-Refactoring-20260813
lh 3 days ago
parent d847d428f5
commit 9d742b18e6

@ -81,7 +81,7 @@ private slots:
/** @brief 根据各页面状态更新确定按钮。 */ /** @brief 根据各页面状态更新确定按钮。 */
void slotPageValidityChanged(bool bValid); void slotPageValidityChanged(bool bValid);
/** @brief 进入当前界面的上下文帮助模式。 */ /** @brief 打开系统帮助文档。 */
void slotHelp(); void slotHelp();
private: private:

@ -22,7 +22,6 @@
#include <QStackedWidget> #include <QStackedWidget>
#include <QToolButton> #include <QToolButton>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QWhatsThis>
nmWxReservoirPropertiesEditor::nmWxReservoirPropertiesEditor( nmWxReservoirPropertiesEditor::nmWxReservoirPropertiesEditor(
nmIReservoirPropertiesDataSource* pDataSource, nmIReservoirPropertiesDataSource* pDataSource,
@ -434,8 +433,8 @@ void nmWxReservoirPropertiesEditor::slotPageValidityChanged(bool bValid)
void nmWxReservoirPropertiesEditor::slotHelp() void nmWxReservoirPropertiesEditor::slotHelp()
{ {
// 顶部和底部帮助命令共用Qt上下文帮助字段说明和范围来自XML // 顶部和底部帮助命令统一打开系统帮助文档
QWhatsThis::enterWhatsThisMode(); ZxBaseUtil::startHelp();
} }
bool nmWxReservoirPropertiesEditor::validateAllPages() bool nmWxReservoirPropertiesEditor::validateAllPages()

Loading…
Cancel
Save