26 ConfigurationPageBase.__init__(self) |
26 ConfigurationPageBase.__init__(self) |
27 self.setupUi(self) |
27 self.setupUi(self) |
28 self.setObjectName("EditorAutocompletionQScintillaPage") |
28 self.setObjectName("EditorAutocompletionQScintillaPage") |
29 |
29 |
30 # set initial values |
30 # set initial values |
31 self.acShowSingleCheckBox.setChecked(\ |
31 self.acShowSingleCheckBox.setChecked( |
32 Preferences.getEditor("AutoCompletionShowSingle")) |
32 Preferences.getEditor("AutoCompletionShowSingle")) |
33 self.acFillupsCheckBox.setChecked(\ |
33 self.acFillupsCheckBox.setChecked( |
34 Preferences.getEditor("AutoCompletionFillups")) |
34 Preferences.getEditor("AutoCompletionFillups")) |
35 |
35 |
36 acSource = Preferences.getEditor("AutoCompletionSource") |
36 acSource = Preferences.getEditor("AutoCompletionSource") |
37 if acSource == QsciScintilla.AcsDocument: |
37 if acSource == QsciScintilla.AcsDocument: |
38 self.acSourceDocumentRadioButton.setChecked(True) |
38 self.acSourceDocumentRadioButton.setChecked(True) |