我想在消息框中包含以下几行:
name:
surname:
data:
test:
之后,:
我将以编程方式填写该行。我想问一下如何在 QMessageBox 中有这个结构。有可能的?
我是 Qt Creator 的初学者。目前我学会了这样做:
QMessageBox noc;
std::string s= "hello1";
QString er = s.c_str();
noc.setText(er);
noc.exec()