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. Capslock off on virtual keyboard for specific input ?

Capslock off on virtual keyboard for specific input ?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 345 Views
  • 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
    cleve21
    wrote on last edited by
    #1

    Hi,

    I am searching for a way to show a virtual keyboard with lower case letters.
    Currently when the keyboard shows, it is set with the shift key active and capital letters.

    Is there a way to change this default behaviour for a specific input field ?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cleve21
      wrote on last edited by
      #2

      Found it on stackoverflow, sharing it here so it can help others.

      There is a property on Textfield called inputMethodHints that can change the default behaviour of the virtual keyboard.

      For example :

      inputMethodHints: Qt.ImhNoAutoUppercase | Qt.ImhPreferLowercase | Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
      
      1 Reply Last reply
      2

      • Login

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