Get Selected Item inside a QGroupBox
General and Desktop
2
Posts
2
Posters
4.9k
Views
1
Watching
-
I'm trying to get selected item from QGroupBox. I add some Radio Buttons inside the QGroupBox and make this Radio's to be exclusive (only one Radio can be selected).
So now I'm trying to get selected radio button, but I don't find anything on docs or examples to make this from QGroupBox, the unique way I found is making "my own control".Any tip for me will help.
Thanks all. -
Use "QButtonGroup":http://qt-project.org/doc/qt-4.8/qbuttongroup.html
It has checkedButton() and checkedId().