Skip to content Skip to sidebar Skip to footer

Qbuttongroup Not Making Checkboxes Exclusive

I am attempting to make a set of exclusive checkboxes, using QGroupBox (which, as I understand it, is exclusive by default), but when I run my program, the checkboxes are not exclu

Solution 1:

The problem is caused because the garbage collector removes from the memory the variable QButtonGroup, to solve that problems you must pass a parent to this object:

addskillG = QButtonGroup(self)

Post a Comment for "Qbuttongroup Not Making Checkboxes Exclusive"