Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User wangruiwz's Avatar
    Join Date
    Jan 2011
    Posts
    56
    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
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,298
    Check this article about keyboard focus in QML

    regards,

  3. #3
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    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 wangruiwz's Avatar
    Join Date
    Jan 2011
    Posts
    56
    thanks,but I don't use QML,I use QT

  5. #5
    Nokia Developer Moderator achipa's Avatar
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327
    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
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    @wangruiwz: I updated the previous wiki page with a C++ solution which works for pure C++ apps too.

  7. #7
    Nokia Developer Expert vuorisalmi's Avatar
    Join Date
    Sep 2011
    Posts
    8
    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 Web Runtime
    Replies: 0
    Last Post: 2009-12-13, 10:05
  2. virtual keyboard for n97
    By eduarddav in forum Mobile Design and User Experience
    Replies: 1
    Last Post: 2009-09-15, 18:04
  3. VKB(virtual keyboard) Help
    By qldpfh in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved