int i
=
QMessageBox
::warning
(
this
,
"QMessageBox"
,
"The
document
contains
unsaved
changesn"
"Do you want to save the changes before exiting?",
tr("确定"),tr("不确定"),tr("取消"));