62 |
62 |
63 self.positionComboBox.setCurrentIndex( |
63 self.positionComboBox.setCurrentIndex( |
64 self.positionComboBox.findData(Preferences.getEditor("CallTipsPosition")) |
64 self.positionComboBox.findData(Preferences.getEditor("CallTipsPosition")) |
65 ) |
65 ) |
66 |
66 |
|
67 def setMode(self, displayMode): |
|
68 """ |
|
69 Public method to perform mode dependent setups. |
|
70 |
|
71 @param displayMode mode of the configuration dialog |
|
72 @type ConfigurationMode |
|
73 """ |
|
74 from ..ConfigurationDialog import ConfigurationMode |
|
75 |
|
76 if displayMode in (ConfigurationMode.SHELLMODE,): |
|
77 self.pluginsBox.hide() |
|
78 |
67 def save(self): |
79 def save(self): |
68 """ |
80 """ |
69 Public slot to save the EditorCalltips configuration. |
81 Public slot to save the EditorCalltips configuration. |
70 """ |
82 """ |
71 Preferences.setEditor("CallTipsEnabled", self.ctEnabledCheckBox.isChecked()) |
83 Preferences.setEditor("CallTipsEnabled", self.ctEnabledCheckBox.isChecked()) |