[PyKDE] sender() in PyQt4 returns wrong object

Andreas Pakulat apaku at gmx.de
Tue Jan 31 23:41:54 GMT 2006


Hi,

I tried to use sender() in a slot connected to a signal of a QWidget
derived class, however sender() always returns a QObject instance
instead of the original QWidget-derived one.

Is this by purpose and thus sender() is practically not usable in PyQt4
or am I just missing something?

Andreas

-- 
Day of inquiry.  You will be subpoenaed.




More information about the PyQt mailing list