Qt中ui(new ui::textdemo)语句中两个冒号"::"的作用是什么?

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/27 19:43:57
Qt中ui(new ui::textdemo)语句中两个冒号

Qt中ui(new ui::textdemo)语句中两个冒号"::"的作用是什么?
Qt中ui(new ui::textdemo)语句中两个冒号"::"的作用是什么?

Qt中ui(new ui::textdemo)语句中两个冒号"::"的作用是什么?
例如
QMessageBox::information(this,"SET","open error!");
他是静态的
inline static StandardButton information(QWidget *parent, const QString &title,
const QString& text,
StandardButton button0, StandardButton button1 = NoButton)