(self, tenscripts)
| 39 | self.scrollArea.setWidgetResizable(True) |
| 40 | |
| 41 | def initialize(self, tenscripts): |
| 42 | self.tenscripts = tenscripts |
| 43 | |
| 44 | self._loadGridLayout() |
| 45 | self._fillScripts() |
| 46 | |
| 47 | self.baseArea.setLayout(self.scriptsLayout) |
| 48 | self.scrollArea.setWidget(self.baseArea) |
| 49 | |
| 50 | self.layout.addWidget(self.scrollArea) |
| 51 | |
| 52 | self.layout.addWidget( |
| 53 | QLabel(i18n("Shortcuts are configurable through the <i>Keyboard Shortcuts</i> " |
| 54 | "interface in Krita's settings."))) |
| 55 | |
| 56 | self.layout.addWidget(self.buttonBox) |
| 57 | |
| 58 | self.mainDialog.show() |
| 59 | self.mainDialog.activateWindow() |
| 60 | self.mainDialog.exec() |
| 61 | |
| 62 | def addNewRow(self, index): |
| 63 | rowPosition = self.scriptsLayout.rowCount() |
nothing calls this directly
no test coverage detected