55 |
55 |
56 def save(self): |
56 def save(self): |
57 """ |
57 """ |
58 Public slot to save the Debugger Python configuration. |
58 Public slot to save the Debugger Python configuration. |
59 """ |
59 """ |
60 Preferences.setDebugger("PythonInterpreter", |
60 Preferences.setDebugger( |
|
61 "PythonInterpreter", |
61 self.interpreterEdit.text()) |
62 self.interpreterEdit.text()) |
62 if self.standardButton.isChecked(): |
63 if self.standardButton.isChecked(): |
63 dct = "standard" |
64 dct = "standard" |
64 elif self.threadedButton.isChecked(): |
65 elif self.threadedButton.isChecked(): |
65 dct = "threaded" |
66 dct = "threaded" |
66 else: |
67 else: |
67 dct = "custom" |
68 dct = "custom" |
68 Preferences.setDebugger("DebugClientType", dct) |
69 Preferences.setDebugger("DebugClientType", dct) |
69 Preferences.setDebugger("DebugClient", |
70 Preferences.setDebugger( |
|
71 "DebugClient", |
70 self.debugClientEdit.text()) |
72 self.debugClientEdit.text()) |
71 Preferences.setDebugger("PythonRedirect", |
73 Preferences.setDebugger( |
|
74 "PythonRedirect", |
72 self.pyRedirectCheckBox.isChecked()) |
75 self.pyRedirectCheckBox.isChecked()) |
73 Preferences.setDebugger("PythonNoEncoding", |
76 Preferences.setDebugger( |
|
77 "PythonNoEncoding", |
74 self.pyNoEncodingCheckBox.isChecked()) |
78 self.pyNoEncodingCheckBox.isChecked()) |
75 Preferences.setDebugger("PythonExtensions", |
79 Preferences.setDebugger( |
|
80 "PythonExtensions", |
76 self.sourceExtensionsEdit.text()) |
81 self.sourceExtensionsEdit.text()) |
77 |
82 |
78 @pyqtSlot() |
83 @pyqtSlot() |
79 def on_interpreterButton_clicked(self): |
84 def on_interpreterButton_clicked(self): |
80 """ |
85 """ |