47 hvId = 0 |
47 hvId = 0 |
48 self.helpBrowserButton.setEnabled(False) |
48 self.helpBrowserButton.setEnabled(False) |
49 |
49 |
50 self.helpViewerGroup.button(hvId).setChecked(True) |
50 self.helpViewerGroup.button(hvId).setChecked(True) |
51 self.customViewerPicker.setText(Preferences.getHelp("CustomViewer")) |
51 self.customViewerPicker.setText(Preferences.getHelp("CustomViewer")) |
|
52 self.enforceQTBCheckBox.setChecked(Preferences.getHelp("ForceQTextBrowser")) |
52 |
53 |
53 def save(self): |
54 def save(self): |
54 """ |
55 """ |
55 Public slot to save the Help Viewers configuration. |
56 Public slot to save the Help Viewers configuration. |
56 """ |
57 """ |
57 Preferences.setHelp("HelpViewerType", self.helpViewerGroup.checkedId()) |
58 Preferences.setHelp("HelpViewerType", self.helpViewerGroup.checkedId()) |
58 Preferences.setHelp("CustomViewer", self.customViewerPicker.text()) |
59 Preferences.setHelp("CustomViewer", self.customViewerPicker.text()) |
|
60 Preferences.setHelp("ForceQTextBrowser", self.enforceQTBCheckBox.isChecked()) |
59 |
61 |
60 |
62 |
61 def create(dlg): # noqa: U100 |
63 def create(dlg): # noqa: U100 |
62 """ |
64 """ |
63 Module function to create the configuration page. |
65 Module function to create the configuration page. |