遍历QT界面下同种控件

QList<QCheckBox*> cbs = findChildren<QCheckBox*>();

  只限一级控件

posted @ 2021-07-16 09:40  出门必戴双肩包  阅读(381)  评论(0)    收藏  举报