31 @param filter file type filter (string) |
31 @param filter file type filter (string) |
32 @param parent parent widget of this dialog (QWidget) |
32 @param parent parent widget of this dialog (QWidget) |
33 @param name name of this dialog (string) |
33 @param name name of this dialog (string) |
34 @param startdir start directory for the selection dialog |
34 @param startdir start directory for the selection dialog |
35 """ |
35 """ |
36 QDialog.__init__(self, parent) |
36 super().__init__(parent) |
37 if name: |
37 if name: |
38 self.setObjectName(name) |
38 self.setObjectName(name) |
39 self.setupUi(self) |
39 self.setupUi(self) |
40 |
40 |
41 self.sourceDirCompleter = E5DirCompleter(self.sourceDirEdit) |
41 self.sourceDirCompleter = E5DirCompleter(self.sourceDirEdit) |