28 @param defaultClassName proposed name for the new class (string) |
28 @param defaultClassName proposed name for the new class (string) |
29 @param defaultFile proposed name for the source file (string) |
29 @param defaultFile proposed name for the source file (string) |
30 @param defaultPath default path for the new file (string) |
30 @param defaultPath default path for the new file (string) |
31 @param parent parent widget if the dialog (QWidget) |
31 @param parent parent widget if the dialog (QWidget) |
32 """ |
32 """ |
33 super(NewDialogClassDialog, self).__init__(parent) |
33 super().__init__(parent) |
34 self.setupUi(self) |
34 self.setupUi(self) |
35 |
35 |
36 self.pathnamePicker.setMode(E5PathPickerModes.DirectoryMode) |
36 self.pathnamePicker.setMode(E5PathPickerModes.DirectoryMode) |
37 |
37 |
38 self.okButton = self.buttonBox.button( |
38 self.okButton = self.buttonBox.button( |