67 def save(self): |
67 def save(self): |
68 """ |
68 """ |
69 Public slot to save the Application configuration. |
69 Public slot to save the Application configuration. |
70 """ |
70 """ |
71 Preferences.setUI("SingleApplicationMode", |
71 Preferences.setUI("SingleApplicationMode", |
72 int(self.singleApplicationCheckBox.isChecked())) |
72 self.singleApplicationCheckBox.isChecked()) |
73 Preferences.setUI("ShowSplash", |
73 Preferences.setUI("ShowSplash", |
74 int(self.splashScreenCheckBox.isChecked())) |
74 self.splashScreenCheckBox.isChecked()) |
75 |
75 |
76 if self.noOpenRadioButton.isChecked(): |
76 if self.noOpenRadioButton.isChecked(): |
77 openOnStartup = 0 |
77 openOnStartup = 0 |
78 elif self.lastFileRadioButton.isChecked(): |
78 elif self.lastFileRadioButton.isChecked(): |
79 openOnStartup = 1 |
79 openOnStartup = 1 |
96 elif self.monthlyCheckRadioButton.isChecked(): |
96 elif self.monthlyCheckRadioButton.isChecked(): |
97 period = 4 |
97 period = 4 |
98 Preferences.setUI("PerformVersionCheck", period) |
98 Preferences.setUI("PerformVersionCheck", period) |
99 |
99 |
100 Preferences.setUser("UseSystemEmailClient", |
100 Preferences.setUser("UseSystemEmailClient", |
101 int(self.systemEmailClientCheckBox.isChecked())) |
101 self.systemEmailClientCheckBox.isChecked()) |
102 |
102 |
103 Preferences.setUI("CheckErrorLog", |
103 Preferences.setUI("CheckErrorLog", |
104 int(self.errorlogCheckBox.isChecked())) |
104 self.errorlogCheckBox.isChecked()) |
105 |
105 |
106 def create(dlg): |
106 def create(dlg): |
107 """ |
107 """ |
108 Module function to create the configuration page. |
108 Module function to create the configuration page. |
109 |
109 |