Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Return on virtual keyboard event
Qt 6.11 is out! See what's new in the release blog

Return on virtual keyboard event

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 4 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deimos
    wrote on last edited by
    #1

    Hi,

    I am developing a small application on N900. I have a problem with virtual keyboard:
    I would like to do something when enter key is pressed inside a QLineEdit and I did so
    @connect(ui->LE_search, SIGNAL(returnPressed()), this, SLOT(onPB_search_clicked()) );@

    this works when I press return on the keyboard but not when I press return on the virtual keyboard.
    How to solve this ?

    thanks in advance
    Marco

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Meraj Ahmad Ansari
      wrote on last edited by
      #2

      Hi marcoB,

      I am facing the same issue.
      Have you found any solution?

      Regards,
      Meraj

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deimos
        wrote on last edited by
        #3

        Nope sorry,

        on Symbian there is the green V that emits that signal, but on N900 I think that no signal is emitted. I added a button on the GUI for that purpose. Maybe there is a better solution with DBUS or something.

        Regards
        Marco

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on last edited by
          #4

          You could install an event filter on the QLineEdit and trap the keypress event.

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            leon.anavi
            wrote on last edited by
            #5

            Hi All,

            Have you tried to use the tips "at this article about VKB events in Symbian^3":http://wiki.forum.nokia.com/index.php/Detecting_virtual_keyboard_open_and_close_events_in_Symbian^3 ?

            Best regards,
            Leon

            http://anavi.org/

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved