C
InputEngine QML Type
Maps the user input to the input methods. More...
Import Statement: | import QtQuick.VirtualKeyboard |
Since: | Qt Quick Ultralite 2.9 |
Properties
- InputMode : enumeration
- inputMode : int
- wordCandidateListVisibleHint : bool
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.
Constant | Description |
---|---|
Latin | The default input mode for latin text. |
Numeric | Only numeric input is allowed. |
Dialable | Only dialable input is allowed. |
Pinyin | Pinyin input mode for Chinese. |
Cangjie | Cangjie input mode for Chinese. |
Zhuyin | Zhuyin input mode for Chinese. |
Hangul | Hangul input mode for Korean. |
Hiragana | Hiragana input mode for Japanese. |
Katakana | Katakana input mode for Japanese. |
FullwidthLatin | Fullwidth latin input mode for East Asian languages. |
Greek | Greek input mode. |
Cyrillic | Cyrillic input mode. |
Arabic | Arabic input mode. |
Hebrew | Hebrew input mode. |
ChineseHandwriting | Chinese handwriting input mode. |
JapaneseHandwriting | Japanese handwriting input mode. |
KoreanHandwriting | Korean handwriting input mode. |
Thai | Thai input mode. |
Stroke | Stroke input mode for Chinese. |
Romaji | Romaji 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 following is a predefined list of input modes that you can choose from:
Constant | Description |
---|---|
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. |
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.