MCPcopy Create free account
hub / github.com/PyQt5/PyQt / onTimeout

Method onTimeout

QtQuick/Signals.py:102–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 self._timer.start(2000)
101
102 def onTimeout(self):
103 # 定时器发送信号通知qml
104 self.timerSignal.emit('定时器发来:' + str(time()))
105
106 def callQmlFunc(self):
107 # 主动调用qml中的appendText函数

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected