(self, text)
| 35 | # 注意pyqtSlot用于把该函数暴露给js可以调用 |
| 36 | @pyqtSlot(str) |
| 37 | def callFromJs(self, text): |
| 38 | QMessageBox.information(self, "提示", "来自js调用:{}".format(text)) |
| 39 | |
| 40 | def sendCustomSignal(self): |
| 41 | # 发送自定义信号 |
nothing calls this directly
no outgoing calls
no test coverage detected