QFont font = this->font(); font.setPointSize(size); font.setFamily(strFont); auto listWidget = findChildren<QWidget*>(); for (auto& widget : listWidget) { widget->setFont(font); }
16,795
社区成员
26,679
社区内容
加载中
试试用AI创作助手写篇文章吧