mantidimaging.gui.dialogs.async_task.view module

class mantidimaging.gui.dialogs.async_task.view.AsyncTaskDialogView(parent: QMainWindow)[source]

Bases: BaseDialogView

handle_completion(successful: bool)[source]

Updates the UI after the task has been completed.

Parameters:

successful – If the task was successful

property presenter: AsyncTaskDialogPresenter
set_progress(progress: float, message: str)[source]
show_delayed(timeout)[source]
show_from_timer()[source]
mantidimaging.gui.dialogs.async_task.view.start_async_task_view(parent: QMainWindow, task: Callable, on_complete: Callable, kwargs: Dict | None = None, tracker: Set[Any] | None = None, busy: bool | None = False)[source]