57 |
57 |
58 def save(self): |
58 def save(self): |
59 """ |
59 """ |
60 Public slot to save the Debugger Python configuration. |
60 Public slot to save the Debugger Python configuration. |
61 """ |
61 """ |
62 Preferences.setDebugger("CustomPython3Interpreter", |
62 Preferences.setDebugger( |
|
63 "CustomPython3Interpreter", |
63 self.customPyCheckBox.isChecked()) |
64 self.customPyCheckBox.isChecked()) |
64 Preferences.setDebugger("Python3Interpreter", |
65 Preferences.setDebugger( |
|
66 "Python3Interpreter", |
65 self.interpreterEdit.text()) |
67 self.interpreterEdit.text()) |
66 if self.standardButton.isChecked(): |
68 if self.standardButton.isChecked(): |
67 dct = "standard" |
69 dct = "standard" |
68 elif self.threadedButton.isChecked(): |
70 elif self.threadedButton.isChecked(): |
69 dct = "threaded" |
71 dct = "threaded" |
70 else: |
72 else: |
71 dct = "custom" |
73 dct = "custom" |
72 Preferences.setDebugger("DebugClientType3", dct) |
74 Preferences.setDebugger("DebugClientType3", dct) |
73 Preferences.setDebugger("DebugClient3", |
75 Preferences.setDebugger( |
|
76 "DebugClient3", |
74 self.debugClientEdit.text()) |
77 self.debugClientEdit.text()) |
75 Preferences.setDebugger("Python3Redirect", |
78 Preferences.setDebugger( |
|
79 "Python3Redirect", |
76 self.pyRedirectCheckBox.isChecked()) |
80 self.pyRedirectCheckBox.isChecked()) |
77 Preferences.setDebugger("Python3NoEncoding", |
81 Preferences.setDebugger( |
|
82 "Python3NoEncoding", |
78 self.pyNoEncodingCheckBox.isChecked()) |
83 self.pyNoEncodingCheckBox.isChecked()) |
79 Preferences.setDebugger("Python3Extensions", |
84 Preferences.setDebugger( |
|
85 "Python3Extensions", |
80 self.sourceExtensionsEdit.text()) |
86 self.sourceExtensionsEdit.text()) |
81 |
87 |
82 @pyqtSlot() |
88 @pyqtSlot() |
83 def on_interpreterButton_clicked(self): |
89 def on_interpreterButton_clicked(self): |
84 """ |
90 """ |