26 |
26 |
27 @param project reference to the project object |
27 @param project reference to the project object |
28 @param new flag indicating the generation of a new project |
28 @param new flag indicating the generation of a new project |
29 @param parent parent widget of this dialog (QWidget) |
29 @param parent parent widget of this dialog (QWidget) |
30 """ |
30 """ |
31 super(SpellingPropertiesDialog, self).__init__(parent) |
31 super().__init__(parent) |
32 self.setupUi(self) |
32 self.setupUi(self) |
33 |
33 |
34 self.pwlPicker.setMode(E5PathPickerModes.SaveFileMode) |
34 self.pwlPicker.setMode(E5PathPickerModes.SaveFileMode) |
35 self.pwlPicker.setDefaultDirectory(project.ppath) |
35 self.pwlPicker.setDefaultDirectory(project.ppath) |
36 self.pwlPicker.setFilters(self.tr( |
36 self.pwlPicker.setFilters(self.tr( |