phil at riverbankcomputing.co.uk
Tue Oct 12 16:53:03 BST 2004
> Hi all,
> I would like to know when a Python signal (PYSIGNAL)
> emitted by a QObject-derived instance is connected to
> something, in order to perform an expensive initialization
> only if necessary.
> I thought I could use the connectNotify method of QObject,
> but it does not seem to work : whatever I tried, I did not get
> it called, whereas it is supposed to be called "when something
> has been connected to /signal/ in this object" (from Qt doc.)
> Is it implemented in PyQt ?
> If so, from which version ? (I am using 3.8)
It's not implemented. It could be, but in the case of a Python signal the
signal name wouldn't be meaningful.
More information about the PyQt