PyQt5 Tutorial - Radiobutton
QRadiobutton is similar to the QCheckbox except that you’ve got more than one choice but you can only select one of them at one time. The QRadiobutton widget has also the text label together with the round radio button. PyQt5 QRadiobutton Basic Example The below code asks which city you live in and creates two radio buttons for the user to choose. It displays the in the label text after the user selects one of the radio buttons.