[PyQt] key capture
Phil Thompson
phil at riverbankcomputing.com
Tue Jan 25 15:19:17 GMT 2011
On Tue, 25 Jan 2011 07:12:30 -0800, John Fabiani <johnf at jfcomputer.com>
wrote:
> Hi,
> newbie question - is it possible to capture the 'F4' using SIGNAL for a
> QLineEdit. If so how? Also where can I find a list of the available
> signals
> (events)?
Signals are not events.
If you can use a QLineEdit sub-class then reimplement keyPressEvent(),
otherwise install an event filter.
Phil
More information about the PyQt
mailing list