Bootstrap

PyQt5实时刷新数据

首先,创建一个QThread类,该类负责实现实时刷新数据的逻辑。

import time
from PyQt5.QtCore import QThread, pyqtSignal

class DataRefreshThread(QThread):
    dataRefreshed = pyqtSignal(list)
    
    def run(self):
        w
;