W3cubDocs

/Qt 5.15

ChangeLanguageKey QML Type

Change language key for keyboard layouts. More...

Import Statement: import QtQuick.VirtualKeyboard 2.15
Inherits:

BaseKey

Properties

Detailed Description

This key changes the current input language in the list of supported languages. The key has two function modes:

  • Popup mode
  • Toggle mode

The popup mode is enabled by the KeyboardStyle::languagePopupListEnabled property. If enabled, a key press will open a popup list with available languages. Otherwise it will cycle to the next available input language.

Property Documentation

customLayoutsOnly : bool

If this property is true, the input language is only changed between the languages providing custom layout.

For example, if only the English and Arabic languages provide digits layout, then other locales using the shared default layout are ignored.

The default is false.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qml-qtquick-virtualkeyboard-changelanguagekey.html