MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / _on_place_latex

Method _on_place_latex

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

Source from the content-addressed store, hash-verified

365 )
366
367 def _on_place_latex(self):
368 from .latex_fragment_dialog import LatexFragmentDialog
369 dlg = LatexFragmentDialog(parent=self)
370 if dlg.exec() and dlg.svg_bytes():
371 self._scene.start_latex_placement(
372 dlg.latex_code(), dlg.preamble_path(),
373 dlg.display_width(), dlg.display_height(),
374 )
375
376 def _on_place_parameters(self):
377 from .parameter_dialog import ParameterDialog

Callers

nothing calls this directly

Calls 7

svg_bytesMethod · 0.95
latex_codeMethod · 0.95
preamble_pathMethod · 0.95
display_widthMethod · 0.95
display_heightMethod · 0.95
LatexFragmentDialogClass · 0.85
start_latex_placementMethod · 0.80

Tested by

no test coverage detected