Den 16-01-2015 kl. 12:48 skrev Harri Porten: > On Fri, 16 Jan 2015, Bo Thorsen wrote: > >> If not, then we'll show the normal ascii chars and do a conversion with >> the input. As I understand it, this is what the mobile world does? >> Setting the locale on a line edit to japanese and sending key events >> doesn't seem to give me any Japanese chars. > I am almost as clueless as you but I'll provide one hint that got me once > going: QInputMethod :)
The implementation I'm working on has a QLineEdit that shows the current input text. So I simply send synthetic keyboard events to the line edit. This one already has QInputMethod handling, so that part is already covered. Bo. -- Viking Software Qt and C++ developers for hire http://www.vikingsoft.eu _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest