mantidimaging.gui.windows.load_dialog.field module

class mantidimaging.gui.windows.load_dialog.field.Field(parent, tree: QTreeWidget, widget: QTreeWidgetItem, use: QCheckBox)[source]

Bases: object

directory() str[source]
Returns:

The directory of the path as a Python string

file() str[source]
Returns:

The file that the use has selected

property indices: Indices
property path
path_text() str[source]
Returns:

The directory of the path as a Python string

set_images(image_files: List[str])[source]
set_step(value: int)[source]
update_indices(number_of_images)[source]
Parameters:

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

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

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