参考博客:https://blog.csdn.net/mhw828/article/details/104143881 QPushButton { font: 12pt "Microsoft YaHei"; }