Utils::CheckableMessageBox Class
class Utils::CheckableMessageBoxCheckableMessageBox 类实现了一个适用于包含“Do not ask again ”或“Do not show again ”复选框的提示框。更多内容...
| Header: | #include <CheckableMessageBox> |
静态公共成员
| bool | hasSuppressedQuestions() |
| QString | msgDoNotAskAgain() |
| QString | msgDoNotShowAgain() |
| void | resetAllDoNotAskAgainQuestions() |
详细说明
通过静态便捷方法模拟QMessageBox API。消息标签可打开外部 URL。
成员函数文档
[static] bool CheckableMessageBox::hasSuppressedQuestions()
返回是否在设置中已禁用 doNotAskAgainQuestion() 函数中的任何消息框。
[static] QString CheckableMessageBox::msgDoNotAskAgain()
返回标准Do not ask again 复选框的文本。
[static] QString CheckableMessageBox::msgDoNotShowAgain()
返回标准Do not show again 复选框的文本。
[static] void CheckableMessageBox::resetAllDoNotAskAgainQuestions()
重置 doNotAskAgainQuestion() 的所有抑制设置,以便再次显示所有这些消息框。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.