How to VirtualKeyboard layout for an html input in QWebEngine?
Jon roberts last edited by
I'm trying to show a specific virtualkeyboard layout based on the input field on an html page. I've got a date field that I have to set as <input type="text"> but I'd like to show a number keyboard layout instead.
Is there a way to intercept the QEvent::RequestSoftwareInputPanel for QWebEngineView or QWebPage? Then maybe get the input element and show a specific layout.
Or do I need to somehow the filter the layouts in the keyboard layout QML?
i think you get the number layout with
<input type="number" />element declaration