On Sat, 26 Nov 2011 10:37:12 -0600, Jack Cosgrove
wrote:
> Hi,
>
> I'm trying to connect a C++ signal to a Python slot. What is the best
> way to do this?
Two ways...
1. Make the receiver visible to C++ and use QObject::connect(), ie.
decorate the slot with pyqtSlot().
2. Make the transmitter
Hi,
I'm trying to connect a C++ signal to a Python slot. What is the best
way to do this?
My current approach is to use sipQtAPI::qt_connect, and to do this I
need to apparently convert the C++ object to a PyObject using SIP. I do
that using sipAPIDef::api_get_pyobject. However whenever I call th