def show_settings_dialog(self): """ show the settings dialog """ LOGGER.info("showing the settings dialog") dl = ApptSettingsDialog(self) if dl.exec_(): self.selection_changed(self.appt_listView.selectionModel().selection())
def show_settings_dialog(self): ''' show the settings dialog ''' LOGGER.info("showing the settings dialog") dl = ApptSettingsDialog(self) if dl.exec_(): self.selection_changed( self.appt_listView.selectionModel().selection())
def begin_make_appointment(self): """ this is when an external widget calls for us to start the process of starting an appointment """ self.set_mode(self.SCHEDULE_MODE) self.enable_scheduling_buttons() LOGGER.debug("checking appointment settings %s", ApptSettingsDialog.is_default_settings()) if not ApptSettingsDialog.is_default_settings(): dl = ApptSettingsResetDialog(self) if dl.exec_(): if dl.show_settings_dialog: self.show_settings_dialog() else: ApptSettingsDialog.reset()
def begin_make_appointment(self): ''' this is when an external widget calls for us to start the process of starting an appointment ''' self.set_mode(self.SCHEDULE_MODE) self.enable_scheduling_buttons() LOGGER.debug("checking appointment settings %s", ApptSettingsDialog.is_default_settings()) if not ApptSettingsDialog.is_default_settings(): dl = ApptSettingsResetDialog(self) if dl.exec_(): if dl.show_settings_dialog: self.show_settings_dialog() else: ApptSettingsDialog.reset()