[PyQt] Catch a F key press in a QLineEdit
michaelkenth at gmail.com
Sun Nov 18 23:23:28 GMT 2018
> but didn't find a way of get it from a widget other than the main widget.
> Thank you in advance.
You can implement this on a QLineEdit as well:
(alternatively if you aren't able to use your own QLineEdit subclass, you
can probably get it done with an event filter where you check if the source
is a QLineEdit, but I wouldn't start there)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt