59 Preferences.getEditor("AutoCompletionWatchdogTime") / 1000.0 |
59 Preferences.getEditor("AutoCompletionWatchdogTime") / 1000.0 |
60 ) |
60 ) |
61 self.acLinesSlider.setValue(Preferences.getEditor("AutoCompletionMaxLines")) |
61 self.acLinesSlider.setValue(Preferences.getEditor("AutoCompletionMaxLines")) |
62 self.acCharSlider.setValue(Preferences.getEditor("AutoCompletionMaxChars")) |
62 self.acCharSlider.setValue(Preferences.getEditor("AutoCompletionMaxChars")) |
63 |
63 |
|
64 def setMode(self, displayMode): |
|
65 """ |
|
66 Public method to perform mode dependent setups. |
|
67 |
|
68 @param displayMode mode of the configuration dialog |
|
69 @type ConfigurationMode |
|
70 """ |
|
71 from ..ConfigurationDialog import ConfigurationMode |
|
72 |
|
73 if displayMode in (ConfigurationMode.SHELLMODE,): |
|
74 self.pluginGroupBox.hide() |
|
75 self.acCacheGroup.hide() |
|
76 |
64 def save(self): |
77 def save(self): |
65 """ |
78 """ |
66 Public slot to save the Editor Autocompletion configuration. |
79 Public slot to save the Editor Autocompletion configuration. |
67 """ |
80 """ |
68 Preferences.setEditor( |
81 Preferences.setEditor( |