9 |
9 |
10 from .ConfigurationPageBase import ConfigurationPageBase |
10 from .ConfigurationPageBase import ConfigurationPageBase |
11 from .Ui_TemplatesPage import Ui_TemplatesPage |
11 from .Ui_TemplatesPage import Ui_TemplatesPage |
12 |
12 |
13 import Preferences |
13 import Preferences |
|
14 |
14 |
15 |
15 class TemplatesPage(ConfigurationPageBase, Ui_TemplatesPage): |
16 class TemplatesPage(ConfigurationPageBase, Ui_TemplatesPage): |
16 """ |
17 """ |
17 Class implementing the Templates configuration page. |
18 Class implementing the Templates configuration page. |
18 """ |
19 """ |
48 Preferences.setTemplates("SingleDialog", |
49 Preferences.setTemplates("SingleDialog", |
49 self.templatesSingleDialogButton.isChecked()) |
50 self.templatesSingleDialogButton.isChecked()) |
50 Preferences.setTemplates("ShowTooltip", |
51 Preferences.setTemplates("ShowTooltip", |
51 self.templatesToolTipCheckBox.isChecked()) |
52 self.templatesToolTipCheckBox.isChecked()) |
52 |
53 |
|
54 |
53 def create(dlg): |
55 def create(dlg): |
54 """ |
56 """ |
55 Module function to create the configuration page. |
57 Module function to create the configuration page. |
56 |
58 |
57 @param dlg reference to the configuration dialog |
59 @param dlg reference to the configuration dialog |