Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我有一个用户无法关闭的 QMessageBox。我希望它保持活动状态,直到完成某些工作,然后自动关闭。
我尝试了 MsgBox.close(),但它不起作用。如何关闭那个 MsgBox?提前致谢
终于找到答案了。只是使用 MsgBox.done(1) 而不是关闭。谢谢