src/eric7/Preferences/ConfigurationPages/EditorGeneralPage.py

branch
eric7
changeset 10428
a071d4065202
parent 10257
904c71a0e37f
child 10439
21c28b0f9e41
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
179 179
180 def on_tabforindentationCheckBox_toggled(self, checked): 180 def on_tabforindentationCheckBox_toggled(self, checked):
181 """ 181 """
182 Private slot used to set the tab conversion check box. 182 Private slot used to set the tab conversion check box.
183 183
184 @param checked flag received from the signal (boolean) 184 @param checked flag received from the signal
185 @type bool
185 """ 186 """
186 if checked and self.converttabsCheckBox.isChecked(): 187 if checked and self.converttabsCheckBox.isChecked():
187 self.converttabsCheckBox.setChecked(not checked) 188 self.converttabsCheckBox.setChecked(not checked)
188 self.converttabsCheckBox.setEnabled(not checked) 189 self.converttabsCheckBox.setEnabled(not checked)
189 190
312 def create(dlg): # noqa: U100 313 def create(dlg): # noqa: U100
313 """ 314 """
314 Module function to create the configuration page. 315 Module function to create the configuration page.
315 316
316 @param dlg reference to the configuration dialog 317 @param dlg reference to the configuration dialog
317 @return reference to the instantiated page (ConfigurationPageBase) 318 @type ConfigurationDialog
319 @return reference to the instantiated page
320 @rtype ConfigurationPageBase
318 """ 321 """
319 page = EditorGeneralPage() 322 page = EditorGeneralPage()
320 return page 323 return page

eric ide

mercurial