I have a window there are radio buttons and after change one of them I wanna click button and change all window.Not on the new window
I could not find the answer.
# ...
self.setWindowTitle("Test Your Math...")
r1 = QRadioButton("addition")
r2 = QRadioButton("extraction")
r3 = QRadioButton("multiplication")
r4 = QRadioButton("division")
h_box = QHBoxLayout()
h_box.addWidget(r1)
h_box.addWidget(r2)
h_box.addWidget(r3)
h_box.addWidget(r4)
v_box = QVBoxLayout()
v_box.addWidget(self.label_text)
v_box.addStretch()
v_box.addLayout(h_box)
self.setLayout(v_box)
v_box.addWidget(self.a)
changebutton = QPushButton()
changebutton.setIcon(QIcon("blabla"))
changebutton.setIconSize(QSize(65,65))
v_box.addWidget(changebutton)