Is it possible to open QtVirtualKeyboard by code?
-
Hello
When a user edits a QLineEdit a pop up shows up where the user sees what he types, my 2 QlineEdits are linked through pointers and that works correctly. But now if you want the virtual keyboard to show, you first need to click on the QlineEdit. So i'm wondering if its possible to make the keyboard appear instantly when the pop up opens?
Kind regards
Yina -
Hello
When a user edits a QLineEdit a pop up shows up where the user sees what he types, my 2 QlineEdits are linked through pointers and that works correctly. But now if you want the virtual keyboard to show, you first need to click on the QlineEdit. So i'm wondering if its possible to make the keyboard appear instantly when the pop up opens?
Kind regards
Yina@Yina
the input method (VirtualKeyboard) can be shown viaqGuiApp->inputMethod()->show();
But the keyboard might decide not to show when there currently is no object accepting input focus.
-