Important: Please read the Qt Code of Conduct -

QButtonGroup of QRadioButton

  • Hello, I have a QButtonGroup of QRadioButton, I researched the documentation but I did not find a command to do all QRadioButton of the QButtonGroup become unselectable, as the command radiobutton.setEnabled(False) when applied individually on each QRadioButton. Does anyone know which command does this in a whole QButtonGroup?

  • Lifetime Qt Champion

    I tested with a QGroupBox and setting the group to not enabled would also disable all radio buttons.
    I wonder if you could QGroupBox instead?

Log in to reply