Preferences/ConfigurationPages/ApplicationPage.py

changeset 5011
4085e2348621
parent 4631
5c1a96925da4
child 5371
01c4c059142b
equal deleted inserted replaced
5009:8b1ca3c1da22 5011:4085e2348621
61 Preferences.getUser("UseSystemEmailClient")) 61 Preferences.getUser("UseSystemEmailClient"))
62 62
63 self.errorlogCheckBox.setChecked( 63 self.errorlogCheckBox.setChecked(
64 Preferences.getUI("CheckErrorLog")) 64 Preferences.getUI("CheckErrorLog"))
65 65
66 self.intervalSpinBox.setValue(
67 Preferences.getUI("KeyboardInputInterval"))
68
66 def save(self): 69 def save(self):
67 """ 70 """
68 Public slot to save the Application configuration. 71 Public slot to save the Application configuration.
69 """ 72 """
70 Preferences.setUI( 73 Preferences.setUI(
103 self.systemEmailClientCheckBox.isChecked()) 106 self.systemEmailClientCheckBox.isChecked())
104 107
105 Preferences.setUI( 108 Preferences.setUI(
106 "CheckErrorLog", 109 "CheckErrorLog",
107 self.errorlogCheckBox.isChecked()) 110 self.errorlogCheckBox.isChecked())
111
112 Preferences.setUI(
113 "KeyboardInputInterval",
114 self.intervalSpinBox.value())
108 115
109 116
110 def create(dlg): 117 def create(dlg):
111 """ 118 """
112 Module function to create the configuration page. 119 Module function to create the configuration page.

eric ide

mercurial