网络编程
位置:首页>> 网络编程>> Python编程>> PyQt5根据控件Id获取控件对象的方法

PyQt5根据控件Id获取控件对象的方法

作者:maozexijr  发布时间:2023-02-13 15:22:50 

标签:PyQt5,控件,Id,对象

如下所示:


self.findChild(QComboBox, "name")

self is class

first parameter is Type

second parameter is Id String

来源:https://blog.csdn.net/MAOZEXIJR/article/details/80570900

0
投稿

猜你喜欢

手机版 网络编程 asp之家 www.aspxhome.com