342 and row < len(self.toollist) |
342 and row < len(self.toollist) |
343 and self.toollist[row]["menutext"] != "--" |
343 and self.toollist[row]["menutext"] != "--" |
344 ): |
344 ): |
345 self.changeButton.setEnabled(True) |
345 self.changeButton.setEnabled(True) |
346 |
346 |
|
347 @pyqtSlot(str) |
347 def on_menuEdit_textChanged(self, text): |
348 def on_menuEdit_textChanged(self, text): |
348 """ |
349 """ |
349 Private slot called, when the menu text was changed. |
350 Private slot called, when the menu text was changed. |
350 |
351 |
351 @param text the new text (string) (ignored) |
352 @param text the new text (string) (ignored) |
352 """ |
353 """ |
353 self.__toolEntryChanged() |
354 self.__toolEntryChanged() |
354 |
355 |
|
356 @pyqtSlot(str) |
355 def on_iconPicker_textChanged(self, text): |
357 def on_iconPicker_textChanged(self, text): |
356 """ |
358 """ |
357 Private slot called, when the icon path was changed. |
359 Private slot called, when the icon path was changed. |
358 |
360 |
359 @param text the new text (string) (ignored) |
361 @param text the new text (string) (ignored) |
360 """ |
362 """ |
361 self.__toolEntryChanged() |
363 self.__toolEntryChanged() |
362 |
364 |
|
365 @pyqtSlot(str) |
363 def on_executablePicker_textChanged(self, text): |
366 def on_executablePicker_textChanged(self, text): |
364 """ |
367 """ |
365 Private slot called, when the executable was changed. |
368 Private slot called, when the executable was changed. |
366 |
369 |
367 @param text the new text (string) (ignored) |
370 @param text the new text (string) (ignored) |
368 """ |
371 """ |
369 self.__toolEntryChanged() |
372 self.__toolEntryChanged() |
370 |
373 |
|
374 @pyqtSlot(str) |
371 def on_argumentsEdit_textChanged(self, text): |
375 def on_argumentsEdit_textChanged(self, text): |
372 """ |
376 """ |
373 Private slot called, when the arguments string was changed. |
377 Private slot called, when the arguments string was changed. |
374 |
378 |
375 @param text the new text (string) (ignored) |
379 @param text the new text (string) (ignored) |