85 Preferences.getPython("Python3Extensions"): |
87 Preferences.getPython("Python3Extensions"): |
86 modules.extend(glob.glob(Utilities.normjoinpath( |
88 modules.extend(glob.glob(Utilities.normjoinpath( |
87 self.packagePath, '*{0}'.format(ext)))) |
89 self.packagePath, '*{0}'.format(ext)))) |
88 |
90 |
89 tot = len(modules) |
91 tot = len(modules) |
|
92 progress = E5ProgressDialog( |
|
93 self.trUtf8("Parsing modules..."), |
|
94 None, 0, tot, self.trUtf8("%v/%m Modules"), self.parent()) |
90 try: |
95 try: |
91 prog = 0 |
96 prog = 0 |
92 progress = QProgressDialog( |
|
93 self.trUtf8("Parsing modules..."), |
|
94 None, 0, tot, self.parent()) |
|
95 progress.show() |
97 progress.show() |
96 QApplication.processEvents() |
98 QApplication.processEvents() |
97 for module in modules: |
99 for module in modules: |
98 progress.setValue(prog) |
100 progress.setValue(prog) |
99 QApplication.processEvents() |
101 QApplication.processEvents() |