54:31463df17fd5 | 55:b5c84934de9c |
---|---|
9 | 9 |
10 from PyQt4.QtCore import * | 10 from PyQt4.QtCore import * |
11 from PyQt4.QtGui import * | 11 from PyQt4.QtGui import * |
12 from PyQt4.QtSql import QSqlDatabase | 12 from PyQt4.QtSql import QSqlDatabase |
13 | 13 |
14 from E4Gui.E4Completers import E4FileCompleter | 14 from E5Gui.E5Completers import E5FileCompleter |
15 | 15 |
16 from .Ui_SqlConnectionDialog import Ui_SqlConnectionDialog | 16 from .Ui_SqlConnectionDialog import Ui_SqlConnectionDialog |
17 | 17 |
18 import Utilities | 18 import Utilities |
19 | 19 |
26 Constructor | 26 Constructor |
27 """ | 27 """ |
28 QDialog.__init__(self, parent) | 28 QDialog.__init__(self, parent) |
29 self.setupUi(self) | 29 self.setupUi(self) |
30 | 30 |
31 self.databaseFileCompleter = E4FileCompleter() | 31 self.databaseFileCompleter = E5FileCompleter() |
32 | 32 |
33 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) | 33 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
34 | 34 |
35 drivers = QSqlDatabase.drivers() | 35 drivers = QSqlDatabase.drivers() |
36 | 36 |