C

InputEngine QML Type

Maps the user input to the input methods. More...

Import Statement: import QtQuick.VirtualKeyboard

Properties

Detailed Description

The input engine is responsible for routing input events to input methods. The actual input logic is implemented by the input methods.

The input engine also includes the default input method, which takes care of default processing if the active input method does not handle the event.

InputEngine is available via InputContext.inputEngine.

Property Documentation

InputMode : enumeration

This enum specifies the input mode for the input method.

ConstantDescription
LatinThe default input mode for latin text.
NumericOnly numeric input is allowed.
DialableOnly dialable input is allowed.
PinyinPinyin input mode for Chinese.
CangjieCangjie input mode for Chinese.
ZhuyinZhuyin input mode for Chinese.
HangulHangul input mode for Korean.
HiraganaHiragana input mode for Japanese.
KatakanaKatakana input mode for Japanese.
FullwidthLatinFullwidth latin input mode for East Asian languages.
GreekGreek input mode.
CyrillicCyrillic input mode.
ArabicArabic input mode.
HebrewHebrew input mode.
ChineseHandwritingChinese handwriting input mode.
JapaneseHandwritingJapanese handwriting input mode.
KoreanHandwritingKorean handwriting input mode.
ThaiThai input mode.
StrokeStroke input mode for Chinese.
RomajiRomaji input mode for Japanese.

inputMode : int

Use this property to get or set the current input mode. The InputEngine::inputModes property provides the list of valid input modes for the current input method and locale.

The predefined input modes are:

  • InputEngine.InputMode.Latin The default input mode for latin text.
  • InputEngine.InputMode.Numeric Only numeric input is allowed.
  • InputEngine.InputMode.Dialable Only dialable input is allowed.
  • InputEngine.InputMode.Pinyin Pinyin input mode for Chinese.
  • InputEngine.InputMode.Cangjie Cangjie input mode for Chinese.
  • InputEngine.InputMode.Zhuyin Zhuyin input mode for Chinese.
  • InputEngine.InputMode.Hangul Hangul input mode for Korean.
  • InputEngine.InputMode.Hiragana Hiragana input mode for Japanese.
  • InputEngine.InputMode.Katakana Katakana input mode for Japanese.
  • InputEngine.InputMode.FullwidthLatin Fullwidth latin input mode for East Asian languages.
  • InputEngine.InputMode.Greek Greek input mode.
  • InputEngine.InputMode.Cyrillic Cyrillic input mode.
  • InputEngine.InputMode.Arabic Arabic input mode.
  • InputEngine.InputMode.Hebrew Hebrew input mode.
  • InputEngine.InputMode.ChineseHandwriting Chinese handwriting.
  • InputEngine.InputMode.JapaneseHandwriting Japanese handwriting.
  • InputEngine.InputMode.KoreanHandwriting Korean handwriting.
  • InputEngine.InputMode.Thai Thai input mode.
  • InputEngine.InputMode.Stroke Stroke input mode for Chinese.
  • InputEngine.InputMode.Romaji Romaji input mode for Japanese.

[read-only] wordCandidateListVisibleHint : bool

Use this property to check if the word candidate list should be visible in the UI.


Available under certain Qt licenses.
Find out more.