157 QObject.__init__(self, parent) |
157 QObject.__init__(self, parent) |
158 |
158 |
159 self.ui = parent |
159 self.ui = parent |
160 |
160 |
161 self.sourceExtensions = { |
161 self.sourceExtensions = { |
162 "Python" : ['.py', '.ptl', '.pyw'], |
162 "Python" : Preferences.getPython("PythonExtensions"), |
163 "Python3" : ['.py', '.pyw'], |
163 "Python3" : Preferences.getPython("Python3Extensions"), |
164 "Ruby" : ['.rb'], |
164 "Ruby" : ['.rb'], |
165 "Mixed" : ['.py', '.ptl', '.rb'] |
165 "Mixed" : ['.py', '.ptl', '.rb'] |
166 } |
166 } |
167 |
167 |
168 self.dbgFilters = { |
168 self.dbgFilters = { |
169 "Python" : self.trUtf8(\ |
169 "Python" : self.trUtf8(\ |
170 "Python Files (*.py);;" |
170 "Python Files (*.py2);;" |
171 "Python GUI Files (*.pyw);;"), |
171 "Python GUI Files (*.pyw2);;"), |
172 "Python3" : self.trUtf8(\ |
172 "Python3" : self.trUtf8(\ |
173 "Python3 Files (*.py3);;" |
173 "Python3 Files (*.py *.py3);;" |
174 "Python3 GUI Files (*.pyw3);;"), |
174 "Python3 GUI Files (*.pyw *.pyw3);;"), |
175 "Ruby" : self.trUtf8("Ruby Files (*.rb);;"), |
175 "Ruby" : self.trUtf8("Ruby Files (*.rb);;"), |
176 } |
176 } |
177 |
177 |
178 self.vcsMenu = None |
178 self.vcsMenu = None |
179 |
179 |