修复txt导出问题 #236

This commit is contained in:
shuaikangzhou
2023-12-26 23:49:53 +08:00
parent d4562744d0
commit 93cdcd272e
4 changed files with 37 additions and 23 deletions

View File

@@ -62,9 +62,6 @@ class ViewController(QWidget):
if __name__ == '__main__':
import cgitb
cgitb.enable(format='text')
app = QApplication(sys.argv)
font = QFont('微软雅黑', 12) # 使用 Times New Roman 字体,字体大小为 14
app.setFont(font)