11 |
11 |
12 from PyQt4.QtCore import * |
12 from PyQt4.QtCore import * |
13 from PyQt4.QtGui import * |
13 from PyQt4.QtGui import * |
14 from PyQt4.QtNetwork import * |
14 from PyQt4.QtNetwork import * |
15 |
15 |
16 from E4Gui.E4Application import e5App |
16 from E5Gui.E5Application import e5App |
17 |
17 |
18 from E4Gui.E4Completers import E4FileCompleter, E4DirCompleter |
18 from E5Gui.E5Completers import E5FileCompleter, E5DirCompleter |
19 |
19 |
20 from .ConfigurationPageBase import ConfigurationPageBase |
20 from .ConfigurationPageBase import ConfigurationPageBase |
21 from .Ui_DebuggerGeneralPage import Ui_DebuggerGeneralPage |
21 from .Ui_DebuggerGeneralPage import Ui_DebuggerGeneralPage |
22 |
22 |
23 import Preferences |
23 import Preferences |
50 t = self.consoleDbgEdit.whatsThis() |
50 t = self.consoleDbgEdit.whatsThis() |
51 if t: |
51 if t: |
52 t += Utilities.getPercentReplacementHelp() |
52 t += Utilities.getPercentReplacementHelp() |
53 self.consoleDbgEdit.setWhatsThis(t) |
53 self.consoleDbgEdit.setWhatsThis(t) |
54 |
54 |
55 self.consoleDbgCompleter = E4FileCompleter(self.consoleDbgEdit) |
55 self.consoleDbgCompleter = E5FileCompleter(self.consoleDbgEdit) |
56 self.dbgTranslationLocalCompleter = E4DirCompleter(self.dbgTranslationLocalEdit) |
56 self.dbgTranslationLocalCompleter = E5DirCompleter(self.dbgTranslationLocalEdit) |
57 |
57 |
58 # set initial values |
58 # set initial values |
59 interfaces = [] |
59 interfaces = [] |
60 networkInterfaces = QNetworkInterface.allInterfaces() |
60 networkInterfaces = QNetworkInterface.allInterfaces() |
61 for networkInterface in networkInterfaces: |
61 for networkInterface in networkInterfaces: |