(self, text)
| 50 | # 注意pyqtSlot用于把该函数暴露给js可以调用 |
| 51 | @pyqtSlot(str) |
| 52 | def callFromJs(self, text): |
| 53 | QMessageBox.information(self, "提示", "来自js调用:{}".format(text)) |
| 54 | |
| 55 | def sendCustomSignal(self): |
| 56 | # 发送自定义信号 |
nothing calls this directly
no outgoing calls
no test coverage detected