c++ - Qt, conflict between 2 QRadioButton sets -


my widget app interface holds 2 sets of qradiobuttons, independant 1 another. 1 of sets qdialogbuttonbox of qradiobuttons.

at first both sets behave intentionally, means, clicking on 1 button of set unchecks checked button of same set. also, it's important, if check 1 button click on again, doesn't uncheck.

but reason, interact button box, other set breaks: clicking on checked button unchecks it, resulting in no button being checked in set.

any idea why?

edit: might help, or not, here's how looks like:

enter image description here

the first set composed of 2 tabs "presets" , "favorites". second set, qdialogbuttonbox, list of presets underneath.

i suggest implement widget in other way.

one way checkable tabwidget ... can find some here. wirtten in python think it's pretty simple.

but suggest use simple qtabwidget ... if checkable option not important on top of widget. why needed ?


Comments