--- a/eric7/HexEdit/HexEditSearchReplaceWidget.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/HexEdit/HexEditSearchReplaceWidget.py Sat May 22 18:51:46 2021 +0200 @@ -11,8 +11,8 @@ from PyQt6.QtGui import QRegularExpressionValidator from PyQt6.QtWidgets import QWidget -from E5Gui.E5Action import E5Action -from E5Gui import E5MessageBox +from E5Gui.EricAction import EricAction +from E5Gui import EricMessageBox import UI.PixmapCache @@ -99,7 +99,7 @@ self.__ui.replacetextCombo.lineEdit().returnPressed.connect( self.on_replaceButton_clicked) - self.findNextAct = E5Action( + self.findNextAct = EricAction( self.tr('Find Next'), self.tr('Find Next'), 0, 0, self, 'hexEditor_search_widget_find_next') @@ -107,7 +107,7 @@ self.findNextAct.setEnabled(False) self.__ui.findtextCombo.addAction(self.findNextAct) - self.findPrevAct = E5Action( + self.findPrevAct = EricAction( self.tr('Find Prev'), self.tr('Find Prev'), 0, 0, self, 'hexEditor_search_widget_find_prev') @@ -270,7 +270,7 @@ self.__ui.replaceButton.setEnabled(True) self.__ui.replaceSearchButton.setEnabled(True) else: - E5MessageBox.information( + EricMessageBox.information( self, self.windowTitle(), self.tr("'{0}' was not found.").format(txt)) @@ -386,12 +386,12 @@ replacements += 1 if replacements: - E5MessageBox.information( + EricMessageBox.information( self, self.windowTitle(), self.tr("Replaced {0} occurrences.") .format(replacements)) else: - E5MessageBox.information( + EricMessageBox.information( self, self.windowTitle(), self.tr("Nothing replaced because '{0}' was not found.") .format(ftxt))