31 |
31 |
32 @param project reference to the project object |
32 @param project reference to the project object |
33 @param new flag indicating the generation of a new project |
33 @param new flag indicating the generation of a new project |
34 @param parent parent widget of this dialog (QWidget) |
34 @param parent parent widget of this dialog (QWidget) |
35 """ |
35 """ |
36 super(TranslationPropertiesDialog, self).__init__(parent) |
36 super().__init__(parent) |
37 self.setupUi(self) |
37 self.setupUi(self) |
38 |
38 |
39 self.transPatternPicker.setMode(E5PathPickerModes.SaveFileMode) |
39 self.transPatternPicker.setMode(E5PathPickerModes.SaveFileMode) |
40 self.transPatternPicker.setDefaultDirectory(project.ppath) |
40 self.transPatternPicker.setDefaultDirectory(project.ppath) |
41 self.transBinPathPicker.setMode(E5PathPickerModes.DirectoryMode) |
41 self.transBinPathPicker.setMode(E5PathPickerModes.DirectoryMode) |