ChangeLanguageKey QML Type

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

导入语句: 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.

默认为 false。