eric6/Project/AddFileDialog.py

changeset 8218
7c09585bd960
parent 7923
91e843545d9a
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
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)

eric ide

mercurial