Regarding QButtonGroup Checked Button exclusivity
Solved
General and Desktop
-
Hi. I want to build a function to see which buttons are selected in a QCheckBox. I looked into QButtonGroup and saw that it:
Returns the button group's checked button
If more than one button is clicked, does it only return one ID?
-
@Dummie1138 said in Regarding QButtonGroup Checked Button exclusivity:
If more than one button is clicked, does it only return one ID?
See QButtonGroup documentation:
"A button can be added to the group with addButton() and removed with removeButton(). If the group is exclusive, the currently checked button is available with checkedButton()."