188 Constructor |
188 Constructor |
189 |
189 |
190 @param parent parent widget (usually the ui object) (QWidget) |
190 @param parent parent widget (usually the ui object) (QWidget) |
191 @param filename optional filename of a project file to open (string) |
191 @param filename optional filename of a project file to open (string) |
192 """ |
192 """ |
193 QObject.__init__(self, parent) |
193 super().__init__(parent) |
194 |
194 |
195 self.ui = parent |
195 self.ui = parent |
196 |
196 |
197 self.sourceExtensions = { |
197 self.sourceExtensions = { |
198 "Python2": Preferences.getPython("PythonExtensions"), |
198 "Python2": Preferences.getPython("PythonExtensions"), |