#ifndef NMSWITCHOUTLINECONFIRMATIONDLG_H #define NMSWITCHOUTLINECONFIRMATIONDLG_H #include "iDlgBase.h" #include "nmSubWxs_global.h" #include /** @brief 展示当前和目标边界类型,绘制流程仍由绘图层负责。 */ class NM_SUB_WXS_EXPORT nmSwitchOutlineConfirmationDlg : public iDlgBase { Q_OBJECT public: /** @brief 创建更换或重新绘制边界的确认窗口,仅保存展示所需信息。 */ explicit nmSwitchOutlineConfirmationDlg( const QString& sCurrentType, const QString& sTargetType, QWidget* pParent = nullptr); private: Q_DISABLE_COPY(nmSwitchOutlineConfirmationDlg) /** @brief 创建图标、可换行的纯文本确认信息及统一底栏,尺寸随内容与主题调整。 */ void createUi(const QString& sCurrentType, const QString& sTargetType); /** @brief 创建确认和取消按钮,默认焦点停留在取消,操作结果由 accept/reject 返回。 */ QWidget* createFooter(); }; #endif // NMSWITCHOUTLINECONFIRMATIONDLG_H