You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/Include/nmNum/nmSubWxs/nmDeleteConfirmationDlg.h

26 lines
675 B
C

#ifndef NMDELETECONFIRMATIONDLG_H
#define NMDELETECONFIRMATIONDLG_H
#include "nmSubWxs_global.h"
#include <QMessageBox>
#include <QString>
/** @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