(self)
| 102 | textField.setText("") |
| 103 | |
| 104 | def _selectScript(self): |
| 105 | dialog = FileDialog(self.mainDialog) |
| 106 | dialog.setNameFilter(i18n("Python files (*.py)")) |
| 107 | selectedFile = dialog.filename() |
| 108 | |
| 109 | if selectedFile: |
| 110 | obj = self.mainDialog.sender() |
| 111 | textField = self.scriptsLayout.itemAt( |
| 112 | self.scriptsLayout.indexOf(obj) - 2).widget() |
| 113 | textField.setText(selectedFile) |
| 114 | |
| 115 | def _loadGridLayout(self): |
| 116 | for index in range(0, 10): |