Self. RetranslateUi (MainWindow)
The self. The s_1. Clicked. Connect (MainWindow. Change_text_1)
The self. The s_5. Clicked. Connect (MainWindow. Change_text_5)
Self. S_6. Clicked. Connect (MainWindow. Change_text_6)
Self. S_7. Clicked. Connect (MainWindow. Change_text_7)
Self. S_8. Clicked. Connect (MainWindow. Change_text_8)
Self. S_9. Clicked. Connect (MainWindow. Change_text_9)
Self. S_10. Clicked. Connect (MainWindow. Change_text_10)
Self. S_Flow. Clicked. Connect (MainWindow. Change_text_Flow)
Self. S_MS. Clicked. Connect (MainWindow. Change_text_MS)
Application error AttributeError: 'QMainWindow object has no attribute' click '
You can run this code is commented, have a great god know what's going on? Thank you very much!
CodePudding user response:
You are instantiated button, what is the assignment is wrong, the assignment into the self?