更多组件支持设置字体大小

This commit is contained in:
2023-08-13 21:50:29 +08:00
parent ef8c115df2
commit cb0cd776a4
8 changed files with 132 additions and 36 deletions

View File

@@ -11,6 +11,7 @@ import subprocess
import PyQt5.QtGui as QtGui
import PyQt5.QtCore as QtCore
import PyQt5.QtWidgets as QtWidgets
from DefaultSetting import *
def ShowText(text: str):
if text.replace(" ", "").replace("\n", "") == "":
@@ -682,4 +683,6 @@ if __name__ == "__main__":
pass
window.resize(int(window.frameGeometry().width() * 1.2), int(window.frameGeometry().height() * 1.1))
window.show()
# 设置字体
SetFont(app)
sys.exit(app.exec_())