Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. How to VirtualKeyboard layout for an html input in QWebEngine?

How to VirtualKeyboard layout for an html input in QWebEngine?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 2 Posters 789 Views 1 Watching
  • 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.
  • J Offline
    J Offline
    Jon roberts
    wrote on last edited by
    #1

    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?

    raven-worxR 1 Reply Last reply
    0
    • J Jon roberts

      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?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Jon-roberts
      i think you get the number layout with <input type="number" /> element declaration

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved