-
Scanning Barcode
Hello Friends,
when I use Barcode scanner on lineedit, grabbing the content is easy.
But I have no Idea, what about when the focus is perhaps not on a specific widget so that I can´t see the scanresult.
Which keyevent is my favorit where I can extract the scanned Code....
Thanx in Advance
-
Re: Scanning Barcode
keyPressEvent ?
It depends how the barcode tool works though...
-
Re: Scanning Barcode
After reading barcode it sends a return pressed.
But how to read before the cr signal is emitted????
-
Re: Scanning Barcode
Hi,
Can't you configure the barcode reader to send a special key before the scan result ?
I typically let it send a function key, and define an action triggered by this function key. You can also install an event filter to a form which intercepts the function key and starts a 'scan' dialog to process the result of the barcode reader.
Best regards,
Marc