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

Method saved_scripts

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

Source from the content-addressed store, hash-verified

85 directoryDialogButton, rowPosition, 3, Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop)
86
87 def saved_scripts(self):
88 _saved_scripts = []
89 index = 0
90
91 for _ in range(self.scriptsLayout.rowCount()-1):
92 textField = self.scriptsLayout.itemAt(index + 1).widget()
93 _saved_scripts.append(textField.text())
94 index += 4
95
96 return _saved_scripts
97
98 def _clearScript(self):
99 obj = self.mainDialog.sender()

Callers 1

writeSettingsMethod · 0.80

Calls 5

rowCountMethod · 0.45
widgetMethod · 0.45
itemAtMethod · 0.45
appendMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected