--- a/src/eric7/Plugins/WizardPlugins/FontDialogWizard/FontDialogOptionsDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Plugins/WizardPlugins/FontDialogWizard/FontDialogOptionsDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -16,10 +16,11 @@ """ Class implementing a dialog to select the applicable font dialog options. """ + def __init__(self, options, parent=None): """ Constructor - + @param options dictionary with flags for the various dialog options @type dict @param parent reference to the parent widget (defaults to None) @@ -27,17 +28,17 @@ """ super().__init__(parent) self.setupUi(self) - + self.noNativeDialogCheckBox.setChecked(options["noNativeDialog"]) self.scalableCheckBox.setChecked(options["scalableFonts"]) self.nonScalableCheckBox.setChecked(options["nonScalableFonts"]) self.monospacedCheckBox.setChecked(options["monospacedFonts"]) self.proportionalCheckBox.setChecked(options["proportionalFonts"]) - + def getOptions(self): """ Public method to get the selected font dialog options. - + @return dictionary with flags for the various dialog options @rtype dict """