×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    8

    Arrow 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

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Lightbulb 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..

    Virtual keyboard

    ok ,,,,,....

  3. #3
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Virtual keyboard (vkb) problem (how to disable or close)

    Quote Originally Posted by rahulvala View Post
    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..

    Virtual keyboard

    ok ,,,,,....

    Have you checked that link before pasting here? That article is related to J2ME and you can not use java code in Qt application.

  4. #4
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Virtual keyboard (vkb) problem (how to disable or close)

    This is for user savaj.......?????

    porting java application on Qt for S60..

    Go to the above link and try out....

  5. #5
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    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 Android (Java) 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.

  6. #6
    Registered User
    Join Date
    Jul 2008
    Posts
    8

    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 http://labs.trolltech.com/blogs/2009...ual-keyboards/ , http://doc.trolltech.com/4.6-snapsho...nputpanel.html and http://doc.trolltech.com/4.5/qinputcontext.html . 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: 'app::InputPanelContext::InputPanelContext(class QObject *) (??0InputPanelContext@app@@QAE@PAVQObject@@@Z)'. 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
    QInputCotext comes from QtGui module, so I'm not sure what else could be missing here.

    Any ideas?

    Regards
    Pawel

  7. #7
    Registered User
    Join Date
    Jul 2008
    Posts
    8

    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

Similar Threads

  1. Virtual keyboard rewrites navi pane text
    By DmitryRd in forum Symbian User Interface
    Replies: 2
    Last Post: 2010-12-02, 10:08
  2. How to detect when VKB (Virtual Keyboard) closes?
    By DeathBaba in forum Symbian User Interface
    Replies: 2
    Last Post: 2010-09-25, 21:33
  3. Dailogs and his features
    By MobiSecLap in forum Symbian C++
    Replies: 18
    Last Post: 2009-02-10, 13:27
  4. Dialogs within Symbian 6.0 based SDK
    By georgica1979 in forum Symbian User Interface
    Replies: 14
    Last Post: 2003-04-07, 15:29
  5. Unresolved external symbols problem
    By georgica1979 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-04-06, 13:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •