SerialAnalyzer.SettingsDialog#

SettingsDialog.py

Copyright (c) 2016-2024, SAXS Team, KEK-PF

class RestoreSettingDialog(parent, title)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

apply()#

process the data

This method is called automatically to process the data, after the dialog is destroyed. By default, it does nothing.

body(body_frame)#

create dialog body.

return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.

on_entry_in_folder()#
restore_setting(pickle_file)#
validate()#

validate the data

This method is called automatically to validate the data before the dialog is destroyed. By default, it always validates OK.

class SettingsDialog(parent, title)#

Bases: Dialog

Initialize a dialog.

Parameters:
  • window (parent -- a parent)

  • title (title -- the dialog)

absorbance_update_tracer(*args)#
apply()#

process the data

This method is called automatically to process the data, after the dialog is destroyed. By default, it does nothing.

body(body_frame)#

create dialog body.

return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.

buttonbox()#

override standard buttonbox. add “Default” button

num_points_abs_tracer(*args)#
num_points_int_tracer(*args)#
refresh_atsas_exe_path_listing(atsas_exe_paths)#
reset_to_defaults()#
select_autorg_path(i)#
show_absorbance_figure()#
spinbox_tracer(var)#
update_atsas_exe_paths()#