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

Method _current_params

SLiCAP/schematic/parameter_dialog.py:211–220  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 self._mark_dirty()
210
211 def _current_params(self) -> list:
212 result = []
213 for row in range(self._table.rowCount()):
214 n = self._table.item(row, 0)
215 v = self._table.item(row, 1)
216 name = n.text().strip() if n else ""
217 value = v.text().strip() if v else ""
218 if name:
219 result.append((name, value))
220 return result
221
222 # ── slots ─────────────────────────────────────────────────────────────────
223

Callers 2

_renderMethod · 0.95
get_paramsMethod · 0.95

Calls 1

textMethod · 0.80

Tested by

no test coverage detected