(self)
| 62 | self._btn.clicked.connect(self.onAccept) # type: ignore |
| 63 | |
| 64 | def onAccept(self): |
| 65 | path = self._model.filePath(self._view.currentIndex()) |
| 66 | print("path", path) |
| 67 | if path: |
| 68 | QMessageBox.information(self, "提示", "路径:%s" % path) |
| 69 | |
| 70 | |
| 71 | if __name__ == "__main__": |
nothing calls this directly
no outgoing calls
no test coverage detected