Preferences/ConfigurationPages/EditorCalltipsQScintillaPage.py

changeset 3010
befeff46ec0f
parent 2964
84b65fb9e780
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
3009:bf5ae5d7477d 3010:befeff46ec0f
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.

eric ide

mercurial