57 (ConfigurationWidget.DefaultMode, |
57 (ConfigurationWidget.DefaultMode, |
58 ConfigurationWidget.HelpBrowserMode, |
58 ConfigurationWidget.HelpBrowserMode, |
59 ConfigurationWidget.WebBrowserMode) |
59 ConfigurationWidget.WebBrowserMode) |
60 """ |
60 """ |
61 from ..ConfigurationDialog import ConfigurationWidget |
61 from ..ConfigurationDialog import ConfigurationWidget |
62 assert displayMode in ( |
62 if displayMode in ( |
63 ConfigurationWidget.DefaultMode, |
63 ConfigurationWidget.DefaultMode, |
64 ConfigurationWidget.HelpBrowserMode, |
64 ConfigurationWidget.HelpBrowserMode, |
65 ConfigurationWidget.WebBrowserMode |
65 ConfigurationWidget.WebBrowserMode |
66 ) |
66 ): |
67 |
67 self.__displayMode = displayMode |
68 self.__displayMode = displayMode |
68 |
69 |
69 self.certificateErrorsGroup.setVisible( |
70 self.certificateErrorsGroup.setVisible( |
70 displayMode == ConfigurationWidget.WebBrowserMode |
71 displayMode == ConfigurationWidget.WebBrowserMode |
71 ) |
72 ) |
|
73 |
72 |
74 def save(self): |
73 def save(self): |
75 """ |
74 """ |
76 Public slot to save the Help Viewers configuration. |
75 Public slot to save the Help Viewers configuration. |
77 """ |
76 """ |