Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Disable shift key in Virtual Keyboard

    General and Desktop
    1
    1
    107
    Loading More Posts
    • 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
      BenR last edited by

      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 Reply Quote 2
      • First post
        Last post