Qt button 多个按钮实现每次只能由一个按下。

需要实现效果如下: 为此可以通过代码设置checkable属性为true: btn->setCheckable(true); 具体实现代码如下: //导航按钮 QWidget *btn_widget = new QWidget(this); my_listWidget_btn = new QPushButton(this); my_listWidget_btn->setFi
相关文章
相关标签/搜索