QRadioButton -> setcheked(bool) problem



  • in a groupbox 8 radiobtns are added and a single btn is set as checked. when anyone of the radiobtn is clicked, that particular btn is checked and the checked one gets unchecked by default. But sometimes while clicking anyone of the btn randomly, the clicked one doesn't gets checked and previously checked btn gets unchecked. Apart from radiobtns,there are 4-5 QMeter widget(downloaded from qt-app.org) and few pushbtns in the application.



  • Can you share your code so that we can reproduce the same issue ?



  • Well, what I think about this was that you put them all in a single groupbox... Qt thinks that it is a "selection" with only one radiobutton be checked at a time.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.