In qt designer QButtonGroup is not available in the Widget Box.

5.7k Views Asked by At

I use designer to build my GUI and load the saved xml in a python script. I've been using QGroupBox to contain radio buttons but would prefer to use QButtonGroup. The problem is that QButtonGroup is not available in the 'Widget Box' within the designer interface. Is there an alternative method to place a QButtonGroup object is designer? Or perhaps there is a way to add QButtonBox to the Widget Box?

Hope my question is clear.

1

There are 1 best solutions below

3
On

Ctrl-Click the buttons you want to assign to the group, then right-click one of them, and select "Assign to button group"