QT中调用MessageBox的三种方法

1.QMessageBox::information(this,"Title",QString::number(result));

2.QMessageBox::warning(this,"Title","Error Message");

3.QMessageBox box;
  box.setText("Another ways to use MessageBox");
  box.exec();

你可能感兴趣的:(❤【QT】,qt)