--- a/eric7/Preferences/ToolConfigurationDialog.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/Preferences/ToolConfigurationDialog.py Sat May 22 18:51:46 2021 +0200 @@ -12,8 +12,8 @@ from PyQt6.QtCore import Qt, pyqtSlot from PyQt6.QtWidgets import QDialog -from E5Gui import E5MessageBox -from E5Gui.E5PathPicker import E5PathPickerModes +from E5Gui import EricMessageBox +from E5Gui.EricPathPicker import EricPathPickerModes from .Ui_ToolConfigurationDialog import Ui_ToolConfigurationDialog @@ -34,9 +34,9 @@ super().__init__(parent) self.setupUi(self) - self.iconPicker.setMode(E5PathPickerModes.OPEN_FILE_MODE) + self.iconPicker.setMode(EricPathPickerModes.OPEN_FILE_MODE) self.iconPicker.setFilters(self.tr("Icon files (*.png)")) - self.executablePicker.setMode(E5PathPickerModes.OPEN_FILE_MODE) + self.executablePicker.setMode(EricPathPickerModes.OPEN_FILE_MODE) self.redirectionModes = [ ("no", self.tr("no redirection")), @@ -97,7 +97,7 @@ redirect = self.redirectionModes[self.redirectCombo.currentIndex()][0] if not executable: - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Add tool entry"), self.tr( @@ -106,7 +106,7 @@ return if not menutext: - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Add tool entry"), self.tr( @@ -115,7 +115,7 @@ return if not Utilities.isinpath(executable): - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Add tool entry"), self.tr( @@ -126,7 +126,7 @@ if len(self.toolsList.findItems( menutext, Qt.MatchFlag.MatchExactly)): - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Add tool entry"), self.tr("An entry for the menu text {0} already exists.") @@ -159,7 +159,7 @@ redirect = self.redirectionModes[self.redirectCombo.currentIndex()][0] if not executable: - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Change tool entry"), self.tr( @@ -168,7 +168,7 @@ return if not menutext: - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Change tool entry"), self.tr( @@ -177,7 +177,7 @@ return if not Utilities.isinpath(executable): - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Change tool entry"), self.tr( @@ -267,7 +267,7 @@ @type str """ if path and not Utilities.isinpath(path): - E5MessageBox.critical( + EricMessageBox.critical( self, self.tr("Select executable"), self.tr(