sample code · 1. 新建一个QButtonGroup对象 · 2. 把ui上存在的QRadioButton添加到bgGroup中 · 3. 设置id · 4. 添加信号和槽的关联 · 5. 实现槽函数.
確定! 回上一頁