Virtual keyboard (vkb) problem (how to disable or close)
Hi,
is it a way to disable virtual keyboard?
Why do I need that? I'm using QWebView to show some web contents. Everything works as expected (on n97) when I have access to built in "real" keyboard. When I "close" my device, resolution changes and after the first mouse event vkb appears on the screen, which is smt that I really don't need here:(.
I'm using qt Tower release. On the emulator (n97 v1.0) it looks just fine.
Regards
Pawel
Re: Virtual keyboard (vkb) problem (how to disable or close)
I am giving you link in which, the program is given for developing virtual keyboard. Also code is also given , change according to your need and use it..
[URL="http://wiki.forum.nokia.com/index.php/A_Canvas_Qwerty_Keyboard_For_Touch_Devices"]Virtual keyboard[/URL]
ok ,,,,,....
Re: Virtual keyboard (vkb) problem (how to disable or close)
[QUOTE=rahulvala;641174]I am giving you link in which, the program is given for developing virtual keyboard. Also code is also given , change according to your need and use it..
[URL="http://wiki.forum.nokia.com/index.php/A_Canvas_Qwerty_Keyboard_For_Touch_Devices"]Virtual keyboard[/URL]
ok ,,,,,....[/QUOTE]
Have you checked that link before pasting here? That article is related to J2ME and you can not use java code in Qt application.
Re: Virtual keyboard (vkb) problem (how to disable or close)
This is for user savaj.......?????
[URL="http://wiki.forum.nokia.com/index.php/Porting_Android_(Java)_applications_to_Qt_for_S60"]porting java application on Qt for S60..
[/URL]
Go to the above link and try out....
Re: Virtual keyboard (vkb) problem (how to disable or close)
Your previous link show code of J2ME and the link in last post is Porting [B]Android (Java)[/B] applications to Qt for S60. Android (Java) is bit different from J2ME. And i dont think it is useful to poster in anyway.
@paweld:
Honestly i have never tried it, but i hope it can be done by implementing MCoeFepAwareTextEditor interface of symbian, which is bit hard.
Re: Virtual keyboard (vkb) problem (how to disable or close)
Thanks for all advices!
I would rather avoid playing with MCoeFepAwareTextEditor, when there is a way in qt to do the same. If not i will have to try it, just like savaj said.
Anyway some time ago I found smt interesting, that maybe could be a soulution for me and for other people with the same problem. Please take a look at [url]http://labs.trolltech.com/blogs/2009/08/31/new-api-for-input-panel-virtual-keyboards/[/url] , [url]http://doc.trolltech.com/4.6-snapshot/tools-inputpanel.html[/url] and [url]http://doc.trolltech.com/4.5/qinputcontext.html[/url] . I think subclassing base QInputContext and overriding filterEvent method just to do nothing in case of QEvent::RequestSoftwareInputPanel would be good solution.
Anyway I'm not able to do this because of linker problem: Undefined symbol: [B]'app::InputPanelContext::InputPanelContext(class QObject *) (??0InputPanelContext@app@@QAE@PAVQObject@@@Z)'[/B]. InputPanelContext is my subclass name.
For me it looks like I'm still missing smt in my pro file:
[CODE]
QT += core \
network \
webkit \
gui
[/CODE]
QInputCotext comes from QtGui module, so I'm not sure what else could be missing here.
Any ideas?
Regards
Pawel
Re: Virtual keyboard (vkb) problem (how to disable or close)
Just in case someone has the same problem in 4.5.2 - my problem was fixed in 4.6, no need to use additional stuff like InputPanelContext, FEP or MCoeFepAwareTextEditor. In 4.6 it just works as expected:).
Regards
Pawel