View Single Post
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#685
Originally Posted by DavyP View Post
It turns out that triggering the virtual keyboard is a bit harder than I thought.

I implemented a simple app with a textfield (subclassing QLineEdit), but even after posting QEvent::RequestSoftwareInputPanel events and faking mouse press/release events, I cannot get the virtual keyboard to automatically pop up. The user still has to tap the widget, so I cannot hide it by putting it somewhere off the screen.

WinCE and Android had proper APIs to handle the keyboard. With Maemo, it seems I have to reimplement my own keyboard.

Davy
There is a way AFAIK, look at void MozQWidget::showVKB() here
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following User Says Thank You to freemangordon For This Useful Post: