Graphics/ApplicationDiagramBuilder.py

changeset 3071
83d066710d60
parent 3035
36e9f388958b
child 3080
6c0a430b19df
child 3160
209a07d7e401
--- a/Graphics/ApplicationDiagramBuilder.py	Sat Nov 09 18:14:44 2013 +0100
+++ b/Graphics/ApplicationDiagramBuilder.py	Sun Nov 10 14:40:34 2013 +0100
@@ -10,9 +10,10 @@
 import os
 import glob
 
-from PyQt4.QtGui import QApplication, QProgressDialog
+from PyQt4.QtGui import QApplication
 
 from E5Gui import E5MessageBox
+from E5Gui.E5ProgressDialog import E5ProgressDialog
 
 from .UMLDiagramBuilder import UMLDiagramBuilder
 
@@ -60,11 +61,11 @@
             modules.append(Utilities.normabsjoinpath(
                 self.project.ppath, module))
         tot = len(modules)
+        progress = E5ProgressDialog(
+            self.trUtf8("Parsing modules..."),
+            None, 0, tot, self.trUtf8("%v/%m Modules"), self.parent())
         try:
             prog = 0
-            progress = QProgressDialog(
-                self.trUtf8("Parsing modules..."),
-                None, 0, tot, self.parent())
             progress.show()
             QApplication.processEvents()
             

eric ide

mercurial