mantidimaging.gui.dialogs.async_task.view module#

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

Bases: BaseDialogView

handle_completion(successful: bool) None[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]#
set_progress_plot(x: list, y: list)[source]#
set_progress_residual_plot(residual_image: ndarray) None[source]#
show_cancel_button(cancelable: bool) None[source]#
show_delayed(timeout) None[source]#
show_from_timer() None[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, cancelable: bool = False) None[source]#