self.radio1 = QRadioButton("Visa", self) #we will add this radio button directly to our window. that would be 'self' self.radio2 = QRadioButton("Master", self) self ...
self.button = QPushButton("Click me!", self) #self refers to our 'window' object self.button.setGeometry(150, 200, 200, 100) #we could use a layout manager. but to keep simple i don't.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results