setWindowTitle("PyQT Timer Demo"). self.timer=QTimer(self) # 呼叫QTimer. self.timer.timeout.connect(self.run) #當時間到時會執行run.
確定! 回上一頁