how to use QGroupBox in place of QButtonGroup

Viewed 3461

I'm trying to figure out how to use the QGroupBox widget in place of the QButtonGroup widget as the qt docs (link below) 'strongly advise against using it'.

https://doc.qt.io/archives/qt-4.7/q3buttongroup.html

The QButtonGroup had a handy method called QtGui.QButtonGroup.checkedButton() and I'm looking for a way to find the checked radio button contained in the QGroupBox. What is the new best practice for this?

1 Answers
Related