Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Display numeric keyboard in Windows Surface
Forum Updated to NodeBB v4.3 + New Features

Display numeric keyboard in Windows Surface

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 172 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.
  • C Offline
    C Offline
    Celine_123
    wrote on last edited by
    #1

    Hello,
    I work with a Windows Surface Pro 4 tablet and I want to display the numeric keyboard automatically when the user clicks on a TextField.

    I tried :

    TextField {
        inputMethodHints: Qt.ImhFormattedNumbersOnly
    }
    

    But It does nothing. I also tried other inputMethodHints values but that doesn't work either.

    Any ideas ? Will I have to code my own keyboard?

    Thanks.

    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