【发布时间】:2020-06-22 03:08:01
【问题描述】:
我正在尝试只弹出一个消息框,并且只有点击“确定”的选项。
这是代码:
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选项。
感谢您的帮助
【问题讨论】: