mantidimaging.gui.mvp_base.view module

class mantidimaging.gui.mvp_base.view.BaseDialogView(parent, ui_file=None)[source]

Bases: QDialog

show_error_dialog(msg='')[source]

Shows an error message.

Parameters:

msg – Error message string

class mantidimaging.gui.mvp_base.view.BaseMainWindowView(parent, ui_file=None)[source]

Bases: QMainWindow

cleanup()[source]

Runs when the window is closed.

closeEvent(self, a0: Optional[QCloseEvent])[source]
show_error_dialog(msg='')[source]

Shows an error message.

Parameters:

msg – Error message string

show_info_dialog(msg='')[source]

Shows an information message.

Parameters:

msg – Information message string.