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

Method sendCustomSignal

QWebView/JsSignals.py:40–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 QMessageBox.information(self, "提示", "来自js调用:{}".format(text))
39
40 def sendCustomSignal(self):
41 # 发送自定义信号
42 self.customSignal.emit('当前时间: ' + str(time()))
43
44 @pyqtSlot(str)
45 @pyqtSlot(QUrl)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected