#ifndef NMDELETECONFIRMATIONDLG_H #define NMDELETECONFIRMATIONDLG_H #include "nmSubWxs_global.h" #include #include /** @brief 展示待删除图元的名称和类型,仅返回用户确认结果。 */ class NM_SUB_WXS_EXPORT nmDeleteConfirmationDlg : public QMessageBox { Q_OBJECT public: /** @brief 按传入的名称和类型创建删除确认窗口,父窗口为所属画布。 */ explicit nmDeleteConfirmationDlg( const QString& sObjectName, const QString& sObjectType, QWidget* pParent = nullptr); private: Q_DISABLE_COPY(nmDeleteConfirmationDlg) }; #endif // NMDELETECONFIRMATIONDLG_H