Project/AddFileDialog.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1330
da34ee6d1d30
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
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)

eric ide

mercurial