40 def save(self): |
40 def save(self): |
41 """ |
41 """ |
42 Public slot to save the EditorCalltips configuration. |
42 Public slot to save the EditorCalltips configuration. |
43 """ |
43 """ |
44 if self.ctNoContextButton.isChecked(): |
44 if self.ctNoContextButton.isChecked(): |
45 Preferences.setEditor("CallTipsStyle", |
45 Preferences.setEditor( |
46 QsciScintilla.CallTipsNoContext) |
46 "CallTipsStyle", QsciScintilla.CallTipsNoContext) |
47 elif self.ctNoAutoCompletionButton.isChecked(): |
47 elif self.ctNoAutoCompletionButton.isChecked(): |
48 Preferences.setEditor("CallTipsStyle", |
48 Preferences.setEditor( |
49 QsciScintilla.CallTipsNoAutoCompletionContext) |
49 "CallTipsStyle", QsciScintilla.CallTipsNoAutoCompletionContext) |
50 elif self.ctContextButton.isChecked(): |
50 elif self.ctContextButton.isChecked(): |
51 Preferences.setEditor("CallTipsStyle", |
51 Preferences.setEditor( |
52 QsciScintilla.CallTipsContext) |
52 "CallTipsStyle", QsciScintilla.CallTipsContext) |
53 |
53 |
54 |
54 |
55 def create(dlg): |
55 def create(dlg): |
56 """ |
56 """ |
57 Module function to create the configuration page. |
57 Module function to create the configuration page. |