MCPcopy Create free account
hub / github.com/KDE/krita / _fillScripts

Method _fillScripts

plugins/python/tenscripts/uitenscripts.py:119–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

117 self.addNewRow(index)
118
119 def _fillScripts(self):
120 scripts = self.tenscripts.scripts
121 num_rows = self.scriptsLayout.rowCount() - 1
122 index = 0
123
124 for row in range(min(len(scripts), num_rows)):
125 textField = self.scriptsLayout.itemAt(index + 1).widget()
126 textField.setText(scripts[row])
127 index += 4

Callers 1

initializeMethod · 0.95

Calls 5

minFunction · 0.85
rowCountMethod · 0.45
widgetMethod · 0.45
itemAtMethod · 0.45
setTextMethod · 0.45

Tested by

no test coverage detected