def settings_widget(self, window): return EnterButton(_('Printer Calibration'), partial(self.calibration_dialog, window))
def settings_widget(self, window): return EnterButton(_('Settings'), partial(self.settings_dialog, window))
def settings_widget(self, window): # Return a button that when pressed presents a settings dialog. return EnterButton(_('Settings'), partial(self.settings_dialog, window))