[PyQt] Slot error handling
OldGrantonian at gmail.com
Sun Oct 18 09:59:04 BST 2009
I have a similar type of problem as Zac, so it would be nice to see a
Zac Burns wrote:
> Is there a way to add an error handler for all slots in an application?
> Eg: I have a window with lots of buttons and menus etc, connected via
> Signals/Slots. When slot code fails it prints a traceback to the
> console. I would rather it pop a dialog because the console is hidden.
> So, I would like to somewhere in my app say if any slot fails call
> this function with the exception, slot, signal, and whatever other
> info can be provided.
View this message in context: http://www.nabble.com/Slot-error-handling-tp25792280p25944963.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt