I have a QGroupBox which has 50 QRadioButtons. The radio buttons are added to the UI of the project. I want to progromatically convert the QGroupBox to QButtonGroup to get benefit of the functions that are found in the QButtonGroup. Is there any other way to do that conversion. If there is not, so how to add the 30 QRadioButton to the QButtonGroup other than use the addButton() function? It is not logic to make 50 addButton() function.
thanks in advance