Hi All,

I have a QLineEdit widget and I want to set the keyboard input mode to only numbers, using a Windows Std device. Is there a way to do this with some Qt method, or do I have to use the following Windows function:
Qt Code:
  1. SHSetImeMode(effectiveWinId(), SHIME_MODE_NUMBERS);
To copy to clipboard, switch view to plain text mode 

Thanks!