Peaks.EditCanvas#
Peaks.EditCanvas.py
Copyright (c) 2021-2024, SAXS Team, KEK-PF
- class EditCanvas(parent, sd, ecurves, original_info, working_info=None)#
Bases:
Dialog
Initialize a dialog.
- Parameters:
window (parent -- a parent)
title (title -- the dialog)
- adjust_heights(debug=False)#
- apply(show_message=False)#
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, devel=True)#
create dialog body.
return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.
- button_release_user_callback(dcurves)#
- buttonbox()#
add standard button box.
override if you do not want the standard buttons
- cancel()#
- draw_components(devel=False)#
- get_peak_params_set()#
- get_xr_peaks()#
- reset()#
- show()#
- undo()#
- update_xr_peaks()#
- user_cancel(ask=True)#
- validate()#
validate the data
This method is called automatically to validate the data before the dialog is destroyed. By default, it always validates OK.