8 """ |
8 """ |
9 |
9 |
10 from PyQt4.QtCore import QDir, pyqtSlot |
10 from PyQt4.QtCore import QDir, pyqtSlot |
11 from PyQt4.QtGui import QFileDialog |
11 from PyQt4.QtGui import QFileDialog |
12 |
12 |
13 from E4Gui.E4Completers import E4FileCompleter |
13 from E5Gui.E5Completers import E5FileCompleter |
14 |
14 |
15 from .ConfigurationPageBase import ConfigurationPageBase |
15 from .ConfigurationPageBase import ConfigurationPageBase |
16 from .Ui_DebuggerPython3Page import Ui_DebuggerPython3Page |
16 from .Ui_DebuggerPython3Page import Ui_DebuggerPython3Page |
17 |
17 |
18 import Preferences |
18 import Preferences |
28 """ |
28 """ |
29 ConfigurationPageBase.__init__(self) |
29 ConfigurationPageBase.__init__(self) |
30 self.setupUi(self) |
30 self.setupUi(self) |
31 self.setObjectName("DebuggerPython3Page") |
31 self.setObjectName("DebuggerPython3Page") |
32 |
32 |
33 self.interpreterCompleter = E4FileCompleter(self.interpreterEdit) |
33 self.interpreterCompleter = E5FileCompleter(self.interpreterEdit) |
34 self.debugClientCompleter = E4FileCompleter(self.debugClientEdit) |
34 self.debugClientCompleter = E5FileCompleter(self.debugClientEdit) |
35 |
35 |
36 # set initial values |
36 # set initial values |
37 self.customPyCheckBox.setChecked(\ |
37 self.customPyCheckBox.setChecked(\ |
38 Preferences.getDebugger("CustomPython3Interpreter")) |
38 Preferences.getDebugger("CustomPython3Interpreter")) |
39 self.interpreterEdit.setText(\ |
39 self.interpreterEdit.setText(\ |