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

Method sendCustomSignal

QWebEngineView/JsSignals.py:55–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 QMessageBox.information(self, "提示", "来自js调用:{}".format(text))
54
55 def sendCustomSignal(self):
56 # 发送自定义信号
57 self.customSignal.emit('当前时间: ' + str(time()))
58
59 @pyqtSlot(str)
60 @pyqtSlot(QUrl)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected