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

Method apply

SLiCAP/schematic/power_symbol_dialog.py:66–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 self._name_edit.selectAll()
65
66 def apply(self) -> None:
67 self._item.params["name"] = self._name_edit.text().strip()
68
69 self._item.setRotation(self._rotation_combo.currentIndex() * 90)
70 self._item.h_flip = self._hflip_cb.isChecked()
71 self._item.v_flip = self._vflip_cb.isChecked()
72 self._item.apply_transform()
73
74 self._item._save_label_offsets()
75 self._item.update_labels()
76
77
78def _hline() -> QFrame:

Callers

nothing calls this directly

Calls 4

textMethod · 0.80
apply_transformMethod · 0.80
_save_label_offsetsMethod · 0.80
update_labelsMethod · 0.80

Tested by

no test coverage detected