(self)
| 578 | self.setWindowTitle("SLiCAP Schematic Capture") |
| 579 | |
| 580 | def _on_open(self): |
| 581 | path, _ = QFileDialog.getOpenFileName( |
| 582 | self, "Open Schematic", str(project.subdir("sch")), _FILE_FILTER |
| 583 | ) |
| 584 | if path: |
| 585 | self._load_file(Path(path)) |
| 586 | |
| 587 | def _load_file(self, path: Path) -> bool: |
| 588 | """Load a schematic file into this window. Returns True on success. |
nothing calls this directly
no test coverage detected