30 @param parent parent widget of this dialog (QWidget) |
30 @param parent parent widget of this dialog (QWidget) |
31 @param fileTypeFilter filter specification for the file to add (string) |
31 @param fileTypeFilter filter specification for the file to add (string) |
32 @param name name of this dialog (string) |
32 @param name name of this dialog (string) |
33 @param startdir start directory for the selection dialog |
33 @param startdir start directory for the selection dialog |
34 """ |
34 """ |
35 super(AddFileDialog, self).__init__(parent) |
35 super().__init__(parent) |
36 if name: |
36 if name: |
37 self.setObjectName(name) |
37 self.setObjectName(name) |
38 self.setupUi(self) |
38 self.setupUi(self) |
39 |
39 |
40 self.sourceFilesPicker.setMode(E5PathPickerModes.OpenFilesMode) |
40 self.sourceFilesPicker.setMode(E5PathPickerModes.OpenFilesMode) |