×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    56

    How to close the virtual keyboard on N9?

    When I click the QLineEdit,It pop up a virtual keyboard for input.
    but it can not close even if I click the entry key

    on N8,if I click the tick key,the keyboard will close.

    how to close it on N9?

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

    Re: How to close the virtual keyboard on N9?

    Check this article about keyboard focus in QML

    regards,

  3. #3
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: How to close the virtual keyboard on N9?

    Hi wangruiwz,
    Here is a wiki article which explains how to workaround this problem:
    http://www.developer.nokia.com/Commu...KB_in_QML_Apps

  4. #4
    Registered User
    Join Date
    Jan 2011
    Posts
    56

    Re: How to close the virtual keyboard on N9?

    thanks,but I don't use QML,I use QT

  5. #5
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: How to close the virtual keyboard on N9?

    I know I'm boring with repeating this through all the threads but - QWidgets based interfaces are not supported on the N9. If they work - that's the exception, not the rule.

  6. #6
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: How to close the virtual keyboard on N9?

    @wangruiwz: I updated the previous wiki page with a C++ solution which works for pure C++ apps too.

  7. #7
    Nokia Developer Expert
    Join Date
    Sep 2011
    Posts
    8

    Re: How to close the virtual keyboard on N9?

    Quote Originally Posted by gnuton View Post
    Hi wangruiwz,
    Here is a wiki article which explains how to workaround this problem:
    http://www.developer.nokia.com/Commu...KB_in_QML_Apps
    The same workaround is also described in the QtSDK Harmattan target release notes:
    http://www.developer.nokia.com/info/...ase_Notes.html

    But as already commented you should not use QLineEdit or other QWidget based UI elements, they are not really supported. Use Qt Quick (Components) or MeeGo Touch if you need to stick to C++. Neither of the official UI frameworks require any workarounds for the virtual keyboard.

Similar Threads

  1. virtual keyboard
    By mohamed shaheen in forum Symbian
    Replies: 0
    Last Post: 2009-12-13, 10:05
  2. VKB(virtual keyboard) Help
    By qldpfh in forum Symbian
    Replies: 1
    Last Post: 2009-01-05, 12:03

Posting Permissions

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