mantidimaging.gui.windows.load_dialog.presenter module

class mantidimaging.gui.windows.load_dialog.presenter.LoadPresenter(view: MWLoadDialog)[source]

Bases: object

do_update_flat_or_dark(field: Field, name: str, suffix: str)[source]
do_update_sample()[source]

Updates the memory usage and the indices in the dialog.

do_update_sample_log(field: Field, name: str, is_image_file: bool)[source]
do_update_single_file(field: Field, name: str, is_image_file: bool)[source]
ensure_sample_log_consistency(field: Field, file_name, image_filenames)[source]
get_parameters() LoadingParameters[source]
notify(n: Notification, **baggage)[source]
set_sample_log(sample_log: Field, sample_dirname, log_name, image_filenames)[source]
view: MWLoadDialog
class mantidimaging.gui.windows.load_dialog.presenter.Notification(value)[source]

Bases: Enum

An enumeration.

UPDATE_ALL_FIELDS = 1
UPDATE_FLAT_OR_DARK = 2
UPDATE_SAMPLE_LOG = 4
UPDATE_SINGLE_FILE = 3