📅  最后修改于: 2022-03-11 14:45:48.222000             🧑  作者: Mango
# import it from PyQt5.QtWidgets and
radioBtn=QRadioButton("Button1")
radioBtn.toggled.connect(lambda:self.myMethod())
# Example is at link below:
'''
https://gist.github.com/Orizzu/fbbd473becb6d7f1a598c12915f37c52
'''