def createRadio(self, text, id, onClick):
     choice = QRadioButton(text)
     choice.id = id
     choice.clicked.connect(onClick)
     return choice
Example #2
0
 def createRadio(self, text, id):
     choice = QRadioButton(text)
     choice.id = id
     choice.clicked.connect(self.difficultyChange)
     return choice
 def createRadio(self, text, id, onClick):
     choice = QRadioButton(text)
     choice.id = id
     choice.clicked.connect(onClick)
     return choice