TaurusExceptHookMessageBox
digraph inheritancecd0a9a9daa {
bgcolor=transparent;
rankdir=UD;
ratio=compress;
size="8.0, 12.0";
"BaseExceptHook" [URL="taurus.core.util.excepthook-BaseExceptHook.html#taurus.core.util.excepthook.BaseExceptHook",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="A callable class that acts as an excepthook that handles an exception."];
"TaurusExceptHookMessageBox" [URL="#taurus.qt.qtgui.dialog.TaurusExceptHookMessageBox",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="A callable class that acts as an excepthook that displays an unhandled"];
"BaseExceptHook" -> "TaurusExceptHookMessageBox" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
- class TaurusExceptHookMessageBox(hook_to=None, title=None, msg=None)[source]
A callable class that acts as an excepthook that displays an unhandled exception in a
TaurusMessageBox
.- Parameters:
hook_to (callable) – callable excepthook that will be called at the end of this hook handling [default: None]
title – message box title [default: None meaning use exception value]
msg – message box text [default: None meaning use exception]
Import from
taurus.qt.qtgui.dialog
as:from taurus.qt.qtgui.dialog import TaurusExceptHookMessageBox
- MSG_BOX = None