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. VirtualKeyboard cycling through layouts

VirtualKeyboard cycling through layouts

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
virtualkeyboard
1 Posts 1 Posters 402 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.
  • R Offline
    R Offline
    Rab1
    wrote on last edited by
    #1

    I am using the virtualkeyboard with 3 layouts: main.qml, symbols.qml and digits.qml.
    I would like to cycle through these layouts in this order: main --> symbols --> digits --->main etc....

    The provided SymbolModeKey toggles between the symbol mode layout and the main layout only. So I added SymbolModeKey on the digits layout with a different key code, and when the key is pressed I set inputMethodHints to Qt.ImhNone.
    This seems to be working except that when in digits layout it comes back randomly to either main or symbols. I want it to come to main all the time.

    Any suggestion will be 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