Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

VirtualKeyboard cycling through layouts



  • 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.


Log in to reply