[PyKDE] sender() in PyQt4 returns wrong object
Phil Thompson
phil at riverbankcomputing.co.uk
Tue Feb 21 15:31:29 GMT 2006
On Tuesday 31 January 2006 11:41 pm, Andreas Pakulat wrote:
> 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?
If this is still a problem can you send me a test case?
Thanks,
Phil
More information about the PyQt
mailing list