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