eric7/Graphics/ApplicationDiagramBuilder.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8348
f4775ae8f441
child 8358
144a6b854f70
diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/Graphics/ApplicationDiagramBuilder.py
--- a/eric7/Graphics/ApplicationDiagramBuilder.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/Graphics/ApplicationDiagramBuilder.py	Sat May 22 18:51:46 2021 +0200
@@ -12,8 +12,8 @@
 
 from PyQt6.QtWidgets import QApplication, QInputDialog
 
-from E5Gui import E5MessageBox
-from E5Gui.E5ProgressDialog import E5ProgressDialog
+from E5Gui import EricMessageBox
+from E5Gui.EricProgressDialog import EricProgressDialog
 
 from .UMLDiagramBuilder import UMLDiagramBuilder
 
@@ -68,7 +68,7 @@
             modules.append(Utilities.normabsjoinpath(
                 self.project.ppath, module))
         tot = len(modules)
-        progress = E5ProgressDialog(
+        progress = EricProgressDialog(
             self.tr("Parsing modules..."),
             None, 0, tot, self.tr("%v/%m Modules"), self.parent())
         progress.setWindowTitle(self.tr("Application Diagram"))
@@ -132,7 +132,7 @@
                 if ok:
                     return root
             else:
-                E5MessageBox.warning(
+                EricMessageBox.warning(
                     None,
                     self.tr("Application Diagram"),
                     self.tr("""No application package could be detected."""
@@ -409,7 +409,7 @@
         
         projectFile = parts[0].split("=", 1)[1].strip()
         if projectFile != self.project.getProjectFile():
-            res = E5MessageBox.yesNo(
+            res = EricMessageBox.yesNo(
                 None,
                 self.tr("Load Diagram"),
                 self.tr(

eric ide

mercurial