149 def on_projectTypeCombo_activated(self, index): |
149 def on_projectTypeCombo_activated(self, index): |
150 """ |
150 """ |
151 Private slot to set the browser checkboxes according to the selected |
151 Private slot to set the browser checkboxes according to the selected |
152 project type. |
152 project type. |
153 |
153 |
154 @param index index of the selected project type (integer) |
154 @param index index of the selected project type |
|
155 @type int |
155 """ |
156 """ |
156 if self.__currentProjectTypeIndex == index: |
157 if self.__currentProjectTypeIndex == index: |
157 return |
158 return |
158 |
159 |
159 self.__storeProjectBrowsersList( |
160 self.__storeProjectBrowsersList( |
166 def on_followEditorCheckBox_toggled(self, checked): |
167 def on_followEditorCheckBox_toggled(self, checked): |
167 """ |
168 """ |
168 Private slot to handle the change of the 'Follow Editor' checkbox. |
169 Private slot to handle the change of the 'Follow Editor' checkbox. |
169 |
170 |
170 @param checked flag indicating the state of the checkbox |
171 @param checked flag indicating the state of the checkbox |
|
172 @type bool |
171 """ |
173 """ |
172 if not checked: |
174 if not checked: |
173 self.followCursorLineCheckBox.setChecked(False) |
175 self.followCursorLineCheckBox.setChecked(False) |
174 |
176 |
175 @pyqtSlot(bool) |
177 @pyqtSlot(bool) |
176 def on_followCursorLineCheckBox_toggled(self, checked): |
178 def on_followCursorLineCheckBox_toggled(self, checked): |
177 """ |
179 """ |
178 Private slot to handle the change of the 'Follow Cursor Line' checkbox. |
180 Private slot to handle the change of the 'Follow Cursor Line' checkbox. |
179 |
181 |
180 @param checked flag indicating the state of the checkbox |
182 @param checked flag indicating the state of the checkbox |
|
183 @type bool |
181 """ |
184 """ |
182 if checked: |
185 if checked: |
183 self.followEditorCheckBox.setChecked(True) |
186 self.followEditorCheckBox.setChecked(True) |
184 |
187 |
185 |
188 |
186 def create(dlg): # noqa: U100 |
189 def create(dlg): # noqa: U100 |
187 """ |
190 """ |
188 Module function to create the configuration page. |
191 Module function to create the configuration page. |
189 |
192 |
190 @param dlg reference to the configuration dialog |
193 @param dlg reference to the configuration dialog |
191 @return reference to the instantiated page (ConfigurationPageBase) |
194 @type ConfigurationDialog |
|
195 @return reference to the instantiated page |
|
196 @rtype ConfigurationPageBase |
192 """ |
197 """ |
193 page = ProjectBrowserPage() |
198 page = ProjectBrowserPage() |
194 return page |
199 return page |