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

Method _on_place_image

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

Source from the content-addressed store, hash-verified

357 self._scene.addItem(LibraryItem(str(lib_path), pos))
358
359 def _on_place_image(self):
360 from .image_dialog import ImageDialog
361 dlg = ImageDialog(parent=self)
362 if dlg.exec() and dlg.image_path():
363 self._scene.start_image_placement(
364 dlg.image_path(), dlg.image_width(), dlg.image_height()
365 )
366
367 def _on_place_latex(self):
368 from .latex_fragment_dialog import LatexFragmentDialog

Callers

nothing calls this directly

Calls 5

image_pathMethod · 0.95
image_widthMethod · 0.95
image_heightMethod · 0.95
ImageDialogClass · 0.85
start_image_placementMethod · 0.80

Tested by

no test coverage detected