像这样,
QMessageBox::information(this,tr("Send SMS message warning"),
tr("Send a SMS message to this number.\n"
"Are yue true?"),
QMessageBox::Yes,QMessageBox::No | QMessageBox::Default)
这样Send a SMS message to this number和Are yue true?这两句在QMessageBox中就是两行显示。