MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / _on_print

Method _on_print

SLiCAP/schematic/window.py:876–881  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

874 QMessageBox.critical(self, "Export PDF failed", str(exc))
875
876 def _on_print(self):
877 from .export import print_scene
878 from .canvas import SchematicScene
879 fresh = SchematicScene()
880 fresh.from_data(self._scene.to_data(), self._library)
881 print_scene(fresh, self)
882
883 def _on_export_netlist(self):
884 path, _ = QFileDialog.getSaveFileName(

Callers

nothing calls this directly

Calls 4

from_dataMethod · 0.95
SchematicSceneClass · 0.85
print_sceneFunction · 0.85
to_dataMethod · 0.80

Tested by

no test coverage detected