33 self.onlineTimeoutSpinBox.setValue( |
33 self.onlineTimeoutSpinBox.setValue( |
34 Preferences.getEditor("OnlineSyntaxCheckInterval")) |
34 Preferences.getEditor("OnlineSyntaxCheckInterval")) |
35 self.automaticSyntaxCheckCheckBox.setChecked( |
35 self.automaticSyntaxCheckCheckBox.setChecked( |
36 Preferences.getEditor("AutoCheckSyntax")) |
36 Preferences.getEditor("AutoCheckSyntax")) |
37 |
37 |
|
38 # pyflakes related stuff |
|
39 self.includeCheckBox.setChecked( |
|
40 Preferences.getFlakes("IncludeInSyntaxCheck")) |
|
41 self.ignoreStarImportCheckBox.setChecked( |
|
42 Preferences.getFlakes("IgnoreStarImportWarnings")) |
|
43 |
38 def save(self): |
44 def save(self): |
39 """ |
45 """ |
40 Public slot to save the Editor Syntax Checker configuration. |
46 Public slot to save the Editor Syntax Checker configuration. |
41 """ |
47 """ |
42 Preferences.setEditor("OnlineSyntaxCheck", |
48 Preferences.setEditor("OnlineSyntaxCheck", |
43 self.onlineCheckBox.isChecked()) |
49 self.onlineCheckBox.isChecked()) |
44 Preferences.setEditor("OnlineSyntaxCheckInterval", |
50 Preferences.setEditor("OnlineSyntaxCheckInterval", |
45 self.onlineTimeoutSpinBox.value()) |
51 self.onlineTimeoutSpinBox.value()) |
46 Preferences.setEditor("AutoCheckSyntax", |
52 Preferences.setEditor("AutoCheckSyntax", |
47 self.automaticSyntaxCheckCheckBox.isChecked()) |
53 self.automaticSyntaxCheckCheckBox.isChecked()) |
48 |
54 |
|
55 # pyflakes related stuff |
|
56 Preferences.setFlakes("IncludeInSyntaxCheck", |
|
57 self.includeCheckBox.isChecked()) |
|
58 Preferences.setFlakes("IgnoreStarImportWarnings", |
|
59 self.ignoreStarImportCheckBox.isChecked()) |
|
60 |
49 |
61 |
50 def create(dlg): |
62 def create(dlg): |
51 """ |
63 """ |
52 Module function to create the configuration page. |
64 Module function to create the configuration page. |
53 |
65 |