[PyKDE] SignalMapper

Phil Thompson phil at river-bank.demon.co.uk
Mon Dec 10 18:14:43 GMT 2001


Andreas Gerber wrote:
> 
> Hi,
> I'm new to qt and pyqt.
> The documentation of qt told me that I have to use SignalMapper to identify
> the sender of a signal in a slot routine. But there iseems to be no  object
> SignalMapper in pyqt (2.5).
> 
> I need the sender of the signal to identify the appropriate QLineEdit field
> in a dialog with many entry fields.
> 
> Furthermore I want to build the entry fields dynamically.

Use QObject.sender()

Phil




More information about the PyQt mailing list