Quote Originally Posted by wysota View Post
I think the input method (keyboard layout) is the problem here, not the locale so the proper way would be to programatically switch the Windows keyboard layout to hebrew. In other words it's not the problem with data display (something locale is related to) but data input.
That's also the conclusion Lykurg reached. I didn't think of it this way but you're both right.

Quote Originally Posted by Lykurg View Post
שלום,

I am afraid but this is OS specific since you want to change the keyboard layout. But I am sure you can change it via the system API every time the line edit gets the focus. (Or, ask the user for the shortcuts he normal uses to change the kb layout and trigger it programmatic.)

Or (not the best way) install a event handler and check for keyboard inputs and transform e.g. a "D" to "ד".

Lykurg
שלום וברכה

I think that to trigger the key combination programmatically is the best choice. But I have no idea how to go about it. How would I trigger, for example, a shift and an alt keypress together as an input to the QLineEdit?

Thanks again