def createRadio(self, text, id, onClick):
     choice = QRadioButton(text)
     choice.id = id
     choice.clicked.connect(onClick)
     return choice
Ejemplo n.º 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