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