[PyQt] newbie question about events without a signal/slot(?)

Andreas Pakulat apaku at gmx.de
Mon Mar 17 14:32:11 GMT 2008


On 17.03.08 14:28:44, listen at gmx.eu wrote:
> now i want to react to the 'QLineEdit.focusInEvent', but i don't know how this works. just defining a 'def focusInEvent' didn't work and there's is no signal for this event?!

You need to write a QLineEdit subclass which than defines that function
itself. Then use that class instead of QLineEdit in your dialog.

Andreas

-- 
You will feel hungry again in another hour.


More information about the PyQt mailing list