[PyQt] how to implement QApplication.notify()
di_zou at yahoo.com
Mon Feb 8 14:24:43 GMT 2010
I am getting this error:
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::bad_alloc'
So I put:
def notify(self, receiver, event):
I want to see what function is throwing the exception and what the exception
is. What do I have to put in the notify function to do this?
View this message in context: http://old.nabble.com/how-to-implement-QApplication.notify%28%29-tp27500575p27500575.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt