eric7/UI/InstallInfoDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/UI/InstallInfoDialog.py
--- a/eric7/UI/InstallInfoDialog.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/UI/InstallInfoDialog.py	Sat May 22 18:51:46 2021 +0200
@@ -13,7 +13,7 @@
 from PyQt6.QtCore import pyqtSlot
 from PyQt6.QtWidgets import QDialog, QDialogButtonBox
 
-from E5Gui import E5MessageBox
+from E5Gui import EricMessageBox
 
 from .Ui_InstallInfoDialog import Ui_InstallInfoDialog
 
@@ -96,7 +96,7 @@
             
             self.__updateButton.setEnabled(bool(self.__info["exe"]))
         except OSError as err:
-            E5MessageBox.critical(
+            EricMessageBox.critical(
                 self,
                 self.tr("Load Install Information"),
                 self.tr("<p>The file containing the install information could"
@@ -148,7 +148,7 @@
         Public slot handling the closing of the dialog.
         """
         if self.__edited:
-            yes = E5MessageBox.yesNo(
+            yes = EricMessageBox.yesNo(
                 self,
                 self.tr("Install Information"),
                 self.tr("""The install information was edited. Unsaved"""
@@ -185,7 +185,7 @@
             self.__edited = False
             self.editButton.setChecked(False)
         except OSError as err:
-            E5MessageBox.critical(
+            EricMessageBox.critical(
                 self,
                 self.tr("Save Install Information"),
                 self.tr("<p>The file containing the install information could"
@@ -198,7 +198,7 @@
         """
         Private slot deleting the install information file.
         """
-        res = E5MessageBox.yesNo(
+        res = EricMessageBox.yesNo(
             self,
             self.tr("Delete Installation Information"),
             self.tr("""Do you really want to delete the installation"""
@@ -251,8 +251,8 @@
                 )
             )
         
-        from E5Gui.E5PlainTextDialog import E5PlainTextDialog
-        dlg = E5PlainTextDialog(
+        from E5Gui.EricPlainTextDialog import EricPlainTextDialog
+        dlg = EricPlainTextDialog(
             title=self.tr("Upgrade Instructions"),
             text="\n".join(updateTextList))
         dlg.exec()

eric ide

mercurial