pyqt5如何通过名字获得对应的控件
self.findChild(QComboBox, "name")
self.findChild(QComboBox, "name")
self is class
first parameter is Type
second parameter is Id String
------
通吃:
self.findChild(QWidget, "name")
self.findChild(QComboBox, "name")
self.findChild(QComboBox, "name")
self is class
first parameter is Type
second parameter is Id String
------
通吃:
self.findChild(QWidget, "name")