QWidget 窗口设置模态显示

m_pForm->setAttribute(Qt::WA_ShowModal, true); //属性设置,true:模态,false:非模态
posted @ 2024-05-17 15:08  雾枫  阅读(37)  评论(0编辑  收藏  举报