ChangeLanguageKey QML Type

Change language key for keyboard layouts. 更多...

Import Statement: import QtQuick.VirtualKeyboard 2.2
基类:

BaseKey

属性

详细描述

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.

属性

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.