Radio button to select all radio buttons
-
Need to press radio button 1 (Clicked) to select all radio buttons in (2,3,4,5). Select meaning 2,3,4,5 state=clicked
Kindly advise@JohnLocke
So recognise that button being clicked (signal/slot) and set the others to checked.
But you should not be using radiobuttons for this! A radiobutton's whole definition is "only one of this group can be clicked" so that's really confusing. Use checkboxes.
In either case QButtonGroup Class aids programming, you probably want a group for the buttons excluding your Select all one.