PyQt5根据控件Id获取控件对象

self.findChild(QComboBox, "name") 

self is class

first parameter is Type

second parameter is Id String

猜你喜欢

转载自blog.csdn.net/maozexijr/article/details/80570900