MultiProject/AddProjectDialog.py

changeset 55
b5c84934de9c
parent 13
1af94a91f439
child 608
d8fea1e76975
child 792
a13346916170
equal deleted inserted replaced
54:31463df17fd5 55:b5c84934de9c
8 """ 8 """
9 9
10 from PyQt4.QtGui import * 10 from PyQt4.QtGui import *
11 from PyQt4.QtCore import * 11 from PyQt4.QtCore import *
12 12
13 from E4Gui.E4Completers import E4FileCompleter 13 from E5Gui.E5Completers import E5FileCompleter
14 14
15 from .Ui_AddProjectDialog import Ui_AddProjectDialog 15 from .Ui_AddProjectDialog import Ui_AddProjectDialog
16 16
17 import Utilities 17 import Utilities
18 18
29 @param project dictionary containing project data 29 @param project dictionary containing project data
30 """ 30 """
31 QDialog.__init__(self, parent) 31 QDialog.__init__(self, parent)
32 self.setupUi(self) 32 self.setupUi(self)
33 33
34 self.fileCompleter = E4FileCompleter(self.filenameEdit) 34 self.fileCompleter = E5FileCompleter(self.filenameEdit)
35 35
36 self.startdir = startdir 36 self.startdir = startdir
37 37
38 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok) 38 self.__okButton = self.buttonBox.button(QDialogButtonBox.Ok)
39 self.__okButton.setEnabled(False) 39 self.__okButton.setEnabled(False)

eric ide

mercurial