50 |
50 |
51 def save(self): |
51 def save(self): |
52 """ |
52 """ |
53 Public slot to save the Tasks configuration. |
53 Public slot to save the Tasks configuration. |
54 """ |
54 """ |
55 Preferences.setTasks("TasksFixmeMarkers", |
55 Preferences.setTasks( |
56 self.tasksMarkerFixmeEdit.text()) |
56 "TasksFixmeMarkers", self.tasksMarkerFixmeEdit.text()) |
57 Preferences.setTasks("TasksWarningMarkers", |
57 Preferences.setTasks( |
58 self.tasksMarkerWarningEdit.text()) |
58 "TasksWarningMarkers", self.tasksMarkerWarningEdit.text()) |
59 Preferences.setTasks("TasksTodoMarkers", |
59 Preferences.setTasks( |
60 self.tasksMarkerTodoEdit.text()) |
60 "TasksTodoMarkers", self.tasksMarkerTodoEdit.text()) |
61 Preferences.setTasks("TasksNoteMarkers", |
61 Preferences.setTasks( |
62 self.tasksMarkerNoteEdit.text()) |
62 "TasksNoteMarkers", self.tasksMarkerNoteEdit.text()) |
63 Preferences.setTasks("ClearOnFileClose", self.clearCheckBox.isChecked()) |
63 Preferences.setTasks( |
|
64 "ClearOnFileClose", self.clearCheckBox.isChecked()) |
64 |
65 |
65 self.saveColours(Preferences.setTasks) |
66 self.saveColours(Preferences.setTasks) |
66 |
67 |
67 |
68 |
68 def create(dlg): |
69 def create(dlg): |
69 """ |
70 """ |
70 Module function to create the configuration page. |
71 Module function to create the configuration page. |
71 |
72 |
72 @param dlg reference to the configuration dialog |
73 @param dlg reference to the configuration dialog |
|
74 @return reference to the instantiated page (ConfigurationPageBase) |
73 """ |
75 """ |
74 page = TasksPage() |
76 page = TasksPage() |
75 return page |
77 return page |