This video shows you how to use the QRadioButton. Here is the code from the video: https://gist.github.com/anonymous/3290d65a212980cecdb117e6dce04e7a Here is some alternative code that moves the widget declarations out of init_ui and also makes btn_clk a static function. The latter just depends on whether you want the event associated with the class: https://gist.github.com/anonymous/74e3ea438d1fa448e6272d5aec580194
PyQt5 Lesson 10 QRadioButton