my goal is to launch a function in python by simply clicking on the enter key on my keyboard instead of the push button (using Qtdesigner). To put you in context, I have a barcode scanner, this one will read the code and write it in a lineEdit, the scanner is programmed to press enter directly, I would like to take this opportunity to perform my search function instead of clicking the button. I hope I was clear, you can contact me for more information. Thank you in advance dear community.
Asked
Active
Viewed 529 times
0
-
does [this](https://stackoverflow.com/a/15567835/9267296) answer your question? – Edo Akse Apr 18 '22 at 17:23
-
Yes it does thank you. – HAMZA AZOUGA Apr 21 '22 at 08:55