摘要:
QT中建议对UI的操作只能在主线程中,子线程的数据通过信号来发给主线程。 from PySide2.QtWidgets import QApplication,QTextBrowser from PySide2.QtUiTools import QUiLoader from threading im 阅读全文
posted @ 2020-09-27 15:03
JinweiChang
阅读(1104)
评论(0)
推荐(0)
摘要:
以下代码可以加载刚才设计的UI from PySide2.QtWidgets import QApplication from PySide2.QtUiTools import QUiLoader class Calc: def __init__(self): #加载刚才设计的.ui文件 self. 阅读全文
posted @ 2020-09-27 14:37
JinweiChang
阅读(464)
评论(0)
推荐(0)

浙公网安备 33010602011771号