#ifndef DIALOGALGOCONFIG_H #define DIALOGALGOCONFIG_H #include #include "channelSpaceMeasure_Export.h" // 前置声明 class TunnelChannelPresenter; namespace Ui { class DialogAlgoConfig; } /** * @brief 通道间距测量算法参数配置对话框 * * 用于配置通道间距测量算法的各项参数: * - 角点检测参数 * - 离群点过滤参数 * - 树生长参数 * - 通道参数 */ class DialogAlgoConfig : public QDialog { Q_OBJECT public: /** * @brief 构造函数 * @param presenter 业务逻辑处理类指针 * @param parent 父窗口 */ explicit DialogAlgoConfig(TunnelChannelPresenter* presenter, QWidget *parent = nullptr); ~DialogAlgoConfig(); private slots: void onBtnApplyClicked(); void onBtnCancelClicked(); private: // 加载参数到界面 void loadParameters(); // 从界面保存参数 bool saveParameters(); private: Ui::DialogAlgoConfig* ui = nullptr; TunnelChannelPresenter* m_presenter = nullptr; }; #endif // DIALOGALGOCONFIG_H