def __init__selfprivilege parent=None superOper_Manager_Window self__init__parent selfprivilege = privilege selfsetWindowTitle管理员操作界面 selfresize500 300 # 创建界面控件
To pass result[2] as a parameter to alter_manager, you can modify the signal-slot connection for the btn_alter_manager button as follows:
self.btn_alter_manager.clicked.connect(lambda: self.alter_manager(result[2]))
This will create a lambda function that calls the alter_manager method with result[2] as a parameter when the button is clicked.
原文地址: https://www.cveoy.top/t/topic/hnMS 著作权归作者所有。请勿转载和采集!