15 from .ConfigurationPageBase import ConfigurationPageBase |
15 from .ConfigurationPageBase import ConfigurationPageBase |
16 from .Ui_DebuggerRubyPage import Ui_DebuggerRubyPage |
16 from .Ui_DebuggerRubyPage import Ui_DebuggerRubyPage |
17 |
17 |
18 import Preferences |
18 import Preferences |
19 import Utilities |
19 import Utilities |
|
20 |
20 |
21 |
21 class DebuggerRubyPage(ConfigurationPageBase, Ui_DebuggerRubyPage): |
22 class DebuggerRubyPage(ConfigurationPageBase, Ui_DebuggerRubyPage): |
22 """ |
23 """ |
23 Class implementing the Debugger Ruby configuration page. |
24 Class implementing the Debugger Ruby configuration page. |
24 """ |
25 """ |
40 |
41 |
41 def save(self): |
42 def save(self): |
42 """ |
43 """ |
43 Public slot to save the Debugger Ruby configuration. |
44 Public slot to save the Debugger Ruby configuration. |
44 """ |
45 """ |
45 Preferences.setDebugger("RubyInterpreter", |
46 Preferences.setDebugger("RubyInterpreter", |
46 self.rubyInterpreterEdit.text()) |
47 self.rubyInterpreterEdit.text()) |
47 Preferences.setDebugger("RubyRedirect", |
48 Preferences.setDebugger("RubyRedirect", |
48 self.rbRedirectCheckBox.isChecked()) |
49 self.rbRedirectCheckBox.isChecked()) |
49 |
50 |
50 @pyqtSlot() |
51 @pyqtSlot() |
51 def on_rubyInterpreterButton_clicked(self): |
52 def on_rubyInterpreterButton_clicked(self): |
52 """ |
53 """ |