[PyQt] Signals

Paul Du Bois dubois at doublefine.com
Thu Feb 10 04:59:47 GMT 2011


You've probably forgotten to call your base class's __init__.

p

> -----Original Message-----
> From: pyqt-bounces at riverbankcomputing.com
[mailto:pyqt-bounces at riverbankcomputing.com] On
> Behalf Of Entity Reborn
> Sent: Wednesday, February 09, 2011 8:42 PM
> To: pyqt at riverbankcomputing.com
> Subject: [PyQt] Signals
> 
> In my project I have a class, which inherits from QObject. One method
> calls self.emit(SIGNAL("mysignal")), but at runtime, PyQt throws
> underlying c++ object deleted. Am I doing this wrong? What are the
> requisites for a shortcut pythonic signal? I have seen countless
> examples and this was pretty much all that they mentioned.
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt


More information about the PyQt mailing list