更新代码

This commit is contained in:
feiyangqingyun
2022-05-01 11:39:49 +08:00
parent 7bed44d9c0
commit 08ba30bb87
17 changed files with 869 additions and 87 deletions

View File

@@ -32,7 +32,7 @@ void frmMain::initForm()
names << "访客登记" << "记录查询" << "证件扫描" << "信息打印" << "系统设置" << "系统重启";
QList<QToolButton *> btns = this->findChildren<QToolButton *>();
for (int i = 0; i < btns.count(); i++) {
for (int i = 0; i < btns.count(); ++i) {
QToolButton *btn = btns.at(i);
btn->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
btn->setIconSize(QSize(iconWidth, iconHeight));