17 from E5Gui.E5PathPicker import E5PathPickerModes |
17 from E5Gui.E5PathPicker import E5PathPickerModes |
18 |
18 |
19 from .Ui_AddFileDialog import Ui_AddFileDialog |
19 from .Ui_AddFileDialog import Ui_AddFileDialog |
20 |
20 |
21 |
21 |
|
22 # TODO: add fileTypeFilter 'protocol' |
22 class AddFileDialog(QDialog, Ui_AddFileDialog): |
23 class AddFileDialog(QDialog, Ui_AddFileDialog): |
23 """ |
24 """ |
24 Class implementing a dialog to add a file to the project. |
25 Class implementing a dialog to add a file to the project. |
25 """ |
26 """ |
26 def __init__(self, pro, parent=None, fileTypeFilter=None, name=None, |
27 def __init__(self, pro, parent=None, fileTypeFilter=None, name=None, |