QMessageBox设置按钮文本为中文

 

int ret = QMessageBox::information(nullptr,"提示","取消","确认");
if(0 == ret)   //取消
{
}
else if(1 == ret)   //确认
{
}
QMessageBox::information(nullptr,"提示","确认");

 

posted @ 2022-11-16 15:03  远方是什么样子  阅读(309)  评论(0编辑  收藏  举报