80 Preferences.getPython("Python3Extensions"): |
80 Preferences.getPython("Python3Extensions"): |
81 modules.extend( |
81 modules.extend( |
82 glob.glob(Utilities.normjoinpath(self.packagePath, '*{0}'.format(ext)))) |
82 glob.glob(Utilities.normjoinpath(self.packagePath, '*{0}'.format(ext)))) |
83 |
83 |
84 tot = len(modules) |
84 tot = len(modules) |
|
85 progress = QProgressDialog(self.trUtf8("Parsing modules..."), |
|
86 None, 0, tot, self.parent()) |
85 try: |
87 try: |
86 prog = 0 |
88 prog = 0 |
87 progress = QProgressDialog(self.trUtf8("Parsing modules..."), |
|
88 None, 0, tot, self.parent()) |
|
89 progress.show() |
89 progress.show() |
90 QApplication.processEvents() |
90 QApplication.processEvents() |
91 for module in modules: |
91 for module in modules: |
92 progress.setValue(prog) |
92 progress.setValue(prog) |
93 QApplication.processEvents() |
93 QApplication.processEvents() |