mantidimaging.gui.windows.image_load_dialog.field module#

class mantidimaging.gui.windows.image_load_dialog.field.Field(tree: QTreeWidget, widget: QTreeWidgetItem, use: QCheckBox, select_button: QPushButton, file_info: FILE_TYPES)[source]#

Bases: object

property indices: Indices#
property path: Path | None#
property path_widget: QTreeWidgetItem#
set_images(image_files: list[Path]) None[source]#
set_preview(preview_mode: bool) None[source]#
update_indices(number_of_images: int) None[source]#
Parameters:

number_of_images – Number of images that will be loaded in from the current selection

update_shape(shape: int | tuple[int, int]) None[source]#
property use: QCheckBox#
property widget: QTreeWidgetItem#

Returns the top-level widget of the section. All other fields are nested under it :return: