33 @param parent parent widget of this dialog (QWidget) |
33 @param parent parent widget of this dialog (QWidget) |
34 @param filter filter specification for the file to add (string) |
34 @param filter filter specification for the file to add (string) |
35 @param name name of this dialog (string) |
35 @param name name of this dialog (string) |
36 @param startdir start directory for the selection dialog |
36 @param startdir start directory for the selection dialog |
37 """ |
37 """ |
38 QDialog.__init__(self, parent) |
38 super().__init__(parent) |
39 if name: |
39 if name: |
40 self.setObjectName(name) |
40 self.setObjectName(name) |
41 self.setupUi(self) |
41 self.setupUi(self) |
42 |
42 |
43 self.targetDirCompleter = E5DirCompleter(self.targetDirEdit) |
43 self.targetDirCompleter = E5DirCompleter(self.targetDirEdit) |