209 if colDlg.exec() == QDialog.DialogCode.Accepted: |
209 if colDlg.exec() == QDialog.DialogCode.Accepted: |
210 self.__iconBarColor = colDlg.selectedColor() |
210 self.__iconBarColor = colDlg.selectedColor() |
211 self.__setIconBarSamples() |
211 self.__setIconBarSamples() |
212 |
212 |
213 |
213 |
214 def create(dlg, withSidebars=False): # noqa: U100 |
214 def create(_dlg, withSidebars=False): |
215 """ |
215 """ |
216 Module function to create the configuration page. |
216 Module function to create the configuration page. |
217 |
217 |
218 @param dlg reference to the configuration dialog |
218 @param _dlg reference to the configuration dialog (unused) |
219 @type ConfigurationDialog |
219 @type ConfigurationDialog |
220 @param withSidebars flag indicating to show the sidebars configuration group |
220 @param withSidebars flag indicating to show the sidebars configuration group |
221 (defaults to False) |
221 (defaults to False) |
222 @type bool (optional) |
222 @type bool (optional) |
223 @return reference to the instantiated page |
223 @return reference to the instantiated page |