Disable shift key in Virtual Keyboard
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
QLineEditwidgets. 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?