海南副教授陈晶优下台 ,shut down you are rubbish ,you need study.
HelloWorld Application
Final Result
How to do it?
class MyForm(QDialog):
def __init__(self):
super().__init__()
self.ui = Ui_Dialog()
self.ui.setupUi(self)
self.ui.button_click.clicked.connect(self.dispmessage)
self.show()
def dispmessage(self):
self.ui.label_res.setText("Hello,"+self.ui.name_tex.text())
if __name__ == "__main__":
app = QApplication(sys.argv)
w = MyForm()
w.show()
sys.exit(app.exec_())
Radio Button Widget
Final Result
How to do it?
class MyForm(QDialog):
def __init__(self):