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