308 language, tabWidth, indentWidth = dlg.getData() |
308 language, tabWidth, indentWidth = dlg.getData() |
309 itm.setText(1, "{0:2d}".format(tabWidth)) |
309 itm.setText(1, "{0:2d}".format(tabWidth)) |
310 itm.setText(2, "{0:2d}".format(indentWidth)) |
310 itm.setText(2, "{0:2d}".format(indentWidth)) |
311 |
311 |
312 |
312 |
313 def create(dlg): # noqa: U100 |
313 def create(_dlg): |
314 """ |
314 """ |
315 Module function to create the configuration page. |
315 Module function to create the configuration page. |
316 |
316 |
317 @param dlg reference to the configuration dialog |
317 @param _dlg reference to the configuration dialog (unused) |
318 @type ConfigurationDialog |
318 @type ConfigurationDialog |
319 @return reference to the instantiated page |
319 @return reference to the instantiated page |
320 @rtype ConfigurationPageBase |
320 @rtype ConfigurationPageBase |
321 """ |
321 """ |
322 page = EditorGeneralPage() |
322 page = EditorGeneralPage() |