119 (ConfigurationWidget.DefaultMode, |
119 (ConfigurationWidget.DefaultMode, |
120 ConfigurationWidget.HelpBrowserMode, |
120 ConfigurationWidget.HelpBrowserMode, |
121 ConfigurationWidget.TrayStarterMode) |
121 ConfigurationWidget.TrayStarterMode) |
122 """ |
122 """ |
123 from ..ConfigurationDialog import ConfigurationWidget |
123 from ..ConfigurationDialog import ConfigurationWidget |
124 assert displayMode in ( |
124 if displayMode in ( |
125 ConfigurationWidget.DefaultMode, |
125 ConfigurationWidget.DefaultMode, |
126 ConfigurationWidget.WebBrowserMode, |
126 ConfigurationWidget.WebBrowserMode, |
127 ) |
127 ): |
128 |
128 self.__displayMode = displayMode |
129 self.__displayMode = displayMode |
|
130 |
129 |
131 def save(self): |
130 def save(self): |
132 """ |
131 """ |
133 Public slot to save the Help Viewers configuration. |
132 Public slot to save the Help Viewers configuration. |
134 """ |
133 """ |