Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 594
BlackBear Avatar asked Oct 18 '18 18:10

BlackBear


1 Answers

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

like image 50
shahard Avatar answered Jan 01 '23 00:01

shahard