QT控件的checkable属性是什么
时间: 2023-08-07 17:07:59 浏览: 269
QT控件的checkable属性是指控件是否可以被选中或取消选中的属性。当checkable属性被设置为true时,控件可以被选中或取消选中,同时触发相应的事件,如toggled事件或clicked事件。当checkable属性被设置为false时,控件不可被选中或取消选中。\[2\]\[3\]
#### 引用[.reference_title]
- *1* [Qt——常用控件详解](https://blog.csdn.net/m0_60259116/article/details/127812681)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Qt——【若按钮点击后无反应,可以勾选或设置Checkable属性】UI界面的QPushButton的树视图中勾选Checkable...](https://blog.csdn.net/qq_41042595/article/details/105053023)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文