我正在尝试只弹出一个消息框,其中只有单击“确定”的选项
代码如下:
show_message_box(QMessageBox.Critical,
"ERREUR",
"Il n'est pas possible de bloquer cette plage horraire pour " + employee, QMessageBox.Ok)
我有个错误setInformativeText(Self,str): argument 1 has unexpected type 'StandardButton'
我的另一个msgbox工作正常,但它们有yes
或no
选项。这个,我只想要ok
选项
谢谢你的帮助
试试看:
相关问题 更多 >
编程相关推荐