要使用定時器,需要先創建一個QTimer實例,將其timeout信號連接到相應的 ... setEnabled(True) def endTimer(self): #關閉定時器self.timer.stop() ...
確定! 回上一頁