Preferences/ConfigurationPages/ProjectPage.py

changeset 1653
fed1920ff53b
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
equal deleted inserted replaced
1652:4719bf3fe8d8 1653:fed1920ff53b
51 self.projectRecentSpinBox.setValue( 51 self.projectRecentSpinBox.setValue(
52 Preferences.getProject("RecentNumber")) 52 Preferences.getProject("RecentNumber"))
53 self.pythonVariantCheckBox.setChecked( 53 self.pythonVariantCheckBox.setChecked(
54 Preferences.getProject("DeterminePyFromProject")) 54 Preferences.getProject("DeterminePyFromProject"))
55 55
56 self.autosaveTasksCheckBox.setChecked(
57 Preferences.getTasks("TasksProjectAutoSave"))
58
56 def save(self): 59 def save(self):
57 """ 60 """
58 Public slot to save the Project configuration. 61 Public slot to save the Project configuration.
59 """ 62 """
60 Preferences.setProject("SearchNewFilesRecursively", 63 Preferences.setProject("SearchNewFilesRecursively",
81 self.projectTimestampCheckBox.isChecked()) 84 self.projectTimestampCheckBox.isChecked())
82 Preferences.setProject("RecentNumber", 85 Preferences.setProject("RecentNumber",
83 self.projectRecentSpinBox.value()) 86 self.projectRecentSpinBox.value())
84 Preferences.setProject("DeterminePyFromProject", 87 Preferences.setProject("DeterminePyFromProject",
85 self.pythonVariantCheckBox.isChecked()) 88 self.pythonVariantCheckBox.isChecked())
89
90 Preferences.setTasks("TasksProjectAutoSave",
91 self.autosaveTasksCheckBox.isChecked())
86 92
87 93
88 def create(dlg): 94 def create(dlg):
89 """ 95 """
90 Module function to create the configuration page. 96 Module function to create the configuration page.

eric ide

mercurial