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("Python3Interpreter", |
62 Preferences.setDebugger( |
|
63 "Python3Interpreter", |
63 self.interpreterEdit.text()) |
64 self.interpreterEdit.text()) |
64 if self.standardButton.isChecked(): |
65 if self.standardButton.isChecked(): |
65 dct = "standard" |
66 dct = "standard" |
66 elif self.threadedButton.isChecked(): |
67 elif self.threadedButton.isChecked(): |
67 dct = "threaded" |
68 dct = "threaded" |
68 else: |
69 else: |
69 dct = "custom" |
70 dct = "custom" |
70 Preferences.setDebugger("DebugClientType3", dct) |
71 Preferences.setDebugger("DebugClientType3", dct) |
71 Preferences.setDebugger("DebugClient3", |
72 Preferences.setDebugger( |
|
73 "DebugClient3", |
72 self.debugClientEdit.text()) |
74 self.debugClientEdit.text()) |
73 Preferences.setDebugger("Python3Redirect", |
75 Preferences.setDebugger( |
|
76 "Python3Redirect", |
74 self.pyRedirectCheckBox.isChecked()) |
77 self.pyRedirectCheckBox.isChecked()) |
75 Preferences.setDebugger("Python3NoEncoding", |
78 Preferences.setDebugger( |
|
79 "Python3NoEncoding", |
76 self.pyNoEncodingCheckBox.isChecked()) |
80 self.pyNoEncodingCheckBox.isChecked()) |
77 Preferences.setDebugger("Python3Extensions", |
81 Preferences.setDebugger( |
|
82 "Python3Extensions", |
78 self.sourceExtensionsEdit.text()) |
83 self.sourceExtensionsEdit.text()) |
79 |
84 |
80 @pyqtSlot() |
85 @pyqtSlot() |
81 def on_interpreterButton_clicked(self): |
86 def on_interpreterButton_clicked(self): |
82 """ |
87 """ |