Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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?
    Thanks.


  • Lifetime Qt Champion

    Hi
    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