404 if dlg.exec() == QDialog.DialogCode.Accepted: |
404 if dlg.exec() == QDialog.DialogCode.Accepted: |
405 categories = dlg.getData(";", True) |
405 categories = dlg.getData(";", True) |
406 self.categoriesEdit.setText(categories) |
406 self.categoriesEdit.setText(categories) |
407 |
407 |
408 @pyqtSlot(str) |
408 @pyqtSlot(str) |
409 def on_onlyShowEdit_textChanged(self, txt): |
409 def on_onlyShowEdit_textChanged(self, _txt): |
410 """ |
410 """ |
411 Private slot to check the contents of the onlyShowEdit field. |
411 Private slot to check the contents of the onlyShowEdit field. |
412 |
412 |
413 @param txt text of the entry field |
413 @param _txt text of the entry field (unused) |
414 @type str |
414 @type str |
415 """ |
415 """ |
416 self.__checkOK() |
416 self.__checkOK() |
417 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
417 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
418 EricMessageBox.critical( |
418 EricMessageBox.critical( |
434 if dlg.exec() == QDialog.DialogCode.Accepted: |
434 if dlg.exec() == QDialog.DialogCode.Accepted: |
435 environments = dlg.getData(";", True) |
435 environments = dlg.getData(";", True) |
436 self.onlyShowEdit.setText(environments) |
436 self.onlyShowEdit.setText(environments) |
437 |
437 |
438 @pyqtSlot(str) |
438 @pyqtSlot(str) |
439 def on_notShowEdit_textChanged(self, txt): |
439 def on_notShowEdit_textChanged(self, _txt): |
440 """ |
440 """ |
441 Private slot to check the contents of the notShowEdit field. |
441 Private slot to check the contents of the notShowEdit field. |
442 |
442 |
443 @param txt text of the entry field |
443 @param _txt text of the entry field (unused) |
444 @type str |
444 @type str |
445 """ |
445 """ |
446 self.__checkOK() |
446 self.__checkOK() |
447 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
447 if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): |
448 EricMessageBox.critical( |
448 EricMessageBox.critical( |
464 if dlg.exec() == QDialog.DialogCode.Accepted: |
464 if dlg.exec() == QDialog.DialogCode.Accepted: |
465 environments = dlg.getData(";", True) |
465 environments = dlg.getData(";", True) |
466 self.notShowEdit.setText(environments) |
466 self.notShowEdit.setText(environments) |
467 |
467 |
468 @pyqtSlot(str) |
468 @pyqtSlot(str) |
469 def on_typeEdit_textChanged(self, txt): |
469 def on_typeEdit_textChanged(self, _txt): |
470 """ |
470 """ |
471 Private slot to check, if the typeEdit field is empty. |
471 Private slot to check, if the typeEdit field is empty. |
472 |
472 |
473 @param txt text of the entry field |
473 @param _txt text of the entry field (unused) |
474 @type str |
474 @type str |
475 """ |
475 """ |
476 self.__checkOK() |
476 self.__checkOK() |
477 |
477 |
478 @pyqtSlot(str) |
478 @pyqtSlot(str) |
479 def on_nameEdit_textChanged(self, txt): |
479 def on_nameEdit_textChanged(self, _txt): |
480 """ |
480 """ |
481 Private slot to check, if the nameEdit field is empty. |
481 Private slot to check, if the nameEdit field is empty. |
482 |
482 |
483 @param txt text of the entry field |
483 @param _txt text of the entry field (unused) |
484 @type str |
484 @type str |
485 """ |
485 """ |
486 self.__checkOK() |
486 self.__checkOK() |