Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Disable shift key in Virtual Keyboard
QtWS25 Last Chance

Disable shift key in Virtual Keyboard

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 197 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.
  • B Offline
    B Offline
    BenR
    wrote on last edited by
    #1

    I've got an application that was built in QtWidgets that had its own custom built keyboard. Recently I was able to replace it with the Qt Virtual Keyboard (using QQuickWidget) and have it give input to various QLineEdit widgets. By default the keyboard will auto-press the shift key for the first character in any line edit. While this is desired for most cases, there are some QLineEdits which are password fields (echo mode was set Password). For this, I'd like to make sure that the shift key isn't auto-pressed for these fields. How can I achieve this?

    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