How to group buttons in qt designer

Viewed 354

So I want to be able to group some radio buttons into 2 groups. My current ui looks like the following:

My buttons

However, at this stage only one can be checked at a time. That is, if you select "male" and then try and select a grade, it will deselect the gender. I want to be able to group them so that someone can only select one gender and one grade.

1 Answers

You need one groupBox by group of radio buttons.

So in your case, you need 2 groupBoxes.

Related