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. Multi-tap Keyboard
Qt 6.11 is out! See what's new in the release blog

Multi-tap Keyboard

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 2.0k 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.
  • K Offline
    K Offline
    kumararajas
    wrote on last edited by
    #1

    Hello experts!

    I need your help here.

    I have my device, which has "numpad". I want to have numpad based keyboard input.

    Keyboard should be a "multi-tap" on numpad (Something like old "cellphone").
    If i press "1" three times, I shall get the character "c".

    Am looking for Qt way of doing it.

    While exploring, I did come across "Qt::ImhNoPredictiveText". Will that satisfy my requirement? Can you explain me with example?

    I did find few 3rd party libraries to the job. But, I want to use it in Qt way.

    Can you please help me?

    Thanks a lot,
    Kumar

    --Kumar

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kumararajas
      wrote on last edited by
      #2

      Hello!

      Does anyone has answer for my question?

      --Kumar

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        if you want to do it all by yourself in Qt just intercept the key events for your widget. And use a QTimer which decides to update the current/last character or insert a new one.

        The logic to implement this shouldn't be very complicated, but it's quite some writing effort i think ;)

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kumararajas
          wrote on last edited by
          #4

          Hi Raven,

          I can implement the logic by myself.

          It may introduce some bugs during the implementation from scratch.

          Again, it will include "testing" efforts.

          I did not want to re-invent the wheel. :)

          I just wanted to know if Qt provides the facility for taking the input as like "low end mobile phone keyboard"(multitap).

          --Kumar

          1 Reply Last reply
          0
          • raven-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by
            #5

            [quote author="kumararajas" date="1381905611"]
            I just wanted to know if Qt provides the facility for taking the input as like "low end mobile phone keyboard"(multitap).
            [/quote]
            not i am aware of

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kumararajas
              wrote on last edited by
              #6

              Thanks Raven!
              Am in search of that. If you come across that, may be in future, please let me know about it.

              And,
              Later when I implement the logic for this, I would like to contribute this to Qt Embedded, because as like me, there may be many who will be in need for this.

              Thanks,
              Kumar

              --Kumar

              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