mantidimaging.gui.mvp_base.view module#

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

Bases: QDialog

show_error_dialog(msg='') None[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() None[source]#

Runs when the window is closed.

closeEvent(self, a0: Optional[QCloseEvent])[source]#
showEvent(self, a0: Optional[QShowEvent])[source]#
show_error_dialog(msg: str) None[source]#
show_info_dialog(msg: str) None[source]#
show_warning_dialog(msg: str) None[source]#