📜  单选按钮 pyqt - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:48.222000             🧑  作者: Mango

代码示例1
# 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
'''