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. Linking TextFields on Android with the 'Next' keyboard key
Qt 6.11 is out! See what's new in the release blog

Linking TextFields on Android with the 'Next' keyboard key

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androidqml
5 Posts 3 Posters 1.6k Views 2 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.
  • Michael R. TaylorM Offline
    Michael R. TaylorM Offline
    Michael R. Taylor
    wrote on last edited by Michael R. Taylor
    #1

    Hello,

    I am trialing Qt for Android development (completely new to Qt, normally I use Java/C#/Raw C++). I have a question. How do I "link" text fields in QML so that the Android keyboard will have the "Next" button such that focus will go to another text field when it's pressed? Kind of like a tab-order for Android.

    Thank you,

    Michael

    the_T 1 Reply Last reply
    1
    • Michael R. TaylorM Michael R. Taylor

      Hello,

      I am trialing Qt for Android development (completely new to Qt, normally I use Java/C#/Raw C++). I have a question. How do I "link" text fields in QML so that the Android keyboard will have the "Next" button such that focus will go to another text field when it's pressed? Kind of like a tab-order for Android.

      Thank you,

      Michael

      the_T Offline
      the_T Offline
      the_
      wrote on last edited by the_
      #2

      @Michael-R.-Taylor

      You could try to catch the key sequence and process to the next input field (eventFilter).
      //edit
      Maybe this link could help too
      http://stackoverflow.com/questions/20090164/how-to-make-qml-tab-order-navigantion

      -- No support in PM --

      Michael R. TaylorM 1 Reply Last reply
      0
      • the_T the_

        @Michael-R.-Taylor

        You could try to catch the key sequence and process to the next input field (eventFilter).
        //edit
        Maybe this link could help too
        http://stackoverflow.com/questions/20090164/how-to-make-qml-tab-order-navigantion

        Michael R. TaylorM Offline
        Michael R. TaylorM Offline
        Michael R. Taylor
        wrote on last edited by
        #3

        @the_

        Thanks for the tip, but it doesn't seem to work on Android. The keyboard shows "Done" where I would like it to say "Next" for each text field.

        Surly there's a way to do this for when there is a series of text fields that need to be filled in one after another.

        1 Reply Last reply
        0
        • Michael R. TaylorM Offline
          Michael R. TaylorM Offline
          Michael R. Taylor
          wrote on last edited by
          #4

          My problem is very similar to this unsolved issue that I found: https://forum.qt.io/topic/60258/android-soft-keyboard-action-button/2

          1 Reply Last reply
          0
          • S Offline
            S Offline
            seyed
            wrote on last edited by
            #5

            @Michael-R-Taylor said in Linking TextFields on Android with the 'Next' keyboard key:

            https://forum.qt.io/topic/60258/android-soft-keyboard-action-button/2

            I posted a new reply and I explained how I did it.

            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