DENSS.DenssGui#
DenssGui.py
Copyright (c) 2019-2024, SAXS Team, KEK-PF
- class DenssGuiDialog(parent, q=None, a=None, e=None, infile_name=None, debug=False)#
Bases:
Dialog
Initialize a dialog.
- Parameters:
window (parent -- a parent)
title (title -- the dialog)
- add_dnd_bind()#
- apply_fit_data(q, a, e, infile_name, use_memory_data=False, debug=False)#
- ask_cancel()#
- 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()#
add standard button box.
override if you do not want the standard buttons
- create_figure(cframe)#
- denss_fit_data(debug=False)#
- denss_thread(debug=True)#
- draw_curve()#
- illustrate_dmax(debug=False)#
- is_ready()#
- ok(event=None)#
- on_fig_dnd(event)#
- on_file_entry()#
- on_folder_entry()#
- on_input(file)#
- prepare_from_args(q, a, e, infile_name)#
- run_denss_thread()#
- show()#
- show_denss_manager()#
- show_ed_viewer()#
- submit_to_denss_manager()#
- update_button_states()#
- update_guide_message(message=None)#
- update_progress_text()#
- class ProgressLoghandler(log_text, log_file)#
Bases:
Handler
Initializes the instance - basically setting the formatter to None and the filter list to empty.
- emit(record)#
Do whatever it takes to actually log the specified logging record.
This version is intended to be implemented by subclasses and so raises a NotImplementedError.