Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Communication between Virtual Keyboard and the rest of my QML
Forum Updated to NodeBB v4.3 + New Features

Communication between Virtual Keyboard and the rest of my QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 185 Views
  • 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.
  • E Offline
    E Offline
    EMJohn
    wrote on last edited by
    #1

    Howdy folks!

    Our software utilizes the QVirtualKeyboard in our application. In addition to providing QWERTY and numeric keyboards, we use it to provide custom keyboards for our built in scripting. This has served us well for years.

    Our top-level QML component contains the InputPanel component for our KeyboardLayoutLoader.

    I've run into a feature request to have our keyboard default to a particular layout when a user begins entry in one of our scripting fields (which is multiple children down from the main component). For the life of me, I cannot find a way to communicate with the KeyboardLayoutLoader to say "before opening, switch to this layout".

    Since Qt seems to do some magic to dynamically load the keyboard into the inputpanel, I cannot find a way to communicate properties to the KeyboardLayoutLoader to let it know which keyboard to load initially.

    I'd love to simply say "inputPanel.keyboardToUse = <keyboard>" but it doesn't seem like Qt provides any way to do this.

    Am I crazy? Feels like there should be a simple mechanism here? What are my options? Any advice is appreciated!

    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