PyQt5 QButtonGroup QCheckBox的互斥

def set_turn_speed(self): cb_group = QButtonGroup() self.cb_speed1.setCheckable(True) self.cb_speed2.setCheckable(True) cb_group.addButton(self.cb_speed1, 0) cb_group.addButton(self.cb_speed
相關文章
相關標籤/搜索