QMessageBox::Yes
时间: 2023-09-17 08:14:05 浏览: 110
QMessageBox::Yes是QMessageBox类中的一个枚举值,代表消息框中的"Yes"按钮。它可以在创建QMessageBox对象时使用,通过设置按钮参数来指定需要显示的按钮。例如,在第二个引用中的例子中,创建QMessageBox对象时使用了QMessageBox::Yes和QMessageBox::No枚举值来设置消息框中的按钮选项。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Qt-QMessageBox用法详解](https://blog.csdn.net/u011555996/article/details/122153554)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [QMessageBox 设置中文按钮(返回值判断)](https://blog.csdn.net/qq_23858785/article/details/124048590)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文