64 """ |
64 """ |
65 Private method to build a dictionary of modules contained in the package. |
65 Private method to build a dictionary of modules contained in the package. |
66 |
66 |
67 @return dictionary of modules contained in the package. |
67 @return dictionary of modules contained in the package. |
68 """ |
68 """ |
|
69 import Utilities.ModuleParser |
69 supportedExt = \ |
70 supportedExt = \ |
70 ['*{0}'.format(ext) for ext in Preferences.getPython("PythonExtensions")] + \ |
71 ['*{0}'.format(ext) for ext in Preferences.getPython("PythonExtensions")] + \ |
71 ['*{0}'.format(ext) for ext in Preferences.getPython("Python3Extensions")] + \ |
72 ['*{0}'.format(ext) for ext in Preferences.getPython("Python3Extensions")] + \ |
72 ['*.rb'] |
73 ['*.rb'] |
73 extensions = Preferences.getPython("PythonExtensions") + \ |
74 extensions = Preferences.getPython("PythonExtensions") + \ |
83 progress = QProgressDialog(self.trUtf8("Parsing modules..."), |
84 progress = QProgressDialog(self.trUtf8("Parsing modules..."), |
84 None, 0, tot, self.parent()) |
85 None, 0, tot, self.parent()) |
85 progress.show() |
86 progress.show() |
86 QApplication.processEvents() |
87 QApplication.processEvents() |
87 |
88 |
88 import Utilities.ModuleParser |
|
89 for module in modules: |
89 for module in modules: |
90 progress.setValue(prog) |
90 progress.setValue(prog) |
91 QApplication.processEvents() |
91 QApplication.processEvents() |
92 prog += 1 |
92 prog += 1 |
93 try: |
93 try: |