aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/content
diff options
context:
space:
mode:
Diffstat (limited to 'src/virtualkeyboard/content')
-rw-r--r--src/virtualkeyboard/content/HandwritingInputPanel.qml138
-rw-r--r--src/virtualkeyboard/content/InputPanel.qml150
-rw-r--r--src/virtualkeyboard/content/components/AlternativeKeys.qml129
-rw-r--r--src/virtualkeyboard/content/components/BackspaceKey.qml49
-rw-r--r--src/virtualkeyboard/content/components/BaseKey.qml250
-rw-r--r--src/virtualkeyboard/content/components/ChangeLanguageKey.qml79
-rw-r--r--src/virtualkeyboard/content/components/CharacterPreviewBubble.qml56
-rw-r--r--src/virtualkeyboard/content/components/EnterKey.qml57
-rw-r--r--src/virtualkeyboard/content/components/FillerKey.qml45
-rw-r--r--src/virtualkeyboard/content/components/HandwritingModeKey.qml54
-rw-r--r--src/virtualkeyboard/content/components/HideKeyboardKey.qml48
-rw-r--r--src/virtualkeyboard/content/components/InputModeKey.qml123
-rw-r--r--src/virtualkeyboard/content/components/Key.qml47
-rw-r--r--src/virtualkeyboard/content/components/Keyboard.qml1643
-rw-r--r--src/virtualkeyboard/content/components/KeyboardColumn.qml63
-rw-r--r--src/virtualkeyboard/content/components/KeyboardLayout.qml148
-rw-r--r--src/virtualkeyboard/content/components/KeyboardLayoutLoader.qml127
-rw-r--r--src/virtualkeyboard/content/components/KeyboardRow.qml62
-rw-r--r--src/virtualkeyboard/content/components/ModeKey.qml63
-rw-r--r--src/virtualkeyboard/content/components/MultiSoundEffect.qml73
-rw-r--r--src/virtualkeyboard/content/components/MultitapInputMethod.qml132
-rw-r--r--src/virtualkeyboard/content/components/NumberKey.qml47
-rw-r--r--src/virtualkeyboard/content/components/PopupList.qml67
-rw-r--r--src/virtualkeyboard/content/components/SelectionControl.qml100
-rw-r--r--src/virtualkeyboard/content/components/ShadowInputControl.qml141
-rw-r--r--src/virtualkeyboard/content/components/ShiftKey.qml52
-rw-r--r--src/virtualkeyboard/content/components/SpaceKey.qml50
-rw-r--r--src/virtualkeyboard/content/components/SymbolModeKey.qml49
-rw-r--r--src/virtualkeyboard/content/components/TraceInputArea.qml186
-rw-r--r--src/virtualkeyboard/content/components/TraceInputKey.qml116
-rw-r--r--src/virtualkeyboard/content/components/WordCandidatePopupList.qml85
-rw-r--r--src/virtualkeyboard/content/layouts/ar_AR/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ar_AR/digits.qml121
-rw-r--r--src/virtualkeyboard/content/layouts/ar_AR/handwriting.qml116
-rw-r--r--src/virtualkeyboard/content/layouts/ar_AR/main.qml340
-rw-r--r--src/virtualkeyboard/content/layouts/ar_AR/numbers.qml194
-rw-r--r--src/virtualkeyboard/content/layouts/ar_AR/symbols.qml388
-rw-r--r--src/virtualkeyboard/content/layouts/bg_BG/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/bg_BG/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/bg_BG/handwriting.qml99
-rw-r--r--src/virtualkeyboard/content/layouts/bg_BG/main.qml370
-rw-r--r--src/virtualkeyboard/content/layouts/bg_BG/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/bg_BG/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/cs_CZ/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/cs_CZ/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/cs_CZ/handwriting.qml97
-rw-r--r--src/virtualkeyboard/content/layouts/cs_CZ/main.qml207
-rw-r--r--src/virtualkeyboard/content/layouts/cs_CZ/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/cs_CZ/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/da_DK/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/da_DK/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/da_DK/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/da_DK/main.qml215
-rw-r--r--src/virtualkeyboard/content/layouts/da_DK/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/da_DK/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/de_DE/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/de_DE/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/de_DE/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/de_DE/main.qml210
-rw-r--r--src/virtualkeyboard/content/layouts/de_DE/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/de_DE/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/el_GR/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/el_GR/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/el_GR/handwriting.qml99
-rw-r--r--src/virtualkeyboard/content/layouts/el_GR/main.qml364
-rw-r--r--src/virtualkeyboard/content/layouts/el_GR/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/el_GR/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_GB/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_GB/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_GB/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_GB/main.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_GB/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_GB/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_US/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_US/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_US/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_US/main.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_US/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/en_US/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/es_ES/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/es_ES/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/es_ES/handwriting.qml97
-rw-r--r--src/virtualkeyboard/content/layouts/es_ES/main.qml211
-rw-r--r--src/virtualkeyboard/content/layouts/es_ES/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/es_ES/symbols.qml378
-rw-r--r--src/virtualkeyboard/content/layouts/es_MX/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/es_MX/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/es_MX/handwriting.qml97
-rw-r--r--src/virtualkeyboard/content/layouts/es_MX/main.qml211
-rw-r--r--src/virtualkeyboard/content/layouts/es_MX/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/es_MX/symbols.qml378
-rw-r--r--src/virtualkeyboard/content/layouts/et_EE/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/et_EE/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/et_EE/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/et_EE/main.qml215
-rw-r--r--src/virtualkeyboard/content/layouts/et_EE/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/et_EE/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fa_FA/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fa_FA/digits.qml111
-rw-r--r--src/virtualkeyboard/content/layouts/fa_FA/handwriting.qml116
-rw-r--r--src/virtualkeyboard/content/layouts/fa_FA/main.qml344
-rw-r--r--src/virtualkeyboard/content/layouts/fa_FA/numbers.qml184
-rw-r--r--src/virtualkeyboard/content/layouts/fa_FA/symbols.qml378
-rw-r--r--src/virtualkeyboard/content/layouts/fallback/dialpad.qml113
-rw-r--r--src/virtualkeyboard/content/layouts/fallback/digits.qml112
-rw-r--r--src/virtualkeyboard/content/layouts/fallback/handwriting.qml96
-rw-r--r--src/virtualkeyboard/content/layouts/fallback/main.qml208
-rw-r--r--src/virtualkeyboard/content/layouts/fallback/numbers.qml184
-rw-r--r--src/virtualkeyboard/content/layouts/fallback/symbols.qml376
-rw-r--r--src/virtualkeyboard/content/layouts/fi_FI/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fi_FI/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fi_FI/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fi_FI/main.qml209
-rw-r--r--src/virtualkeyboard/content/layouts/fi_FI/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fi_FI/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_CA/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_CA/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_CA/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_CA/main.qml200
-rw-r--r--src/virtualkeyboard/content/layouts/fr_CA/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_CA/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_FR/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_FR/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_FR/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_FR/main.qml204
-rw-r--r--src/virtualkeyboard/content/layouts/fr_FR/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/fr_FR/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/he_IL/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/he_IL/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/he_IL/handwriting.qml99
-rw-r--r--src/virtualkeyboard/content/layouts/he_IL/main.qml381
-rw-r--r--src/virtualkeyboard/content/layouts/he_IL/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/he_IL/symbols.qml376
-rw-r--r--src/virtualkeyboard/content/layouts/hi_IN/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hi_IN/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hi_IN/handwriting.qml103
-rw-r--r--src/virtualkeyboard/content/layouts/hi_IN/main.qml340
-rw-r--r--src/virtualkeyboard/content/layouts/hi_IN/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hi_IN/symbols.qml386
-rw-r--r--src/virtualkeyboard/content/layouts/hr_HR/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hr_HR/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hr_HR/handwriting.qml102
-rw-r--r--src/virtualkeyboard/content/layouts/hr_HR/main.qml218
-rw-r--r--src/virtualkeyboard/content/layouts/hr_HR/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hr_HR/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hu_HU/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hu_HU/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hu_HU/handwriting.qml97
-rw-r--r--src/virtualkeyboard/content/layouts/hu_HU/main.qml201
-rw-r--r--src/virtualkeyboard/content/layouts/hu_HU/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/hu_HU/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/id_ID/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/id_ID/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/id_ID/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/id_ID/main.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/id_ID/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/id_ID/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/it_IT/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/it_IT/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/it_IT/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/it_IT/main.qml198
-rw-r--r--src/virtualkeyboard/content/layouts/it_IT/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/it_IT/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ja_JP/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ja_JP/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ja_JP/handwriting.qml99
-rw-r--r--src/virtualkeyboard/content/layouts/ja_JP/main.qml432
-rw-r--r--src/virtualkeyboard/content/layouts/ja_JP/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ja_JP/symbols.qml294
-rw-r--r--src/virtualkeyboard/content/layouts/ko_KR/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ko_KR/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ko_KR/handwriting.qml118
-rw-r--r--src/virtualkeyboard/content/layouts/ko_KR/main.qml313
-rw-r--r--src/virtualkeyboard/content/layouts/ko_KR/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ko_KR/symbols.qml380
-rw-r--r--src/virtualkeyboard/content/layouts/ms_MY/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ms_MY/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ms_MY/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ms_MY/main.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ms_MY/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ms_MY/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nb_NO/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nb_NO/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nb_NO/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nb_NO/main.qml215
-rw-r--r--src/virtualkeyboard/content/layouts/nb_NO/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nb_NO/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nl_NL/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nl_NL/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nl_NL/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nl_NL/main.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nl_NL/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/nl_NL/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pl_PL/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pl_PL/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pl_PL/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pl_PL/main.qml202
-rw-r--r--src/virtualkeyboard/content/layouts/pl_PL/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pl_PL/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_BR/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_BR/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_BR/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_BR/main.qml207
-rw-r--r--src/virtualkeyboard/content/layouts/pt_BR/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_BR/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_PT/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_PT/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_PT/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_PT/main.qml207
-rw-r--r--src/virtualkeyboard/content/layouts/pt_PT/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/pt_PT/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ro_RO/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ro_RO/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ro_RO/handwriting.qml102
-rw-r--r--src/virtualkeyboard/content/layouts/ro_RO/main.qml229
-rw-r--r--src/virtualkeyboard/content/layouts/ro_RO/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ro_RO/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ru_RU/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ru_RU/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ru_RU/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ru_RU/main.qml394
-rw-r--r--src/virtualkeyboard/content/layouts/ru_RU/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/ru_RU/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sk_SK/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sk_SK/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sk_SK/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sk_SK/main.qml208
-rw-r--r--src/virtualkeyboard/content/layouts/sk_SK/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sk_SK/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sl_SI/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sl_SI/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sl_SI/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sl_SI/main.qml203
-rw-r--r--src/virtualkeyboard/content/layouts/sl_SI/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sl_SI/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sq_AL/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sq_AL/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sq_AL/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sq_AL/main.qml205
-rw-r--r--src/virtualkeyboard/content/layouts/sq_AL/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sq_AL/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sr_SP/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sr_SP/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sr_SP/handwriting.qml99
-rw-r--r--src/virtualkeyboard/content/layouts/sr_SP/main.qml363
-rw-r--r--src/virtualkeyboard/content/layouts/sr_SP/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sr_SP/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sv_SE/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sv_SE/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sv_SE/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sv_SE/main.qml209
-rw-r--r--src/virtualkeyboard/content/layouts/sv_SE/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/sv_SE/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/th_TH/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/th_TH/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/th_TH/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/th_TH/handwriting.qml99
-rw-r--r--src/virtualkeyboard/content/layouts/th_TH/main.qml489
-rw-r--r--src/virtualkeyboard/content/layouts/th_TH/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/th_TH/symbols.qml376
-rw-r--r--src/virtualkeyboard/content/layouts/tr_TR/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/tr_TR/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/tr_TR/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/tr_TR/main.qml221
-rw-r--r--src/virtualkeyboard/content/layouts/tr_TR/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/tr_TR/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/uk_UA/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/uk_UA/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/uk_UA/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/uk_UA/main.qml373
-rw-r--r--src/virtualkeyboard/content/layouts/uk_UA/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/uk_UA/symbols.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/vi_VN/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/vi_VN/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/vi_VN/handwriting.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/vi_VN/main.qml205
-rw-r--r--src/virtualkeyboard/content/layouts/vi_VN/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/vi_VN/symbols.qml376
-rw-r--r--src/virtualkeyboard/content/layouts/zh_CN/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/zh_CN/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/zh_CN/handwriting.qml116
-rw-r--r--src/virtualkeyboard/content/layouts/zh_CN/main.qml204
-rw-r--r--src/virtualkeyboard/content/layouts/zh_CN/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/zh_CN/symbols.qml294
-rw-r--r--src/virtualkeyboard/content/layouts/zh_TW/dialpad.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/zh_TW/digits.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/zh_TW/handwriting.qml116
-rw-r--r--src/virtualkeyboard/content/layouts/zh_TW/main.qml458
-rw-r--r--src/virtualkeyboard/content/layouts/zh_TW/numbers.fallback0
-rw-r--r--src/virtualkeyboard/content/layouts/zh_TW/symbols.qml294
-rw-r--r--src/virtualkeyboard/content/styles/default/images/backspace-868482.svg23
-rw-r--r--src/virtualkeyboard/content/styles/default/images/check-868482.svg8
-rw-r--r--src/virtualkeyboard/content/styles/default/images/enter-868482.svg13
-rw-r--r--src/virtualkeyboard/content/styles/default/images/globe-868482.svg26
-rw-r--r--src/virtualkeyboard/content/styles/default/images/handwriting-868482.svg18
-rw-r--r--src/virtualkeyboard/content/styles/default/images/hidekeyboard-868482.svg55
-rw-r--r--src/virtualkeyboard/content/styles/default/images/search-868482.svg14
-rw-r--r--src/virtualkeyboard/content/styles/default/images/selectionhandle-bottom.svg201
-rw-r--r--src/virtualkeyboard/content/styles/default/images/shift-80c342.svg12
-rw-r--r--src/virtualkeyboard/content/styles/default/images/shift-868482.svg12
-rw-r--r--src/virtualkeyboard/content/styles/default/images/shift-c5d6b6.svg12
-rw-r--r--src/virtualkeyboard/content/styles/default/images/textmode-868482.svg33
-rw-r--r--src/virtualkeyboard/content/styles/default/style.qml1036
-rw-r--r--src/virtualkeyboard/content/styles/default/virtualkeyboard_default_style.qrc17
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/backspace-c5a96f.svg23
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/check-c5a96f.svg8
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/enter-c5a96f.svg13
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/globe-110b05.svg26
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/handwriting-110b05.svg18
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/hidekeyboard-c5a96f.svg55
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_black.pngbin9977 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_black_long.pngbin11828 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_capslock.pngbin21410 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_capslock_long.pngbin24503 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_colorA.pngbin16911 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_colorA.svg19
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_colorA_long.pngbin21161 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_colorB.pngbin17447 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_shiftcase.pngbin9675 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key154px_shiftcase_long.pngbin10444 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key156px_black_long.pngbin10931 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key156px_black_medium_long.pngbin11989 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key156px_colorA.pngbin17049 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key156px_colorB.pngbin17462 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key160px_black.pngbin10165 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key160px_colorA.pngbin17575 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key160px_colorB.pngbin18291 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/key_preview.pngbin14779 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/search-c5a96f.svg14
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/selectionhandle-bottom.svg9
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/shift-c5a96f.svg12
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/shift-cd8865.svg12
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/shift-dc4f28.svg12
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/textmode-110b05.svg33
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/triangle_black.pngbin2249 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/images/triangle_highlight.pngbin2120 -> 0 bytes
-rw-r--r--src/virtualkeyboard/content/styles/retro/style.qml1079
-rw-r--r--src/virtualkeyboard/content/styles/retro/virtualkeyboard_retro_style.qrc37
-rw-r--r--src/virtualkeyboard/content/virtualkeyboard_content.qrc35
339 files changed, 0 insertions, 25157 deletions
diff --git a/src/virtualkeyboard/content/HandwritingInputPanel.qml b/src/virtualkeyboard/content/HandwritingInputPanel.qml
deleted file mode 100644
index 4fe4fbc3..00000000
--- a/src/virtualkeyboard/content/HandwritingInputPanel.qml
+++ /dev/null
@@ -1,138 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-// Deliberately imported after QtQuick to avoid missing restoreMode property in Binding. Fix in Qt 6.
-import QtQml 2.14
-import QtQuick.Window 2.2
-import QtQuick.VirtualKeyboard 2.1
-
-/*!
- \qmltype HandwritingInputPanel
- \inqmlmodule QtQuick.VirtualKeyboard
- \since QtQuick.VirtualKeyboard 2.0
-
- \brief Provides a handwriting panel add-on for the virtual keyboard UI.
- \ingroup qtvirtualkeyboard-qml
-
- The HandwritingInputPanel is an add-on component for the InputPanel, which
- enables full-screen handwriting input for the application.
-
- HandwritingInputPanel is designed to be anchored full screen alongside
- the InputPanel. The operating principle is that when the handwriting panel
- is "available", the InputPanel is invisible. This functionality is built-in,
- and requires no more than a reference to the InputPanel instance.
-
- The panel is set into operation by setting the \l {HandwritingInputPanel::}{available}
- property to \c true. When the panel is in operation, the keyboard remains hidden
- when the input focus is set. When \c available is \c true, handwriting input is
- activated by setting the \l {HandwritingInputPanel::}{active} property to \c true.
-
- The user interface, which provides controls for handwriting mode and the
- visibility of the keyboard, is application-specific. One suggested implementation
- is to use a floating button on the handwriting panel, where single click toggles
- the handwriting mode (changes the \l {HandwritingInputPanel::}{active} property), and double-click toggles
- the visibility of the keyboard (changes the \l {HandwritingInputPanel::}{available} property).
-
- HandwritingInputPanel also provides a word candidate popup which allows the user
- to select an alternative word candidate from the list of suggestions generated
- by the handwriting input method.
-*/
-
-Item {
- id: handwritingInputPanel
-
- /*! A reference to the input panel instance.
-
- This property must be set to the existing input panel instance.
- */
- property var inputPanel
-
- /*! This property controls the availability status of the handwriting input method.
-
- Setting the property to \c true prepares the handwriting input method and inhibits
- the display of keyboard.
- */
- property bool available
-
- /*! This property controls the active status of the handwriting input method.
-
- Setting the property to \c true activates the handwriting input method. When the
- handwriting input method is active, all touch input is captured by the
- handwriting input panel and redirected to input engine for processing.
- */
- property bool active
-
- state: enabled && available ? (active ? "active" : "available") : "unavailable"
- enabled: inputPanel.keyboard.isHandwritingAvailable()
- visible: enabled && available && active && Qt.inputMethod.visible
-
- LayoutMirroring.enabled: false
- LayoutMirroring.childrenInherit: true
-
- Item {
- id: keyboard
- property var style: inputPanel && inputPanel.hasOwnProperty ? inputPanel.keyboard.style : null
- property var soundEffect: inputPanel && inputPanel.hasOwnProperty ? inputPanel.keyboard.soundEffect : null
- }
-
- onEnabledChanged: inputPanel.keyboard.fullScreenHandwritingMode = enabled && available
- onAvailableChanged: inputPanel.keyboard.fullScreenHandwritingMode = enabled && available
-
- TraceInputArea {
- id: hwrInputArea
- enabled: handwritingInputPanel.enabled && handwritingInputPanel.available && handwritingInputPanel.active
- objectName: "hwrInputArea"
- anchors.fill: parent
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- canvasType: "fullscreen"
- }
-
- Binding {
- target: InputContext.priv
- property: "keyboardRectangle"
- value: Qt.rect(hwrInputArea.x, hwrInputArea.y, hwrInputArea.width, hwrInputArea.height)
- when: handwritingInputPanel.enabled && handwritingInputPanel.available && handwritingInputPanel.active
- restoreMode: Binding.RestoreBinding
- }
-
- Binding {
- target: inputPanel ? inputPanel.keyboard : null
- property: "active"
- value: false
- when: handwritingInputPanel.enabled && handwritingInputPanel.available
- restoreMode: Binding.RestoreBinding
- }
-
- WordCandidatePopupList {
- z: 1
- objectName: "wordCandidatePopupList"
- enabled: handwritingInputPanel.enabled && handwritingInputPanel.available && handwritingInputPanel.active
- }
-}
diff --git a/src/virtualkeyboard/content/InputPanel.qml b/src/virtualkeyboard/content/InputPanel.qml
deleted file mode 100644
index f511eab2..00000000
--- a/src/virtualkeyboard/content/InputPanel.qml
+++ /dev/null
@@ -1,150 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-// Deliberately imported after QtQuick to avoid missing restoreMode property in Binding. Fix in Qt 6.
-import QtQml 2.14
-import QtQuick.VirtualKeyboard 2.1
-
-/*!
- \qmltype InputPanel
- \inqmlmodule QtQuick.VirtualKeyboard
-
- \brief Provides the virtual keyboard UI.
- \ingroup qtvirtualkeyboard-qml
-
- The keyboard size is automatically calculated from the available
- width; that is, the keyboard maintains the aspect ratio specified by the current
- style. Therefore the application should only set the \l {Item::}{width} and \l {Item::}{y}
- coordinates of the InputPanel, and not the \l {Item::}{height}.
-
- As with \l {Qt Virtual Keyboard QML Types}{all other QML types} provided by
- the module, the \c QT_IM_MODULE environment variable must be set to
- \c qtvirtualkeyboard before using InputPanel. For more information, see
- \l {Loading the Plugin}.
-*/
-
-Item {
- id: inputPanel
-
- /*!
- \qmlproperty bool InputPanel::active
- \since QtQuick.VirtualKeyboard 2.0
-
- This property reflects the active status of the input panel.
- The keyboard should be made visible to the user when this property is
- \c true.
- */
- property alias active: keyboard.active
-
- /*!
- \qmlproperty bool InputPanel::externalLanguageSwitchEnabled
- \since QtQuick.VirtualKeyboard 2.4
-
- This property enables the external language switch mechanism.
- When this property is \c true, the virtual keyboard will not show
- the built-in language popup, but will emit the \l externalLanguageSwitch
- signal instead. The application can handle this signal and show a
- custom language selection dialog instead.
- */
- property bool externalLanguageSwitchEnabled
-
- /*!
- \qmlsignal InputPanel::externalLanguageSwitch(var localeList, int currentIndex)
- \since QtQuick.VirtualKeyboard 2.4
-
- This signal is emitted when \l externalLanguageSwitchEnabled is \c true
- and the \l {user-guide-language}{language switch key} is pressed by the user.
-
- It serves as a hook to display a custom language dialog instead of
- the built-in language popup in the virtual keyboard.
-
- The \e localeList parameter contains a list of locale names to choose
- from. To get more information about a particular language, use the
- \l {QtQml::Qt::locale()}{Qt.locale()} function. The \e currentIndex
- is the index of current locale in the \e localeList. This item should
- be highlighted as the current item in the UI.
-
- To select a new language, use the \l {VirtualKeyboardSettings::locale}
- {VirtualKeyboardSettings.locale} property.
-
- Below is an example that demonstrates a custom language dialog implementation:
-
- \snippet qtvirtualkeyboard-custom-language-popup.qml popup
-
- The dialog would then be declared:
-
- \snippet qtvirtualkeyboard-custom-language-popup.qml declaring
-
- In the application's InputPanel, add the following code:
-
- \snippet qtvirtualkeyboard-custom-language-popup.qml using
-
- The custom dialog will now be shown when the language switch key is pressed.
- */
- signal externalLanguageSwitch(var localeList, int currentIndex)
-
- /*! \internal */
- property alias keyboard: keyboard
-
- /*! \internal */
- property bool desktopPanel: false
-
- SelectionControl {
- objectName: "selectionControl"
- x: -parent.x
- y: -parent.y
- enabled: active && !keyboard.fullScreenMode && !desktopPanel
- }
-
- implicitHeight: keyboard.height
- Keyboard {
- id: keyboard
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: parent.bottom
- }
- MouseArea {
- z: -1
- anchors.fill: keyboard
- enabled: active
- }
-
- Binding {
- target: InputContext.priv
- property: "keyboardRectangle"
- value: mapToItem(null,
- desktopPanel ? keyboard.x : x,
- (desktopPanel ? keyboard.y : y) + keyboard.wordCandidateView.currentYOffset - (keyboard.shadowInputControl.visible ? keyboard.shadowInputControl.height : 0),
- keyboard.width,
- keyboard.height - keyboard.wordCandidateView.currentYOffset + (keyboard.shadowInputControl.visible ? keyboard.shadowInputControl.height : 0))
- when: !InputContext.animating
- restoreMode: Binding.RestoreBinding
- }
-}
diff --git a/src/virtualkeyboard/content/components/AlternativeKeys.qml b/src/virtualkeyboard/content/components/AlternativeKeys.qml
deleted file mode 100644
index 7879f006..00000000
--- a/src/virtualkeyboard/content/components/AlternativeKeys.qml
+++ /dev/null
@@ -1,129 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-Item {
- property bool active: listView.currentIndex != -1
- property int highlightIndex: -1
- property alias listView: listView
- property int keyCode
- property point origin
- signal clicked
- LayoutMirroring.enabled: false
- LayoutMirroring.childrenInherit: true
-
- z: 1
- visible: active
- anchors.fill: parent
-
- ListModel {
- id: listModel
- }
-
- ListView {
- id: listView
- spacing: 0
- model: listModel
- delegate: keyboard.style.alternateKeysListDelegate
- highlight: keyboard.style.alternateKeysListHighlight ? keyboard.style.alternateKeysListHighlight : defaultHighlight
- highlightMoveDuration: 0
- highlightResizeDuration: 0
- keyNavigationWraps: true
- orientation: ListView.Horizontal
- height: keyboard.style.alternateKeysListItemHeight
- x: origin.x
- y: origin.y - height - keyboard.style.alternateKeysListBottomMargin
- Component {
- id: defaultHighlight
- Item {}
- }
- }
-
- Loader {
- id: backgroundLoader
- sourceComponent: keyboard.style.alternateKeysListBackground
- anchors.fill: listView
- z: -1
- states: State {
- name: "highlighted"
- when: highlightIndex !== -1 && highlightIndex === listView.currentIndex &&
- backgroundLoader.item !== null && backgroundLoader.item.hasOwnProperty("currentItemHighlight")
- PropertyChanges {
- target: backgroundLoader.item
- currentItemHighlight: true
- }
- }
- }
-
- onClicked: {
- if (active && listView.currentIndex >= 0 && listView.currentIndex < listView.model.count) {
- var activeKey = listView.model.get(listView.currentIndex)
- InputContext.inputEngine.virtualKeyClick(keyCode, activeKey.text,
- InputContext.uppercase ? Qt.ShiftModifier : 0)
- }
- }
-
- function open(key, originX, originY) {
- keyCode = key.key
- var alternativeKeys = key.effectiveAlternativeKeys
- if (alternativeKeys.length > 0) {
- for (var i = 0; i < alternativeKeys.length; i++) {
- listModel.append({ "text": InputContext.uppercase ? alternativeKeys[i].toUpperCase() : alternativeKeys[i] })
- }
- listView.width = keyboard.style.alternateKeysListItemWidth * listModel.count
- listView.forceLayout()
- highlightIndex = key.effectiveAlternativeKeysHighlightIndex
- if (highlightIndex === -1) {
- console.log("AlternativeKeys: active key \"" + key.text + "\" not found in alternativeKeys \"" + alternativeKeys + ".\"")
- highlightIndex = 0
- }
- listView.currentIndex = highlightIndex
- var currentItemOffset = (listView.currentIndex + 0.5) * keyboard.style.alternateKeysListItemWidth
- origin = Qt.point(Math.min(Math.max(keyboard.style.alternateKeysListLeftMargin, originX - currentItemOffset), width - listView.width - keyboard.style.alternateKeysListRightMargin), originY)
- if (backgroundLoader.item && backgroundLoader.item.hasOwnProperty("currentItemOffset")) {
- backgroundLoader.item.currentItemOffset = currentItemOffset
- }
- }
- return active
- }
-
- function move(mouseX) {
- var newIndex = listView.indexAt(Math.max(1, Math.min(listView.width - 1, mapToItem(listView, mouseX, 0).x)), 1)
- if (newIndex !== listView.currentIndex) {
- listView.currentIndex = newIndex
- }
- }
-
- function close() {
- listView.currentIndex = -1
- listModel.clear()
- }
-}
diff --git a/src/virtualkeyboard/content/components/BackspaceKey.qml b/src/virtualkeyboard/content/components/BackspaceKey.qml
deleted file mode 100644
index 126f6e2c..00000000
--- a/src/virtualkeyboard/content/components/BackspaceKey.qml
+++ /dev/null
@@ -1,49 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-/*!
- \qmltype BackspaceKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits BaseKey
-
- \brief Backspace key for keyboard layouts.
-
- Sends a backspace key for input method processing.
- This key is repeatable.
-*/
-
-BaseKey {
- key: Qt.Key_Backspace
- repeat: true
- functionKey: true
- keyPanelDelegate: keyboard.style ? keyboard.style.backspaceKeyPanel : undefined
-}
diff --git a/src/virtualkeyboard/content/components/BaseKey.qml b/src/virtualkeyboard/content/components/BaseKey.qml
deleted file mode 100644
index ae3b530f..00000000
--- a/src/virtualkeyboard/content/components/BaseKey.qml
+++ /dev/null
@@ -1,250 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-/*!
- \qmltype BaseKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits Item
-
- \brief Common parent for all key types.
-
- BaseKey is a common type for all keys in keyboard layout.
-
- This type should not be used directly in the layouts. The specialized
- key types, such as Key or EnterKey should be used instead.
-*/
-
-Item {
- id: keyItem
-
- /*! Sets the key weight value which determines the relative size of the key.
-
- Use this property to change the key size in the layout.
-
- The default value is inherited from the parent element
- of the key in the layout hierarchy.
- */
- property real weight: parent.keyWeight
-
- /*! Sets the key text for input method processing.
-
- In most cases, this is the Unicode representation of the key code.
-
- The default value is an empty string.
- */
- property string text: ""
-
- /*! Sets the display text.
-
- This string is rendered in the keyboard layout.
-
- The default value is the key text.
- */
- property string displayText: text
-
- /*! \since QtQuick.VirtualKeyboard 2.0
-
- Sets the small text rendered in the corner of the key.
-
- The default value based on the default item in the effective alternative keys.
- */
- property string smallText: effectiveAlternativeKeys && effectiveAlternativeKeysHighlightIndex !== -1 ? effectiveAlternativeKeys[effectiveAlternativeKeysHighlightIndex] : ""
-
- /*! \since QtQuick.VirtualKeyboard 2.0
-
- Sets the visibility of small text.
-
- The default value is inherited from the parent.
- */
- property bool smallTextVisible: parent.smallTextVisible
-
- /*! Sets the list of alternative keys.
-
- This property can be set to a string, or a list of strings. If the value is
- a string, the alternative keys are presented as individual characters of
- that string. If the value is a list of strings, the list is used instead.
-
- The alternative keys are presented to the user by pressing and holding a key
- with this property set.
-
- \note If the alternative keys contains the key \c text, it will be filtered from
- the \c effectiveAlternativeKeys and its position will be used as an indicator
- for the highlighted item instead.
-
- The default is empty list.
- */
- property var alternativeKeys: []
-
- /*! \since QtQuick.VirtualKeyboard 2.0
-
- This property contains the effective alternative keys presented to user.
-
- The list is contains the items in the \c alternativeKeys excluding the \c text
- item.
- */
- readonly property var effectiveAlternativeKeys: {
- var textIndex = alternativeKeys.indexOf(text)
- if (textIndex == -1)
- return alternativeKeys
- return alternativeKeys.slice(0, textIndex).concat(alternativeKeys.slice(textIndex + 1))
- }
-
- /*! \since QtQuick.VirtualKeyboard 2.0
-
- This property contains the index of highlighted item in the \c effectiveAlternativeKeys.
-
- The index is calculated from the index of the key \c text in the \c alternativeKeys.
-
- For example, if the alternative keys contains "çcċčć" and the key \c text is "c",
- this index will become 1 and the effective alternative keys presented to user will
- be "ç[ċ]čć".
- */
- readonly property int effectiveAlternativeKeysHighlightIndex: {
- var index = alternativeKeys.indexOf(text)
- return index > 1 && (index + 1) == alternativeKeys.length ? alternativeKeys.length - 2 : index
- }
-
- /*! Sets the key code for input method processing.
-
- The default is Qt.Key_unknown.
- */
- property int key: Qt.Key_unknown
-
- /*! \since QtQuick.VirtualKeyboard 1.3
-
- This property controls whether the key emits key events for input
- method processing. When true, the key events are disabled.
-
- By default, the key event is emitted if the \e key is not unknown
- or the \e text is not empty.
- */
- property bool noKeyEvent: key === Qt.Key_unknown && text.length === 0
-
- /*! This property holds the active status of the key.
-
- This property is automatically set to true when the key is pressed.
- */
- property bool active: false
-
- /*! \since QtQuick.VirtualKeyboard 1.3
-
- Disables key modifiers on the emitted key.
-
- The default is false.
- */
- property bool noModifier: false
-
- /*! Sets the key repeat attribute.
-
- If the repeat is enabled, the key will repeat the input events while held down.
- The repeat should not be used if alternativeKeys is also set.
-
- The default is false.
- */
- property bool repeat: false
-
- /*! Sets the highlighted status of the key.
-
- The default is false.
- */
- property bool highlighted: false
-
- /*! Sets the function key attribute.
-
- The default is false.
- */
- property bool functionKey: false
-
- /*! Sets the show preview attribute.
-
- By default, the character preview popup is not shown for function keys.
- */
- property bool showPreview: enabled && !functionKey && !keyboard.navigationModeActive
-
- /*! This property holds the pressed status of the key.
-
- The pressed status can only be true if the key is both enabled and active.
- When the key state becomes pressed, it triggers a key down event for the
- input engine. A key up event is triggered when the key is released.
- */
- property bool pressed: enabled && active
-
- /*! This property holds the uppercase status of the key.
-
- By default, this property reflects the uppercase status of the keyboard.
- */
- property bool uppercased: InputContext.uppercase && !noModifier
-
- /*! Sets the key panel delegate for the key.
-
- This property is essential for key decoration. Without a key panel delegate,
- the key is invisible. This property should be assigned in the inherited key type.
- */
- property alias keyPanelDelegate: keyPanel.sourceComponent
-
- /*!
- \since QtQuick.VirtualKeyboard 1.1
-
- This property holds the sound effect to be played on key press.
-
- This property is read-only since the sound effects are defined in the keyboard style.
- */
- readonly property url soundEffect: keyPanel.item ? keyPanel.item.soundEffect : ""
-
- onSoundEffectChanged: keyboard.soundEffect.register(soundEffect)
-
- // QTBUG-54953, QTBUG-55773
- // Avoid a row that was hidden taking up the entire height of the
- // keyboard when it is made visible after the application has started.
- // This value is low because keys can scale vertically, and setting e.g. 40
- // pixels might be too high for a keyboard that doesn't have a lot of space.
- implicitHeight: 1
-
- Layout.minimumWidth: keyPanel.implicitWidth
- Layout.minimumHeight: keyPanel.implicitHeight
- Layout.preferredWidth: weight
- Layout.fillWidth: true
- Layout.fillHeight: true
-
- Loader {
- id: keyPanel
- anchors.fill: parent
- onStatusChanged: if (status == Loader.Ready) keyPanel.item.control = keyItem
- }
-
- /*! This signal is triggered when the key is pressed, allowing custom processing
- of key.
- */
- signal clicked
-}
diff --git a/src/virtualkeyboard/content/components/ChangeLanguageKey.qml b/src/virtualkeyboard/content/components/ChangeLanguageKey.qml
deleted file mode 100644
index 70e12fa4..00000000
--- a/src/virtualkeyboard/content/components/ChangeLanguageKey.qml
+++ /dev/null
@@ -1,79 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Styles 2.1
-
-/*!
- \qmltype ChangeLanguageKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits BaseKey
-
- \brief Change language key for keyboard layouts.
-
- This key changes the current input language in the list of supported
- languages. The key has two function modes:
-
- \list
- \li Popup mode
- \li Toggle mode
- \endlist
-
- The popup mode is enabled by the \l {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.
-*/
-
-BaseKey {
- /*! 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.
- */
- property bool customLayoutsOnly: false
-
- id: changeLanguageKey
- objectName: "changeLanguageKey"
- functionKey: true
- displayText: keyboard.locale.split("_")[0]
- keyPanelDelegate: keyboard.style ? keyboard.style.languageKeyPanel : undefined
- onClicked: {
- if (keyboard.style.languagePopupListEnabled)
- keyboard.showLanguagePopup(changeLanguageKey, false)
- else
- keyboard.changeInputLanguage(customLayoutsOnly)
- }
- enabled: keyboard.canChangeInputLanguage(customLayoutsOnly)
-}
diff --git a/src/virtualkeyboard/content/components/CharacterPreviewBubble.qml b/src/virtualkeyboard/content/components/CharacterPreviewBubble.qml
deleted file mode 100644
index ee70e110..00000000
--- a/src/virtualkeyboard/content/components/CharacterPreviewBubble.qml
+++ /dev/null
@@ -1,56 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-Item {
- property bool active
- property var activeKey: keyboard.activeKey
-
- visible: active && activeKey !== undefined && activeKey !== null && activeKey.showPreview
- z: 1
-
- Loader {
- id: characterPreview
- anchors.fill: parent
- sourceComponent: keyboard.style.characterPreviewDelegate
- }
-
- onActiveKeyChanged: {
- if (activeKey && characterPreview.item !== null) {
- characterPreview.item.text = InputContext.uppercase ? activeKey.displayText.toUpperCase() : activeKey.displayText
- width = activeKey.width
- height = activeKey.height
- var position = keyboard.mapFromItem(activeKey, 0, 0)
- x = position.x
- y = position.y - height - keyboard.style.characterPreviewMargin
- }
- }
-}
diff --git a/src/virtualkeyboard/content/components/EnterKey.qml b/src/virtualkeyboard/content/components/EnterKey.qml
deleted file mode 100644
index 9f7c04da..00000000
--- a/src/virtualkeyboard/content/components/EnterKey.qml
+++ /dev/null
@@ -1,57 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-/*!
- \qmltype EnterKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits BaseKey
-
- \brief Enter key for keyboard layouts.
-
- Sends an enter key for input method processing.
-*/
-
-BaseKey {
- /*! This property holds the action id for the enter key.
-
- */
- readonly property int actionId: InputContext.priv.hasEnterKeyAction(InputContext.priv.inputItem) ? InputContext.priv.inputItem.EnterKeyAction.actionId : EnterKeyAction.None
-
- text: "\n"
- displayText: InputContext.priv.hasEnterKeyAction(InputContext.priv.inputItem) ? InputContext.priv.inputItem.EnterKeyAction.label : ""
- key: Qt.Key_Return
- showPreview: false
- highlighted: enabled && displayText.length > 0
- enabled: InputContext.priv.hasEnterKeyAction(InputContext.priv.inputItem) ? InputContext.priv.inputItem.EnterKeyAction.enabled : true
- keyPanelDelegate: keyboard.style ? keyboard.style.enterKeyPanel : undefined
-}
diff --git a/src/virtualkeyboard/content/components/FillerKey.qml b/src/virtualkeyboard/content/components/FillerKey.qml
deleted file mode 100644
index b06d4aed..00000000
--- a/src/virtualkeyboard/content/components/FillerKey.qml
+++ /dev/null
@@ -1,45 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-/*!
- \qmltype FillerKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits BaseKey
-
- \brief Filler key for keyboard layouts.
-
- This key can be used as a filler in the keyboard layout.
-*/
-
-BaseKey {
- showPreview: false
-}
diff --git a/src/virtualkeyboard/content/components/HandwritingModeKey.qml b/src/virtualkeyboard/content/components/HandwritingModeKey.qml
deleted file mode 100644
index 815d89db..00000000
--- a/src/virtualkeyboard/content/components/HandwritingModeKey.qml
+++ /dev/null
@@ -1,54 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-/*!
- \qmltype HandwritingModeKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits Key
- \since QtQuick.VirtualKeyboard 2.0
-
- \brief Hand writing mode key for keyboard layouts.
-
- This key toggles between the handwriting mode layout and the main layout.
-
- The key is automatically hidden from the keyboard layout if handwriting support
- is not enabled for the virtual keyboard.
-*/
-
-Key {
- key: Qt.Key_Context2
- displayText: "HWR"
- functionKey: true
- visible: keyboard.isHandwritingAvailable()
- onClicked: keyboard.setHandwritingMode(!keyboard.handwritingMode)
- keyPanelDelegate: keyboard.style ? keyboard.style.handwritingKeyPanel : undefined
-}
diff --git a/src/virtualkeyboard/content/components/HideKeyboardKey.qml b/src/virtualkeyboard/content/components/HideKeyboardKey.qml
deleted file mode 100644
index ab38fbc2..00000000
--- a/src/virtualkeyboard/content/components/HideKeyboardKey.qml
+++ /dev/null
@@ -1,48 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-/*!
- \qmltype HideKeyboardKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits BaseKey
-
- \brief Hide keyboard key for keyboard layouts.
-
- This key hides the keyboard from the user when pressed.
-*/
-
-BaseKey {
- functionKey: true
- onClicked: InputContext.priv.hideInputPanel()
- keyPanelDelegate: keyboard.style ? keyboard.style.hideKeyPanel : undefined
-}
diff --git a/src/virtualkeyboard/content/components/InputModeKey.qml b/src/virtualkeyboard/content/components/InputModeKey.qml
deleted file mode 100644
index f7b31b9b..00000000
--- a/src/virtualkeyboard/content/components/InputModeKey.qml
+++ /dev/null
@@ -1,123 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-/*!
- \qmltype InputModeKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits Key
- \since QtQuick.VirtualKeyboard 2.3
-
- \brief Input mode key for keyboard layouts.
-
- This key toggles between available \l {QVirtualKeyboardInputEngine::inputModes} {InputEngine.inputModes}.
-*/
-
-Key {
- key: Qt.Key_Mode_switch
- noKeyEvent: true
- functionKey: true
- text: InputContext.inputEngine.inputMode < inputModeNameList.length ?
- inputModeNameList[InputContext.inputEngine.inputMode] : "ABC"
- onClicked: InputContext.inputEngine.inputMode = __nextInputMode(InputContext.inputEngine.inputMode)
- keyPanelDelegate: keyboard.style ? keyboard.style.symbolKeyPanel : undefined
- enabled: inputModeCount > 1
-
- /*!
- List of input mode names.
-
- The default list contains all known input modes for \l {QVirtualKeyboardInputEngine::inputMode} {InputEngine.inputMode}.
- */
- property var inputModeNameList: [
- "ABC", // InputEngine.InputMode.Latin
- "123", // InputEngine.InputMode.Numeric
- "123", // InputEngine.InputMode.Dialable
- "拼音", // InputEngine.InputMode.Pinyin
- "倉頡", // InputEngine.InputMode.Cangjie
- "注音", // InputEngine.InputMode.Zhuyin
- "한글", // InputEngine.InputMode.Hangul
- "あ", // InputEngine.InputMode.Hiragana
- "カ", // InputEngine.InputMode.Katakana
- "全角", // InputEngine.InputMode.FullwidthLatin
- "ΑΒΓ", // InputEngine.InputMode.Greek
- "АБВ", // InputEngine.InputMode.Cyrillic
- "\u0623\u200C\u0628\u200C\u062C", // InputEngine.InputMode.Arabic
- "\u05D0\u05D1\u05D2", // InputEngine.InputMode.Hebrew
- "中文", // InputEngine.InputMode.ChineseHandwriting
- "日本語", // InputEngine.InputMode.JapaneseHandwriting
- "한국어", // InputEngine.InputMode.KoreanHandwriting
- "กขค", // InputEngine.InputMode.Thai
- ]
-
- /*!
- List of input modes to toggle.
-
- This property allows to define a custom list of input modes to
- toggle.
-
- The default list contains all the available input modes.
- */
- property var inputModes: InputContext.inputEngine.inputModes
-
- /*!
- This read-only property reflects the actual number of input modes
- the user can cycle through this key.
- */
- readonly property int inputModeCount: __inputModes !== undefined ? __inputModes.length : 0
-
- property var __inputModes: __filterInputModes([].concat(InputContext.inputEngine.inputModes), inputModes)
-
- onInputModesChanged: {
- // Check that the current input mode is included in our list
- if (keyboard.active && InputContext.inputEngine.inputMode !== -1 &&
- __inputModes !== undefined && __inputModes.length > 0 &&
- __inputModes.indexOf(InputContext.inputEngine.inputMode) === -1)
- InputContext.inputEngine.inputMode = __inputModes[0]
- }
-
- function __nextInputMode(inputMode) {
- if (!enabled)
- return inputMode
- var inputModeIndex = __inputModes.indexOf(inputMode) + 1
- if (inputModeIndex >= __inputModes.length)
- inputModeIndex = 0
- return __inputModes[inputModeIndex]
- }
-
- function __filterInputModes(inputModes, filter) {
- for (var i = 0; i < inputModes.length; i++) {
- if (filter.indexOf(inputModes[i]) === -1)
- inputModes.splice(i, 1)
- }
- return inputModes
- }
-}
diff --git a/src/virtualkeyboard/content/components/Key.qml b/src/virtualkeyboard/content/components/Key.qml
deleted file mode 100644
index 5a376310..00000000
--- a/src/virtualkeyboard/content/components/Key.qml
+++ /dev/null
@@ -1,47 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-/*!
- \qmltype Key
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits BaseKey
-
- \brief Regular character key for keyboard layouts.
-
- This key emits the key code and key text for input method processing.
-*/
-
-BaseKey {
- id: keyItem
- key: !functionKey && text.length > 0 ? text.toUpperCase().charCodeAt(0) : Qt.Key_unknown
- keyPanelDelegate: keyboard.style ? keyboard.style.keyPanel : undefined
-}
diff --git a/src/virtualkeyboard/content/components/Keyboard.qml b/src/virtualkeyboard/content/components/Keyboard.qml
deleted file mode 100644
index d6073d4e..00000000
--- a/src/virtualkeyboard/content/components/Keyboard.qml
+++ /dev/null
@@ -1,1643 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-// Deliberately imported after QtQuick to avoid missing restoreMode property in Binding. Fix in Qt 6.
-import QtQml 2.14
-import QtQuick.Layouts 1.0
-import QtQuick.Window 2.2
-import QtQuick.VirtualKeyboard 2.3
-import QtQuick.VirtualKeyboard.Styles 2.1
-import QtQuick.VirtualKeyboard.Settings 2.2
-import QtQuick.VirtualKeyboard.Plugins 2.3
-import Qt.labs.folderlistmodel 2.0
-
-Item {
- id: keyboard
- objectName: "keyboard"
-
- property alias style: styleLoader.item
- property alias wordCandidateView: wordCandidateView
- property alias shadowInputControl: shadowInputControl
- property var activeKey: null
- property TouchPoint activeTouchPoint
- property int localeIndex: -1
- property var availableLocaleIndices: []
- property var availableCustomLocaleIndices: []
- property string locale: localeIndex >= 0 && localeIndex < layoutsModel.count ? layoutsModel.get(localeIndex, "fileName") : ""
- property string inputLocale
- property int defaultLocaleIndex: -1
- readonly property bool latinOnly: InputContext.inputMethodHints & (Qt.ImhLatinOnly | Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly)
- readonly property bool preferNumbers: InputContext.inputMethodHints & Qt.ImhPreferNumbers
- readonly property bool dialableCharactersOnly: InputContext.inputMethodHints & Qt.ImhDialableCharactersOnly
- readonly property bool formattedNumbersOnly: InputContext.inputMethodHints & Qt.ImhFormattedNumbersOnly
- readonly property bool digitsOnly: InputContext.inputMethodHints & Qt.ImhDigitsOnly
- property string layout
- property string layoutType: {
- if (keyboard.handwritingMode) return "handwriting"
- if (keyboard.dialableCharactersOnly) return "dialpad"
- if (keyboard.formattedNumbersOnly) return "numbers"
- if (keyboard.digitsOnly) return "digits"
- if (keyboard.symbolMode) return "symbols"
- return "main"
- }
- property bool active: Qt.inputMethod.visible
- property bool handwritingMode
- property bool fullScreenHandwritingMode
- property bool symbolMode
- property bool fullScreenMode: VirtualKeyboardSettings.fullScreenMode
- property var defaultInputMethod: initDefaultInputMethod()
- property var plainInputMethod: PlainInputMethod {}
- property var customInputMethod: null
- property var customInputMethodSharedLayouts: []
- property int defaultInputMode: InputEngine.InputMode.Latin
- property bool inputMethodNeedsReset: true
- property bool inputModeNeedsReset: true
- property bool navigationModeActive: false
- readonly property bool languagePopupListActive: languagePopupList.enabled
- property alias soundEffect: soundEffect
-
- function initDefaultInputMethod() {
- try {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; DefaultInputMethod {}', keyboard, "defaultInputMethod")
- } catch (e) { }
- return plainInputMethod
- }
-
- Component.onCompleted: InputContext.priv.registerInputPanel(parent)
-
- width: keyboardBackground.width
- height: keyboardBackground.height + (VirtualKeyboardSettings.wordCandidateList.alwaysVisible ? wordCandidateView.height : 0)
- onActiveChanged: {
- hideLanguagePopup()
- if (active && symbolMode && !preferNumbers)
- symbolMode = false
- keyboardInputArea.reset()
- wordCandidateViewAutoHideTimer.stop()
- }
- onActiveKeyChanged: {
- if (InputContext.inputEngine.activeKey !== Qt.Key_unknown)
- InputContext.inputEngine.virtualKeyCancel()
- }
- Connections {
- target: VirtualKeyboardSettings
- function onLocaleChanged() {
- updateDefaultLocale()
- localeIndex = defaultLocaleIndex
- }
- function onActiveLocalesChanged() {
- updateDefaultLocale()
- if (!isValidLocale(localeIndex) || VirtualKeyboardSettings.locale)
- localeIndex = defaultLocaleIndex
- }
- function onFullScreenModeChanged() {
- wordCandidateView.disableAnimation = VirtualKeyboardSettings.fullScreenMode
- keyboard.fullScreenMode = VirtualKeyboardSettings.fullScreenMode
- }
- }
- onAvailableLocaleIndicesChanged: hideLanguagePopup()
- onAvailableCustomLocaleIndicesChanged: hideLanguagePopup()
- onLocaleChanged: {
- hideLanguagePopup()
- inputMethodNeedsReset = true
- inputModeNeedsReset = true
- updateLayout()
- }
- onInputLocaleChanged: {
- if (Qt.locale(inputLocale).name !== "C")
- InputContext.priv.locale = inputLocale
- }
- onLayoutChanged: hideLanguagePopup()
- onLayoutTypeChanged: {
- updateAvailableLocaleIndices()
- updateLayout()
- }
- onLatinOnlyChanged: inputModeNeedsReset = true
- onPreferNumbersChanged: {
- keyboard.symbolMode = !keyboard.handwritingMode && preferNumbers
- inputModeNeedsReset = true
- }
- onDialableCharactersOnlyChanged: inputModeNeedsReset = true
- onFormattedNumbersOnlyChanged: inputModeNeedsReset = true
- onDigitsOnlyChanged: inputModeNeedsReset = true
- onHandwritingModeChanged: if (!keyboard.handwritingMode) keyboard.fullScreenHandwritingMode = false
- onFullScreenHandwritingModeChanged: if (keyboard.fullScreenHandwritingMode) keyboard.handwritingMode = true
- onLanguagePopupListActiveChanged: {
- if (languagePopupListActive && navigationModeActive)
- keyboardInputArea.initialKey = null
- }
-
- Connections {
- target: InputContext
- function onInputMethodHintsChanged() {
- if (InputContext.priv.focus)
- updateInputMethod()
- }
- }
- Connections {
- target: InputContext.priv
- function onInputItemChanged() {
- keyboard.hideLanguagePopup()
- if (active && symbolMode && !preferNumbers)
- symbolMode = false
- }
- function onFocusChanged() {
- if (InputContext.priv.focus)
- updateInputMethod()
- }
- function onNavigationKeyPressed(key, isAutoRepeat) {
- var initialKey
- var direction = wordCandidateView.effectiveLayoutDirection == Qt.LeftToRight ? 1 : -1
- switch (key) {
- case Qt.Key_Left:
- if (keyboard.navigationModeActive && !keyboardInputArea.initialKey) {
- if (languagePopupListActive) {
- hideLanguagePopup()
- keyboardInputArea.setActiveKey(null)
- keyboardInputArea.navigateToNextKey(0, 0, false)
- break
- }
- if (alternativeKeys.active) {
- if (alternativeKeys.listView.currentIndex > 0) {
- alternativeKeys.listView.decrementCurrentIndex()
- } else {
- alternativeKeys.close()
- keyboardInputArea.setActiveKey(null)
- keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- break
- }
- if (wordCandidateContextMenu.active) {
- hideWordCandidateContextMenu()
- break
- }
- if (wordCandidateView.count) {
- if (wordCandidateView.effectiveLayoutDirection == Qt.LeftToRight &&
- wordCandidateView.currentIndex > 0) {
- wordCandidateView.decrementCurrentIndex()
- } else if (wordCandidateView.effectiveLayoutDirection == Qt.RightToLeft &&
- wordCandidateView.currentIndex + 1 < wordCandidateView.count) {
- wordCandidateView.incrementCurrentIndex()
- } else {
- keyboardInputArea.navigateToNextKey(0, 0, false)
- initialKey = keyboardInputArea.initialKey
- while (keyboardInputArea.navigateToNextKey(0, 1 * direction, false))
- initialKey = keyboardInputArea.initialKey
- while (keyboardInputArea.navigateToNextKey(1, 0, false))
- initialKey = keyboardInputArea.initialKey
- keyboardInputArea.initialKey = initialKey
- keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- break
- }
- }
- initialKey = keyboardInputArea.initialKey
- if (!keyboardInputArea.navigateToNextKey(-1, 0, false)) {
- keyboardInputArea.initialKey = initialKey
- if (!keyboardInputArea.navigateToNextKey(0, -1 * direction, false)) {
- if (wordCandidateView.count) {
- if (wordCandidateView.count) {
- wordCandidateView.currentIndex =
- wordCandidateView.effectiveLayoutDirection == Qt.LeftToRight ?
- (wordCandidateView.count - 1) : 0
- break
- }
- break
- }
- keyboardInputArea.initialKey = initialKey
- keyboardInputArea.navigateToNextKey(0, -1 * direction, true)
- }
- keyboardInputArea.navigateToNextKey(-1, 0, true)
- }
- break
- case Qt.Key_Up:
- if (languagePopupListActive) {
- if (languagePopupList.currentIndex > 0) {
- languagePopupList.decrementCurrentIndex()
- } else if (languagePopupList.keyNavigationWraps) {
- languagePopupList.currentIndex = languagePopupList.count - 1
- } else {
- hideLanguagePopup()
- keyboardInputArea.setActiveKey(null)
- keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- } else if (alternativeKeys.active) {
- alternativeKeys.close()
- keyboardInputArea.setActiveKey(null)
- keyboardInputArea.navigateToNextKey(0, 0, false)
- } else if (wordCandidateContextMenu.active) {
- if (wordCandidateContextMenuList.currentIndex > 0) {
- wordCandidateContextMenuList.decrementCurrentIndex()
- } else if (wordCandidateContextMenuList.keyNavigationWraps && wordCandidateContextMenuList.count > 1) {
- wordCandidateContextMenuList.currentIndex = wordCandidateContextMenuList.count - 1
- } else {
- hideWordCandidateContextMenu()
- }
- } else if (keyboard.navigationModeActive && !keyboardInputArea.initialKey && wordCandidateView.count) {
- keyboardInputArea.navigateToNextKey(0, 0, false)
- initialKey = keyboardInputArea.initialKey
- if (!keyboardInputArea.navigateToNextKey(0, -1, false)) {
- keyboardInputArea.initialKey = initialKey
- keyboardInputArea.navigateToNextKey(0, -1, true)
- } else {
- keyboardInputArea.navigateToNextKey(0, 1, false)
- }
- } else if (!keyboardInputArea.navigateToNextKey(0, -1, !keyboard.navigationModeActive || !keyboardInputArea.initialKey || wordCandidateView.count == 0)) {
- if (wordCandidateView.currentIndex === -1)
- wordCandidateView.incrementCurrentIndex()
- }
- break
- case Qt.Key_Right:
- if (keyboard.navigationModeActive && !keyboardInputArea.initialKey) {
- if (languagePopupListActive) {
- hideLanguagePopup()
- keyboardInputArea.setActiveKey(null)
- keyboardInputArea.navigateToNextKey(0, 0, false)
- break
- }
- if (alternativeKeys.active) {
- if (alternativeKeys.listView.currentIndex + 1 < alternativeKeys.listView.count) {
- alternativeKeys.listView.incrementCurrentIndex()
- } else {
- alternativeKeys.close()
- keyboardInputArea.setActiveKey(null)
- keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- break
- }
- if (wordCandidateContextMenu.active) {
- hideWordCandidateContextMenu()
- break
- }
- if (wordCandidateView.count) {
- if (wordCandidateView.effectiveLayoutDirection == Qt.LeftToRight &&
- wordCandidateView.currentIndex + 1 < wordCandidateView.count) {
- wordCandidateView.incrementCurrentIndex()
- } else if (wordCandidateView.effectiveLayoutDirection == Qt.RightToLeft &&
- wordCandidateView.currentIndex > 0) {
- wordCandidateView.decrementCurrentIndex()
- } else {
- keyboardInputArea.navigateToNextKey(0, 0, false)
- initialKey = keyboardInputArea.initialKey
- while (keyboardInputArea.navigateToNextKey(0, -1 * direction, false))
- initialKey = keyboardInputArea.initialKey;
- while (keyboardInputArea.navigateToNextKey(-1, 0, false))
- initialKey = keyboardInputArea.initialKey;
- keyboardInputArea.initialKey = initialKey
- keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- break
- }
- }
- initialKey = keyboardInputArea.initialKey
- if (!keyboardInputArea.navigateToNextKey(1, 0, false)) {
- keyboardInputArea.initialKey = initialKey
- if (!keyboardInputArea.navigateToNextKey(0, 1 * direction, false)) {
- if (wordCandidateView.count) {
- wordCandidateView.currentIndex =
- wordCandidateView.effectiveLayoutDirection == Qt.LeftToRight ?
- 0 : (wordCandidateView.count - 1)
- break
- }
- keyboardInputArea.initialKey = initialKey
- keyboardInputArea.navigateToNextKey(0, 1 * direction, true)
- }
- keyboardInputArea.navigateToNextKey(1, 0, true)
- }
- break
- case Qt.Key_Down:
- if (languagePopupListActive) {
- if (languagePopupList.currentIndex + 1 < languagePopupList.count) {
- languagePopupList.incrementCurrentIndex()
- } else if (languagePopupList.keyNavigationWraps) {
- languagePopupList.currentIndex = 0
- } else {
- hideLanguagePopup()
- keyboardInputArea.setActiveKey(null)
- keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- } else if (alternativeKeys.active) {
- alternativeKeys.close()
- keyboardInputArea.setActiveKey(null)
- keyboardInputArea.navigateToNextKey(0, 0, false)
- } else if (wordCandidateContextMenu.active) {
- if (wordCandidateContextMenuList.currentIndex + 1 < wordCandidateContextMenuList.count) {
- wordCandidateContextMenuList.incrementCurrentIndex()
- } else if (wordCandidateContextMenuList.keyNavigationWraps && wordCandidateContextMenuList.count > 1) {
- wordCandidateContextMenuList.currentIndex = 0
- } else {
- hideWordCandidateContextMenu()
- keyboardInputArea.setActiveKey(null)
- keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- } else if (keyboard.navigationModeActive && !keyboardInputArea.initialKey && wordCandidateView.count) {
- keyboardInputArea.navigateToNextKey(0, 0, false)
- initialKey = keyboardInputArea.initialKey
- if (!keyboardInputArea.navigateToNextKey(0, 1, false)) {
- keyboardInputArea.initialKey = initialKey
- keyboardInputArea.navigateToNextKey(0, 1, true)
- } else {
- keyboardInputArea.navigateToNextKey(0, -1, false)
- }
- } else if (!keyboardInputArea.navigateToNextKey(0, 1, !keyboard.navigationModeActive || !keyboardInputArea.initialKey || wordCandidateView.count == 0)) {
- if (wordCandidateView.currentIndex === -1)
- wordCandidateView.incrementCurrentIndex()
- }
- break
- case Qt.Key_Return:
- if (!keyboard.navigationModeActive)
- break
- if (languagePopupListActive) {
- if (!isAutoRepeat) {
- languagePopupList.model.selectItem(languagePopupList.currentIndex)
- keyboardInputArea.reset()
- keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- } else if (keyboardInputArea.initialKey) {
- if (!isAutoRepeat) {
- pressAndHoldTimer.restart()
- keyboardInputArea.setActiveKey(keyboardInputArea.initialKey)
- keyboardInputArea.press(keyboardInputArea.initialKey, true)
- }
- } else if (!wordCandidateContextMenu.active && wordCandidateView.count > 0) {
- if (!isAutoRepeat) {
- pressAndHoldTimer.restart()
- }
- }
- break
- default:
- break
- }
- }
- function onNavigationKeyReleased(key, isAutoRepeat) {
- switch (key) {
- case Qt.Key_Return:
- if (!keyboard.navigationModeActive) {
- if (languagePopupListActive)
- languagePopupList.model.selectItem(languagePopupList.currentIndex)
- break
- }
- if (isAutoRepeat)
- break
- if (!languagePopupListActive && !alternativeKeys.active && !wordCandidateContextMenu.active && keyboard.activeKey) {
- keyboardInputArea.release(keyboard.activeKey)
- pressAndHoldTimer.stop()
- alternativeKeys.close()
- keyboardInputArea.setActiveKey(null)
- if (!languagePopupListActive && keyboardInputArea.navigationCursor !== Qt.point(-1, -1))
- keyboardInputArea.navigateToNextKey(0, 0, false)
- } else if (wordCandidateContextMenu.active) {
- if (!wordCandidateContextMenu.openedByNavigationKeyLongPress) {
- wordCandidateContextMenu.selectCurrentItem()
- keyboardInputArea.navigateToNextKey(0, 0, false)
- } else {
- wordCandidateContextMenu.openedByNavigationKeyLongPress = false
- }
- } else if (alternativeKeys.active) {
- if (!alternativeKeys.openedByNavigationKeyLongPress) {
- alternativeKeys.clicked()
- alternativeKeys.close()
- keyboardInputArea.navigateToNextKey(0, 0, false)
- keyboardInputArea.reset()
- } else {
- alternativeKeys.openedByNavigationKeyLongPress = false
- }
- } else if (!wordCandidateContextMenu.active && wordCandidateView.count > 0) {
- wordCandidateView.model.selectItem(wordCandidateView.currentIndex)
- if (!InputContext.preeditText.length)
- keyboardInputArea.navigateToNextKey(0, 1, true)
- }
- break
- default:
- break
- }
- }
- }
- Connections {
- target: InputContext.inputEngine
- function onVirtualKeyClicked(key, text, modifiers, isAutoRepeat) {
- if (isAutoRepeat && keyboard.activeKey)
- soundEffect.play(keyboard.activeKey.soundEffect)
- if (key !== Qt.Key_unknown && keyboardInputArea.dragSymbolMode) {
- keyboardInputArea.dragSymbolMode = false
- keyboard.symbolMode = false
- } else if (key === Qt.Key_Space) {
- var surroundingText = InputContext.surroundingText.trim()
- if (InputContext.priv.shiftHandler.sentenceEndingCharacters.indexOf(surroundingText.charAt(surroundingText.length-1)) >= 0)
- keyboard.symbolMode = false
- }
- }
- }
- FolderListModel {
- id: layoutsModel
- nameFilters: ["$"]
- folder: VirtualKeyboardSettings.layoutPath
- }
- Connections {
- target: layoutsModel
- function onCountChanged() {
- updateDefaultLocale()
- localeIndex = defaultLocaleIndex
- }
- }
- AlternativeKeys {
- id: alternativeKeys
- objectName: "alternativeKeys"
- // Add some extra margin for decoration
- property real horizontalMargin: style.alternateKeysListItemWidth
- property real verticalMargin: style.alternateKeysListItemHeight
- property rect previewRect: Qt.rect(keyboard.x + alternativeKeys.listView.x - horizontalMargin,
- keyboard.y + alternativeKeys.listView.y - verticalMargin,
- alternativeKeys.listView.width + horizontalMargin * 2,
- alternativeKeys.listView.height + verticalMargin * 2)
- property bool openedByNavigationKeyLongPress
- onVisibleChanged: {
- if (visible)
- InputContext.priv.previewRectangle = Qt.binding(function() {return previewRect})
- else
- openedByNavigationKeyLongPress = false
- InputContext.priv.previewVisible = visible
- }
- }
- Timer {
- id: pressAndHoldTimer
- interval: 800
- onTriggered: {
- if (keyboard.activeKey && keyboard.activeKey === keyboardInputArea.initialKey) {
- var origin = keyboard.mapFromItem(activeKey, activeKey.width / 2, 0)
- if (alternativeKeys.open(keyboard.activeKey, origin.x, origin.y)) {
- InputContext.inputEngine.virtualKeyCancel()
- keyboardInputArea.initialKey = null
- alternativeKeys.openedByNavigationKeyLongPress = keyboard.navigationModeActive
- } else if (keyboard.activeKey.key === Qt.Key_Context1 && !keyboard.symbolMode) {
- InputContext.inputEngine.virtualKeyCancel()
- keyboardInputArea.dragSymbolMode = true
- keyboard.symbolMode = true
- keyboardInputArea.initialKey = null
- if (keyboardInputArea.navigationCursor !== Qt.point(-1, -1))
- keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- } else if (keyboardInputArea.dragSymbolMode &&
- keyboard.activeKey &&
- keyboard.activeKey.functionKey &&
- !keyboard.activeKey.repeat) {
- InputContext.inputEngine.virtualKeyCancel()
- keyboardInputArea.click(keyboard.activeKey)
- keyboardInputArea.initialKey = null
- if (keyboardInputArea.navigationCursor !== Qt.point(-1, -1))
- keyboardInputArea.navigateToNextKey(0, 0, false)
- } else if (!wordCandidateContextMenu.active) {
- wordCandidateContextMenu.show(wordCandidateView.currentIndex)
- wordCandidateContextMenu.openedByNavigationKeyLongPress = keyboard.navigationModeActive
- }
- }
- }
- Timer {
- id: releaseInaccuracyTimer
- interval: 500
- onTriggered: {
- if (keyboardInputArea.pressed && activeTouchPoint && !alternativeKeys.active && !keyboardInputArea.dragSymbolMode) {
- var key = keyboardInputArea.keyOnPoint(activeTouchPoint.x, activeTouchPoint.y)
- if (key !== keyboard.activeKey) {
- InputContext.inputEngine.virtualKeyCancel()
- keyboardInputArea.setActiveKey(key)
- keyboardInputArea.press(key, false)
- }
- }
- }
- }
- CharacterPreviewBubble {
- id: characterPreview
- objectName: "characterPreviewBubble"
- active: keyboardInputArea.pressed && !alternativeKeys.active
- property rect previewRect: Qt.rect(keyboard.x + characterPreview.x,
- keyboard.y + characterPreview.y,
- characterPreview.width,
- characterPreview.height)
- }
- Binding {
- target: InputContext.priv
- property: "previewRectangle"
- value: characterPreview.previewRect
- when: characterPreview.visible
- restoreMode: Binding.RestoreBinding
- }
- Binding {
- target: InputContext.priv
- property: "previewRectangle"
- value: languagePopupList.previewRect
- when: languagePopupListActive
- restoreMode: Binding.RestoreBinding
- }
- Binding {
- target: InputContext.priv
- property: "previewVisible"
- value: characterPreview.visible || languagePopupListActive
- restoreMode: Binding.RestoreBinding
- }
- Loader {
- id: styleLoader
- source: VirtualKeyboardSettings.style
- Binding {
- target: styleLoader.item
- property: "keyboardHeight"
- value: keyboardInnerContainer.height
- restoreMode: Binding.RestoreBinding
- }
- }
- Loader {
- id: naviationHighlight
- objectName: "naviationHighlight"
- property var highlightItem: {
- if (keyboard.navigationModeActive) {
- if (keyboardInputArea.initialKey) {
- return keyboardInputArea.initialKey
- } else if (languagePopupListActive) {
- return languagePopupList.highlightItem
- } else if (alternativeKeys.listView.count > 0) {
- return alternativeKeys.listView.highlightItem
- } else if (wordCandidateContextMenu.active) {
- return wordCandidateContextMenuList.highlightItem
- } else if (wordCandidateView.count > 0) {
- return wordCandidateView.highlightItem
- }
- }
- return keyboard
- }
- // Note: without "highlightItem.x - highlightItem.x" the binding does not work for alternativeKeys
- property var highlightItemOffset: highlightItem ? keyboard.mapFromItem(highlightItem, highlightItem.x - highlightItem.x, highlightItem.y - highlightItem.y) : ({x:0, y:0})
- property int moveDuration: 200
- property int resizeDuration: 200
- property alias xAnimation: xAnimation
- property alias yAnimation: yAnimation
- property alias widthAnimation: widthAnimation
- property alias heightAnimation: heightAnimation
- z: 2
- x: highlightItemOffset.x
- y: highlightItemOffset.y
- width: highlightItem ? highlightItem.width : 0
- height: highlightItem ? highlightItem.height : 0
- visible: keyboard.navigationModeActive && highlightItem !== null && highlightItem !== keyboard
- sourceComponent: keyboard.style.navigationHighlight
- Behavior on x {
- NumberAnimation { id: xAnimation; duration: naviationHighlight.moveDuration; easing.type: Easing.OutCubic }
- }
- Behavior on y {
- NumberAnimation { id: yAnimation; duration: naviationHighlight.moveDuration; easing.type: Easing.OutCubic }
- }
- Behavior on width {
- NumberAnimation { id: widthAnimation; duration: naviationHighlight.resizeDuration; easing.type: Easing.OutCubic }
- }
- Behavior on height {
- NumberAnimation { id: heightAnimation; duration: naviationHighlight.resizeDuration; easing.type: Easing.OutCubic }
- }
- }
-
- ShadowInputControl {
- id: shadowInputControl
- objectName: "shadowInputControl"
- z: -3
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: wordCandidateView.top
- height: (keyboard.parent.parent ? keyboard.parent.parent.height : Screen.height) -
- keyboard.height - (wordCandidateView.visibleCondition && !VirtualKeyboardSettings.wordCandidateList.alwaysVisible ? wordCandidateView.height : 0)
- visible: fullScreenMode && (shadowInputControlVisibleTimer.running || InputContext.animating)
-
- Connections {
- target: keyboard
- function onActiveChanged() {
- if (keyboard.active)
- shadowInputControlVisibleTimer.start()
- else
- shadowInputControlVisibleTimer.stop()
- }
- }
-
- Timer {
- id: shadowInputControlVisibleTimer
- interval: 2147483647
- repeat: true
- }
-
- MouseArea {
- onPressed: keyboard.hideLanguagePopup()
- anchors.fill: parent
- enabled: languagePopupList.enabled
- }
- }
-
- SelectionControl {
- objectName: "fullScreenModeSelectionControl"
- inputContext: InputContext.priv.shadow
- anchors.top: shadowInputControl.top
- anchors.left: shadowInputControl.left
- enabled: keyboard.enabled && fullScreenMode
- }
-
- ListView {
- id: wordCandidateView
- objectName: "wordCandidateView"
- clip: true
- z: -2
- property bool disableAnimation: VirtualKeyboardSettings.fullScreenMode
- property bool empty: true
- readonly property bool visibleCondition: (((!wordCandidateView.empty || wordCandidateViewAutoHideTimer.running || shadowInputControl.visible) &&
- InputContext.inputEngine.wordCandidateListVisibleHint) || VirtualKeyboardSettings.wordCandidateList.alwaysVisible) &&
- (keyboard.active || shadowInputControl.visible)
- readonly property real visibleYOffset: VirtualKeyboardSettings.wordCandidateList.alwaysVisible ? 0 : -height
- readonly property real currentYOffset: visibleCondition || wordCandidateViewTransition.running ? visibleYOffset : 0
- height: Math.round(style.selectionListHeight)
- anchors.left: parent.left
- anchors.right: parent.right
- spacing: 0
- orientation: ListView.Horizontal
- snapMode: ListView.SnapToItem
- delegate: style.selectionListDelegate
- highlight: style.selectionListHighlight ? style.selectionListHighlight : defaultHighlight
- highlightMoveDuration: 0
- highlightResizeDuration: 0
- add: style.selectionListAdd
- remove: style.selectionListRemove
- keyNavigationWraps: true
- model: InputContext.inputEngine.wordCandidateListModel
- onCurrentItemChanged: if (currentItem) soundEffect.register(currentItem.soundEffect)
- Connections {
- target: wordCandidateView.model ? wordCandidateView.model : null
- function onActiveItemChanged(index) { wordCandidateView.currentIndex = index }
- function onItemSelected() { if (wordCandidateView.currentItem) soundEffect.play(wordCandidateView.currentItem.soundEffect) }
- function onCountChanged() {
- var empty = wordCandidateView.model.count === 0
- if (empty)
- wordCandidateViewAutoHideTimer.restart()
- else
- wordCandidateViewAutoHideTimer.stop()
- wordCandidateView.empty = empty
- keyboard.hideWordCandidateContextMenu()
- }
- }
- Connections {
- target: InputContext.priv
- function onInputItemChanged() { wordCandidateViewAutoHideTimer.stop() }
- }
- Connections {
- target: InputContext.inputEngine
- function onWordCandidateListVisibleHintChanged() { wordCandidateViewAutoHideTimer.stop() }
- }
- Timer {
- id: wordCandidateViewAutoHideTimer
- interval: VirtualKeyboardSettings.wordCandidateList.autoHideDelay
- }
- Loader {
- sourceComponent: style.selectionListBackground
- anchors.fill: parent
- z: -1
- }
- Component {
- id: defaultHighlight
- Item {}
- }
- states: State {
- name: "visible"
- when: wordCandidateView.visibleCondition
- PropertyChanges {
- target: wordCandidateView
- y: wordCandidateView.visibleYOffset
- }
- }
- transitions: Transition {
- id: wordCandidateViewTransition
- to: "visible"
- enabled: !InputContext.animating && !VirtualKeyboardSettings.wordCandidateList.alwaysVisible && !wordCandidateView.disableAnimation
- reversible: true
- ParallelAnimation {
- NumberAnimation {
- properties: "y"
- duration: 250
- easing.type: Easing.InOutQuad
- }
- }
- }
-
- function longPressItem(index) {
- return keyboard.showWordCandidateContextMenu(index)
- }
- }
-
- Item {
- id: soundEffect
- property var __sounds: ({})
- property bool available: false
-
- signal playingChanged(url source, bool playing)
-
- Connections {
- target: VirtualKeyboardSettings
- function onStyleNameChanged() {
- soundEffect.__sounds = {}
- soundEffect.available = false
- }
- }
-
- function play(sound) {
- if (enabled && sound != Qt.resolvedUrl("")) {
- var soundId = Qt.md5(sound)
- var multiSoundEffect = __sounds[soundId]
- if (!multiSoundEffect)
- multiSoundEffect = register(sound)
- if (multiSoundEffect)
- multiSoundEffect.play()
- }
- }
-
- function register(sound) {
- var multiSoundEffect = null
- if (enabled && sound != Qt.resolvedUrl("")) {
- var soundId = Qt.md5(sound)
- multiSoundEffect = __sounds[soundId]
- if (!multiSoundEffect) {
- multiSoundEffect = Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard 2.1; MultiSoundEffect {}', soundEffect)
- if (multiSoundEffect) {
- multiSoundEffect.playingChanged.connect(soundEffect.playingChanged)
- multiSoundEffect.source = sound
- __sounds[soundId] = multiSoundEffect
- available = true
- }
- }
- }
- return multiSoundEffect
- }
- }
-
- Loader {
- id: keyboardBackground
- z: -1
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: parent.bottom
- height: keyboardInnerContainer.height
- sourceComponent: style.keyboardBackground
-
- Item {
- id: keyboardInnerContainer
- z: 1
- width: Math.round(keyboardBackground.width)
- height: Math.round(style.keyboardDesignHeight * width / style.keyboardDesignWidth)
- anchors.horizontalCenter: parent.horizontalCenter
- LayoutMirroring.enabled: false
- LayoutMirroring.childrenInherit: true
-
- Loader {
- id: keyboardLayoutLoader
- objectName: "keyboardLayoutLoader"
-
- anchors.fill: parent
- anchors.leftMargin: Math.round(style.keyboardRelativeLeftMargin * parent.width)
- anchors.rightMargin: Math.round(style.keyboardRelativeRightMargin * parent.width)
- anchors.topMargin: Math.round(style.keyboardRelativeTopMargin * parent.height)
- anchors.bottomMargin: Math.round(style.keyboardRelativeBottomMargin * parent.height)
-
- Binding {
- target: keyboardLayoutLoader
- property: "source"
- value: keyboard.layout
- when: keyboard.layout.length > 0
- restoreMode: Binding.RestoreBinding
- }
-
- onItemChanged: {
- // Reset input mode if the new layout wants to override it
- if (item && item.inputMode !== -1)
- inputModeNeedsReset = true
- }
-
- MultiPointTouchArea {
- id: keyboardInputArea
- objectName: "keyboardInputArea"
-
- property var initialKey: null
- property bool dragSymbolMode
- property real releaseMargin: initialKey !== null ? Math.min(initialKey.width / 3, initialKey.height / 3) : 0
- property point navigationCursor: Qt.point(-1, -1)
-
- anchors.fill: keyboardLayoutLoader
-
- Connections {
- target: keyboardLayoutLoader
- function onStatusChanged() {
- if (keyboardLayoutLoader.status == Loader.Ready &&
- keyboard.navigationModeActive &&
- keyboardInputArea.navigationCursor !== Qt.point(-1, -1))
- keyboard.navigationModeActive = keyboardInputArea.navigateToNextKey(0, 0, false)
- }
- }
- Connections {
- target: keyboard
- function onNavigationModeActiveChanged() {
- if (!keyboard.navigationModeActive) {
- keyboardInputArea.navigationCursor = Qt.point(-1, -1)
- keyboardInputArea.reset()
- }
- }
- }
-
- function press(key, isRealPress) {
- if (key && key.enabled) {
- if (!key.noKeyEvent)
- InputContext.inputEngine.virtualKeyPress(key.key, key.uppercased ? key.text.toUpperCase() : key.text, key.uppercased ? Qt.ShiftModifier : 0, key.repeat && !dragSymbolMode)
- if (isRealPress)
- soundEffect.play(key.soundEffect)
- }
- }
- function release(key) {
- if (key && key.enabled) {
- if (!key.noKeyEvent)
- InputContext.inputEngine.virtualKeyRelease(key.key, key.uppercased ? key.text.toUpperCase() : key.text, key.uppercased ? Qt.ShiftModifier : 0)
- key.clicked()
- }
- }
- function click(key) {
- if (key && key.enabled) {
- if (!key.noKeyEvent)
- InputContext.inputEngine.virtualKeyClick(key.key, InputContext.uppercase ? key.text.toUpperCase() : key.text, InputContext.uppercase ? Qt.ShiftModifier : 0)
- key.clicked()
- }
- }
- function setActiveKey(activeKey) {
- if (keyboard.activeKey === activeKey)
- return
- if (keyboard.activeKey) {
- keyboard.activeKey.active = false
- }
- keyboard.activeKey = activeKey
- if (keyboard.activeKey) {
- keyboard.activeKey.active = true
- }
- }
- function keyOnPoint(px, py) {
- var parentItem = keyboardLayoutLoader
- var child = parentItem.childAt(px, py)
- while (child !== null) {
- var position = parentItem.mapToItem(child, px, py)
- px = position.x; py = position.y
- parentItem = child
- child = parentItem.childAt(px, py)
- if (child && child.key !== undefined)
- return child
- }
- return null
- }
- function hitInitialKey(x, y, margin) {
- if (!initialKey)
- return false
- var position = initialKey.mapFromItem(keyboardInputArea, x, y)
- return (position.x > -margin
- && position.y > -margin
- && position.x < initialKey.width + margin
- && position.y < initialKey.height + margin)
- }
- function containsPoint(touchPoints, point) {
- if (!point)
- return false
- for (var i in touchPoints)
- if (touchPoints[i].pointId == point.pointId)
- return true
- return false
- }
- function releaseActiveKey() {
- if (alternativeKeys.active) {
- alternativeKeys.clicked()
- } else if (keyboard.activeKey) {
- release(keyboard.activeKey)
- }
- reset()
- }
- function reset() {
- releaseInaccuracyTimer.stop()
- pressAndHoldTimer.stop()
- setActiveKey(null)
- activeTouchPoint = null
- alternativeKeys.close()
- if (dragSymbolMode) {
- keyboard.symbolMode = false
- dragSymbolMode = false
- }
- }
- function nextKeyInNavigation(dX, dY, wrapEnabled) {
- var nextKey = null, x, y, itemOffset
- if (dX !== 0 || dY !== 0) {
- var offsetX, offsetY
- for (offsetX = dX, offsetY = dY;
- Math.abs(offsetX) < width && Math.abs(offsetY) < height;
- offsetX += dX, offsetY += dY) {
- x = navigationCursor.x + offsetX
- if (x < 0) {
- if (!wrapEnabled)
- break
- x += width
- } else if (x >= width) {
- if (!wrapEnabled)
- break
- x -= width
- }
- y = navigationCursor.y + offsetY
- if (y < 0) {
- if (!wrapEnabled)
- break
- y += height
- } else if (y >= height) {
- if (!wrapEnabled)
- break
- y -= height
- }
- nextKey = keyOnPoint(x, y)
- if (nextKey) {
- // Check if key is visible. Only the visible keys have keyPanelDelegate set.
- if (nextKey != initialKey && nextKey.hasOwnProperty("keyPanelDelegate") && nextKey.keyPanelDelegate)
- break
- // Jump over the item to reduce the number of iterations in this loop
- itemOffset = mapToItem(nextKey, x, y)
- if (dX > 0)
- offsetX += nextKey.width - itemOffset.x
- else if (dX < 0)
- offsetX -= itemOffset.x
- else if (dY > 0)
- offsetY += nextKey.height - itemOffset.y
- else if (dY < 0)
- offsetY -= itemOffset.y
- }
- nextKey = null
- }
- } else {
- nextKey = keyOnPoint(navigationCursor.x, navigationCursor.y)
- }
- if (nextKey) {
- itemOffset = mapFromItem(nextKey, nextKey.width / 2, nextKey.height / 2)
- if (dX) {
- x = itemOffset.x
- } else if (dY) {
- y = itemOffset.y
- } else {
- x = itemOffset.x
- y = itemOffset.y
- }
- navigationCursor = Qt.point(x, y)
- }
- return nextKey
- }
- function navigateToNextKey(dX, dY, wrapEnabled) {
- // Resolve initial landing point of the navigation cursor
- if (!keyboard.navigationModeActive || keyboard.navigationCursor === Qt.point(-1, -1)) {
- if (dX > 0)
- navigationCursor = Qt.point(0, height / 2)
- else if (dX < 0)
- navigationCursor = Qt.point(width, height / 2)
- else if (dY > 0)
- navigationCursor = Qt.point(width / 2, 0)
- else if (dY < 0)
- navigationCursor = Qt.point(width / 2, height)
- else
- navigationCursor = Qt.point(width / 2, height / 2)
- keyboard.navigationModeActive = true
- }
- if (dX && dY) {
- initialKey = nextKeyInNavigation(dX, 0, wrapEnabled)
- if (initialKey || wrapEnabled)
- initialKey = nextKeyInNavigation(0, dY, wrapEnabled)
- } else {
- initialKey = nextKeyInNavigation(dX, dY, wrapEnabled)
- }
- return initialKey !== null
- }
-
- onPressed: {
- keyboard.navigationModeActive = false
-
- // Immediately release any pending key that the user might be
- // holding (and about to release) when a second key is pressed.
- if (activeTouchPoint)
- releaseActiveKey();
-
- for (var i in touchPoints) {
- // Release any key pressed by a previous iteration of the loop.
- if (containsPoint(touchPoints, activeTouchPoint))
- releaseActiveKey();
-
- releaseInaccuracyTimer.start()
- pressAndHoldTimer.start()
- initialKey = keyOnPoint(touchPoints[i].x, touchPoints[i].y)
- activeTouchPoint = touchPoints[i]
- setActiveKey(initialKey)
- press(initialKey, true)
- }
- }
- onUpdated: {
- if (!containsPoint(touchPoints, activeTouchPoint))
- return
-
- if (alternativeKeys.active) {
- alternativeKeys.move(mapToItem(alternativeKeys, activeTouchPoint.x, 0).x)
- } else {
- var key = null
- if (releaseInaccuracyTimer.running) {
- if (hitInitialKey(activeTouchPoint.x, activeTouchPoint.y, releaseMargin)) {
- key = initialKey
- } else if (initialKey) {
- releaseInaccuracyTimer.stop()
- initialKey = null
- }
- }
- if (key === null) {
- key = keyOnPoint(activeTouchPoint.x, activeTouchPoint.y)
- }
- if (key !== keyboard.activeKey) {
- InputContext.inputEngine.virtualKeyCancel()
- setActiveKey(key)
- press(key, false)
- if (dragSymbolMode) {
- if (key && key.functionKey && key.key !== Qt.Key_Context1)
- pressAndHoldTimer.restart()
- else
- pressAndHoldTimer.stop()
- }
- }
- }
- }
- onReleased: {
- if (containsPoint(touchPoints, activeTouchPoint)) {
- if (dragSymbolMode) {
- var key = keyOnPoint(activeTouchPoint.x, activeTouchPoint.y)
- if (key && key.key === Qt.Key_Context1) {
- dragSymbolMode = false
- InputContext.inputEngine.virtualKeyCancel()
- reset()
- return
- }
- }
- releaseActiveKey();
- }
- }
- onCanceled: {
- if (containsPoint(touchPoints, activeTouchPoint))
- reset()
- }
- }
- }
- }
- }
-
- Item {
- id: languagePopup
- z: 1
- anchors.fill: parent
- LayoutMirroring.enabled: false
- LayoutMirroring.childrenInherit: true
-
- MouseArea {
- onPressed: keyboard.hideLanguagePopup()
- anchors.fill: parent
- enabled: languagePopupList.enabled
- }
-
- PopupList {
- id: languagePopupList
- objectName: "languagePopupList"
- z: 2
- anchors.left: parent.left
- anchors.top: parent.top
- enabled: false
- model: languageListModel
- delegate: keyboard.style ? keyboard.style.languageListDelegate : null
- highlight: keyboard.style ? keyboard.style.languageListHighlight : defaultHighlight
- add: keyboard.style ? keyboard.style.languageListAdd : null
- remove: keyboard.style ? keyboard.style.languageListRemove : null
- background: keyboard.style ? keyboard.style.languageListBackground : null
- property rect previewRect: Qt.rect(keyboard.x + languagePopupList.x,
- keyboard.y + languagePopupList.y,
- languagePopupList.width,
- languagePopupList.height)
- }
-
- ListModel {
- id: languageListModel
-
- function selectItem(index) {
- languagePopupList.currentIndex = index
- keyboard.soundEffect.play(languagePopupList.currentItem.soundEffect)
- changeLanguageTimer.newLocaleIndex = languageListModel.get(index).localeIndex
- changeLanguageTimer.start()
- }
- }
-
- Timer {
- id: changeLanguageTimer
- interval: 1
- property int newLocaleIndex
- onTriggered: {
- if (languagePopupListActive) {
- hideLanguagePopup()
- start()
- } else {
- localeIndex = newLocaleIndex
- }
- }
- }
-
- function show(locales, parentItem, customLayoutsOnly) {
- if (!languagePopupList.enabled) {
- languageListModel.clear()
- for (var i = 0; i < locales.length; i++) {
- languageListModel.append({localeName: locales[i].name, displayName: locales[i].locale.nativeLanguageName, localeIndex: locales[i].index})
- if (locales[i].index === keyboard.localeIndex)
- languagePopupList.currentIndex = i
- }
- languagePopupList.positionViewAtIndex(languagePopupList.currentIndex, ListView.Center)
- languagePopupList.anchors.leftMargin = Qt.binding(function() {return Math.round(keyboard.mapFromItem(parentItem, (parentItem.width - languagePopupList.width) / 2, 0).x)})
- languagePopupList.anchors.topMargin = Qt.binding(function() {return Math.round(keyboard.mapFromItem(parentItem, 0, -languagePopupList.height).y)})
- }
- languagePopupList.enabled = true
- }
-
- function hide() {
- if (languagePopupList.enabled) {
- languagePopupList.enabled = false
- languagePopupList.anchors.leftMargin = undefined
- languagePopupList.anchors.topMargin = undefined
- languageListModel.clear()
- }
- }
- }
-
- function showLanguagePopup(parentItem, customLayoutsOnly) {
- var locales = keyboard.listLocales(customLayoutsOnly, parent.externalLanguageSwitchEnabled)
- if (parent.externalLanguageSwitchEnabled) {
- var currentIndex = 0
- for (var i = 0; i < locales.length; i++) {
- if (locales[i] === keyboard.locale) {
- currentIndex = i
- break
- }
- }
- parent.externalLanguageSwitch(locales, currentIndex)
- return
- }
- languagePopup.show(locales, parentItem, customLayoutsOnly)
- }
-
- function hideLanguagePopup() {
- languagePopup.hide()
- }
-
- MouseArea {
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: parent.bottom
- height: keyboard.parent.parent ? keyboard.parent.parent.height : Screen.height
- onPressed: keyboard.hideWordCandidateContextMenu()
- enabled: wordCandidateContextMenuList.enabled
- }
-
- Item {
- id: wordCandidateContextMenu
- objectName: "wordCandidateContextMenu"
- z: 1
- anchors.fill: parent
- LayoutMirroring.enabled: false
- LayoutMirroring.childrenInherit: true
- property int previousWordCandidateIndex: -1
- readonly property bool active: wordCandidateContextMenuList.visible
- property bool openedByNavigationKeyLongPress
-
- PopupList {
- id: wordCandidateContextMenuList
- objectName: "wordCandidateContextMenuList"
- z: 2
- anchors.left: parent.left
- anchors.top: parent.top
- enabled: false
- model: wordCandidateContextMenuListModel
- property rect previewRect: Qt.rect(keyboard.x + wordCandidateContextMenuList.x,
- keyboard.y + wordCandidateContextMenuList.y,
- wordCandidateContextMenuList.width,
- wordCandidateContextMenuList.height)
- }
-
- ListModel {
- id: wordCandidateContextMenuListModel
-
- function selectItem(index) {
- wordCandidateContextMenu.previousWordCandidateIndex = -1
- wordCandidateContextMenuList.currentIndex = index
- keyboard.soundEffect.play(wordCandidateContextMenuList.currentItem.soundEffect)
- switch (get(index).action) {
- case "remove":
- wordCandidateView.model.removeItem(wordCandidateView.currentIndex)
- break
- }
- keyboard.hideWordCandidateContextMenu()
- }
- }
-
- function show(wordCandidateIndex) {
- if (wordCandidateContextMenu.enabled)
- wordCandidateContextMenu.hide()
-
- wordCandidateContextMenuListModel.clear()
-
- var canRemoveSuggestion = wordCandidateView.model.dataAt(wordCandidateIndex, SelectionListModel.Role.CanRemoveSuggestion)
- if (canRemoveSuggestion) {
- var dictionaryType = wordCandidateView.model.dataAt(wordCandidateIndex, SelectionListModel.Role.Dictionary)
- var removeItemText;
- switch (dictionaryType) {
- case SelectionListModel.DictionaryType.User:
- //~ VirtualKeyboard Context menu for word suggestion if it can be removed from the user dictionary.
- removeItemText = qsTr("Remove from dictionary")
- break
- case SelectionListModel.DictionaryType.Default:
- // Fallthrough
- default:
- //~ VirtualKeyboard Context menu for word suggestion if it can be removed from the default dictionary.
- removeItemText = qsTr("Block word")
- break
- }
- wordCandidateContextMenuListModel.append({action: "remove", display: removeItemText, wordCompletionLength: 0})
- }
-
- if (wordCandidateContextMenuListModel.count === 0)
- return
-
- previousWordCandidateIndex = wordCandidateView.currentIndex
- wordCandidateView.currentIndex = wordCandidateIndex
-
- wordCandidateContextMenuList.anchors.leftMargin = Qt.binding(function() {
- var leftBorder = Math.round(wordCandidateView.mapFromItem(wordCandidateView.currentItem, (wordCandidateView.currentItem.width - wordCandidateContextMenuList.width) / 2, 0).x)
- var rightBorder = Math.round(wordCandidateContextMenuList.parent.width - wordCandidateContextMenuList.width)
- return Math.min(leftBorder, rightBorder)
- })
-
- wordCandidateContextMenuList.enabled = true
- }
-
- function hide() {
- if (wordCandidateContextMenuList.enabled) {
- if (previousWordCandidateIndex !== -1) {
- wordCandidateView.currentIndex = previousWordCandidateIndex
- previousWordCandidateIndex = -1
- }
- wordCandidateContextMenuList.enabled = false
- wordCandidateContextMenuList.anchors.leftMargin = undefined
- wordCandidateContextMenuListModel.clear()
- }
- openedByNavigationKeyLongPress = false
- }
-
- function selectCurrentItem() {
- if (active && wordCandidateContextMenuList.currentIndex !== -1)
- wordCandidateContextMenuListModel.selectItem(wordCandidateContextMenuList.currentIndex)
- }
- }
-
- function showWordCandidateContextMenu(wordCandidateIndex) {
- wordCandidateContextMenu.show(wordCandidateIndex)
- }
-
- function hideWordCandidateContextMenu() {
- wordCandidateContextMenu.hide()
- }
-
- function updateInputMethod() {
- if (!keyboardLayoutLoader.item)
- return
- if (!InputContext.priv.focus)
- return
-
- // Reset the custom input method if it is not included in the list of shared layouts
- if (customInputMethod && !inputMethodNeedsReset && customInputMethodSharedLayouts.indexOf(layoutType) === -1)
- inputMethodNeedsReset = true
-
- if (inputMethodNeedsReset) {
- if (customInputMethod) {
- customInputMethod.destroy()
- customInputMethod = null
- }
- customInputMethodSharedLayouts = []
- inputMethodNeedsReset = false
- }
-
- var inputMethod = null
- var inputMode = InputContext.inputEngine.inputMode
-
- // Use input method from keyboard layout
- if (keyboardLayoutLoader.item.inputMethod) {
- inputMethod = keyboardLayoutLoader.item.inputMethod
- } else if (!customInputMethod) {
- try {
- customInputMethod = keyboardLayoutLoader.item.createInputMethod()
- if (customInputMethod) {
- // Pull the list of shared layouts from the keyboard layout
- if (keyboardLayoutLoader.item.sharedLayouts)
- customInputMethodSharedLayouts = customInputMethodSharedLayouts.concat(keyboardLayoutLoader.item.sharedLayouts)
-
- // Make sure the current layout is included in the list
- if (customInputMethodSharedLayouts.indexOf(layoutType) === -1)
- customInputMethodSharedLayouts.push(layoutType)
-
- // Reset input mode, since inputEngine.inputModes is updated
- inputModeNeedsReset = true
- }
- } catch (e) {
- console.error(e.message)
- }
- }
- if (!inputMethod)
- inputMethod = customInputMethod ? customInputMethod : defaultInputMethod
-
- var inputMethodChanged = InputContext.inputEngine.inputMethod !== inputMethod
- if (inputMethodChanged) {
- InputContext.inputEngine.inputMethod = inputMethod
- }
-
- if (InputContext.inputEngine.inputMethod) {
- var inputModes = InputContext.inputEngine.inputModes
- if (inputModes.length > 0) {
- // Reset to default input mode if the input locale has changed
- if (inputModeNeedsReset) {
- inputMode = inputModes[0]
-
- // Check the current layout for input mode override
- if (keyboardLayoutLoader.item.inputMode !== -1)
- inputMode = keyboardLayoutLoader.item.inputMode
-
- // Update input mode automatically in handwriting mode
- if (keyboard.handwritingMode) {
- if (keyboard.dialableCharactersOnly && inputModes.indexOf(InputEngine.InputMode.Dialable) !== -1)
- inputMode = InputEngine.InputMode.Dialable
- else if ((keyboard.formattedNumbersOnly || keyboard.digitsOnly) && inputModes.indexOf(InputEngine.InputMode.Numeric) !== -1)
- inputMode = InputEngine.InputMode.Numeric
- else if (keyboardLayoutLoader.item.inputMode === -1)
- inputMode = inputModes[0]
- }
-
- // Check the input method hints for input mode overrides
- if (latinOnly)
- inputMode = InputEngine.InputMode.Latin
- if (preferNumbers)
- inputMode = InputEngine.InputMode.Numeric
- }
-
- // Make sure the input mode is supported by the current input method
- if (inputModes.indexOf(inputMode) === -1)
- inputMode = inputModes[0]
-
- if (InputContext.inputEngine.inputMode !== inputMode || inputMethodChanged || inputModeNeedsReset)
- InputContext.inputEngine.inputMode = inputMode
-
- inputModeNeedsReset = false
- }
- }
-
- // Clear the toggle shift timer
- InputContext.priv.shiftHandler.clearToggleShiftTimer()
- }
-
- function updateLayout() {
- var newLayout
- newLayout = findLayout(locale, layoutType)
- if (!newLayout.length) {
- newLayout = findLayout(locale, "main")
- }
- layout = newLayout
- inputLocale = locale
- updateInputMethod()
- }
-
- function updateDefaultLocale() {
- updateAvailableLocaleIndices()
- if (layoutsModel.count > 0) {
- var defaultLocales = []
- if (isValidLocale(VirtualKeyboardSettings.locale))
- defaultLocales.push(VirtualKeyboardSettings.locale)
- if (isValidLocale(InputContext.locale))
- defaultLocales.push(InputContext.locale)
- if (VirtualKeyboardSettings.activeLocales.length > 0 && isValidLocale(VirtualKeyboardSettings.activeLocales[0]))
- defaultLocales.push(VirtualKeyboardSettings.activeLocales[0])
- if (VirtualKeyboardSettings.availableLocales.indexOf("en_GB") !== -1)
- defaultLocales.push("en_GB")
- if (availableLocaleIndices.length > 0)
- defaultLocales.push(layoutsModel.get(availableLocaleIndices[0], "fileName"))
- var newDefaultLocaleIndex = -1
- for (var i = 0; i < defaultLocales.length; i++) {
- newDefaultLocaleIndex = findLocale(defaultLocales[i], -1)
- if (availableLocaleIndices.indexOf(newDefaultLocaleIndex) !== -1)
- break;
- newDefaultLocaleIndex = -1
- }
- defaultLocaleIndex = newDefaultLocaleIndex
- } else {
- defaultLocaleIndex = -1
- }
- }
-
- function filterLocaleIndices(filterCb) {
- var localeIndices = []
- for (var i = 0; i < layoutsModel.count; i++) {
- if (localeIndices.indexOf(i) === -1) {
- var localeName = layoutsModel.get(i, "fileName")
- if (filterCb(localeName) && findLayout(localeName, "main"))
- localeIndices.push(i)
- }
- }
- return localeIndices
- }
-
- function updateAvailableLocaleIndices() {
- // Update list of all available locales
- var fallbackIndex = findFallbackIndex()
- var newIndices = filterLocaleIndices(function(localeName) {
- return isValidLocale(localeName)
- })
-
- // Handle case where the VirtualKeyboardSettings.activeLocales contains no valid entries
- // Fetch all locales by ignoring active locales setting
- if (newIndices.length === 0) {
- newIndices = filterLocaleIndices(function(localeName) {
- return isValidLocale(localeName, true)
- })
- }
-
- // Fetch matching locale names
- var newAvailableLocales = []
- for (var i = 0; i < newIndices.length; i++) {
- newAvailableLocales.push(layoutsModel.get(newIndices[i], "fileName"))
- }
-
- newIndices.sort(function(a, b) { return a - b })
- availableLocaleIndices = newIndices
- newAvailableLocales.sort()
- InputContext.priv.updateAvailableLocales(newAvailableLocales)
-
- // Update list of custom locale indices
- newIndices = []
- for (i = 0; i < availableLocaleIndices.length; i++) {
- if (availableLocaleIndices[i] === localeIndex ||
- layoutExists(layoutsModel.get(availableLocaleIndices[i], "fileName"), layoutType))
- newIndices.push(availableLocaleIndices[i])
- }
- availableCustomLocaleIndices = newIndices
- }
-
- function listLocales(customLayoutsOnly, localeNameOnly) {
- var locales = []
- var localeIndices = customLayoutsOnly ? availableCustomLocaleIndices : availableLocaleIndices
- for (var i = 0; i < localeIndices.length; i++) {
- var layoutFolder = layoutsModel.get(localeIndices[i], "fileName")
- if (localeNameOnly)
- locales.push(layoutFolder)
- else
- locales.push({locale:Qt.locale(layoutFolder), index:localeIndices[i], name:layoutFolder})
- }
- return locales
- }
-
- function nextLocaleIndex(customLayoutsOnly) {
- var newLocaleIndex = localeIndex
- var localeIndices = customLayoutsOnly ? availableCustomLocaleIndices : availableLocaleIndices
- var i = localeIndices.indexOf(localeIndex)
- if (i !== -1) {
- i = (i + 1) % localeIndices.length
- newLocaleIndex = localeIndices[i]
- }
- return newLocaleIndex
- }
-
- function changeInputLanguage(customLayoutsOnly) {
- var newLocaleIndex = nextLocaleIndex(customLayoutsOnly)
- if (newLocaleIndex !== -1 && newLocaleIndex !== localeIndex)
- localeIndex = newLocaleIndex
- }
-
- function canChangeInputLanguage(customLayoutsOnly) {
- if (customLayoutsOnly)
- return availableCustomLocaleIndices.length > 1
- return availableLocaleIndices.length > 1
- }
-
- function findLocale(localeName, defaultValue) {
- var languageCode = localeName.substring(0, 3) // Including the '_' delimiter
- var languageMatch = -1
- for (var i = 0; i < layoutsModel.count; i++) {
- if (!layoutsModel.isFolder(i))
- continue
- var layoutFolder = layoutsModel.get(i, "fileName")
- if (layoutFolder === localeName)
- return i
- if (languageMatch == -1 && layoutFolder.substring(0, 3) === languageCode)
- languageMatch = i
- }
- return (languageMatch != -1) ? languageMatch : defaultValue
- }
-
- function findFallbackIndex() {
- for (var i = 0; i < layoutsModel.count; i++) {
- var layoutFolder = layoutsModel.get(i, "fileName")
- if (layoutFolder === "fallback")
- return i
- }
- return -1
- }
-
- function isValidLocale(localeNameOrIndex, ignoreActiveLocales) {
- var localeName
- if (typeof localeNameOrIndex == "number") {
- if (localeNameOrIndex < 0 || localeNameOrIndex >= layoutsModel.count)
- return false
- localeName = layoutsModel.get(localeNameOrIndex, "fileName")
- } else {
- localeName = localeNameOrIndex
- }
-
- if (!localeName)
- return false
-
- if (localeName === "fallback")
- return false
-
- if (Qt.locale(localeName).name === "C")
- return false
-
- if (ignoreActiveLocales !== true &&
- VirtualKeyboardSettings.activeLocales.length > 0 &&
- VirtualKeyboardSettings.activeLocales.indexOf(localeName) === -1)
- return false
-
- return true
- }
-
- function getLayoutFile(localeName, layoutType) {
- if (localeName === "" || layoutType === "")
- return ""
- return layoutsModel.folder + "/" + localeName + "/" + layoutType + ".qml"
- }
-
- function getFallbackFile(localeName, layoutType) {
- if (localeName === "" || layoutType === "")
- return ""
- return layoutsModel.folder + "/" + localeName + "/" + layoutType + ".fallback"
- }
-
- function layoutExists(localeName, layoutType) {
- var result = InputContext.priv.fileExists(getLayoutFile(localeName, layoutType))
- if (!result && layoutType === "handwriting")
- result = InputContext.priv.fileExists(getFallbackFile(localeName, layoutType))
- return result
- }
-
- function findLayout(localeName, layoutType) {
- var layoutFile = getLayoutFile(localeName, layoutType)
- if (InputContext.priv.fileExists(layoutFile))
- return layoutFile
- var fallbackFile = getFallbackFile(localeName, layoutType)
- if (InputContext.priv.fileExists(fallbackFile)) {
- layoutFile = getLayoutFile("fallback", layoutType)
- if (InputContext.priv.fileExists(layoutFile))
- return layoutFile
- }
- return ""
- }
-
- function isHandwritingAvailable() {
- return InputContext.priv.inputMethods.indexOf("HandwritingInputMethod") !== -1 && layoutExists(locale, "handwriting")
- }
-
- function setHandwritingMode(enabled, resetInputMode) {
- if (enabled && resetInputMode)
- inputModeNeedsReset = true
- handwritingMode = enabled
- }
-}
diff --git a/src/virtualkeyboard/content/components/KeyboardColumn.qml b/src/virtualkeyboard/content/components/KeyboardColumn.qml
deleted file mode 100644
index d5b1fbfe..00000000
--- a/src/virtualkeyboard/content/components/KeyboardColumn.qml
+++ /dev/null
@@ -1,63 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-
-/*!
- \qmltype KeyboardColumn
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits ColumnLayout
-
- \brief Keyboard column for keyboard layouts.
-
- This type can be used in special cases where multiple columns
- are added to a single keyboard layout.
-*/
-
-ColumnLayout {
- /*! Sets the key weight for all children keys.
-
- The default value is inherited from the parent element
- in the layout hierarchy.
- */
- property real keyWeight: parent ? parent.keyWeight : undefined
-
- /*! \since QtQuick.VirtualKeyboard 2.0
-
- Sets the \c smallTextVisible for all children keys.
-
- The default value is inherited from the parent element
- in the layout hierarchy.
- */
- property bool smallTextVisible: parent ? parent.smallTextVisible : false
-
- spacing: 0
-}
diff --git a/src/virtualkeyboard/content/components/KeyboardLayout.qml b/src/virtualkeyboard/content/components/KeyboardLayout.qml
deleted file mode 100644
index 5b790dc6..00000000
--- a/src/virtualkeyboard/content/components/KeyboardLayout.qml
+++ /dev/null
@@ -1,148 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-/*!
- \qmltype KeyboardLayout
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits ColumnLayout
-
- \brief Keyboard layout.
-
- This type is the root element of the keyboard layout.
- Use this element to build a new keyboard layout.
-
- Example:
-
- \code
- import QtQuick 2.0
- import QtQuick.Layouts 1.0
- import QtQuick.VirtualKeyboard 2.1
-
- // file: layouts/en_GB/main.qml
-
- KeyboardLayout {
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- }
- }
- \endcode
-*/
-
-ColumnLayout {
- /*! Sets the input method to be used in this layout.
-
- This property allows a custom input method to be
- used in this layout.
- */
- property var inputMethod
-
- /*! This function may be overridden by the keyboard layout
- to create the input method object dynamically. The default
- implementation returns \c null.
-
- The input method object created by this function can outlive
- keyboard layout transitions in certain cases. In particular,
- this applies to the transitions between the layouts listed in
- the sharedLayouts property.
- */
- function createInputMethod() {
- return null
- }
-
- /*! List of layout names which share the input method created
- by the createInputMethod() function.
-
- If the list is empty (the default) the input method is not
- shared with any other layout and will be destroyed when the
- layout changes.
-
- The list should contain only the name of the layout type,
- e.g., ['symbols']. The current layout does not have to be
- included in the list.
- */
- property var sharedLayouts
-
- /*! Sets the input mode to be used in this layout.
-
- By default, the virtual keyboard attempts to preserve
- the current input mode when switching to a different
- keyboard layout.
-
- If the current input mode is not valid in the current
- context, the default input mode is specified by the
- input method.
- */
- property int inputMode: -1
-
- /*! Sets the key weight for all children keys.
-
- The default value is inherited from the parent element
- in the layout hierarchy.
- */
- property real keyWeight
-
- /*! \since QtQuick.VirtualKeyboard 2.0
-
- Sets the \c smallTextVisible for all children keys.
-
- The default value is inherited from the parent element
- in the layout hierarchy.
- */
- property bool smallTextVisible
-
- spacing: 0
-}
diff --git a/src/virtualkeyboard/content/components/KeyboardLayoutLoader.qml b/src/virtualkeyboard/content/components/KeyboardLayoutLoader.qml
deleted file mode 100644
index 800667d7..00000000
--- a/src/virtualkeyboard/content/components/KeyboardLayoutLoader.qml
+++ /dev/null
@@ -1,127 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-/*!
- \qmltype KeyboardLayoutLoader
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits Loader
- \since QtQuick.VirtualKeyboard 1.1
-
- \brief Allows dynamic loading of keyboard layout.
-
- This type is useful for keyboard layouts consisting of multiple pages of keys.
-
- A single keyboard layout (a page) is defined by using the Component
- as a container. The active keyboard layout can then be changed by
- setting the sourceComponent property to a different value.
-
- Example:
-
- \code
- import QtQuick 2.0
- import QtQuick.Layouts 1.0
- import QtQuick.VirtualKeyboard 2.1
-
- // file: layouts/en_GB/symbols.qml
-
- KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- // Keyboard layout definition for page 1
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- // Keyboard layout definition for page 2
- }
- }
- }
- \endcode
-*/
-
-Loader {
- /*! Sets the input method for all the keyboard layouts loaded
- in this context.
-
- The input method can either be set separately for each keyboard
- layout, or commonly at this context. If set separately, then this
- property should not be modified.
- */
- property var inputMethod: item ? item.inputMethod : null
-
- /*! This function may be overridden by the keyboard layout
- to create the input method object dynamically. The default
- implementation forwards the call to the child keyboard
- layout.
-
- The input method object created by this function can outlive
- keyboard layout transitions in certain cases. In particular,
- this applies to the transitions between the layouts listed in
- the sharedLayouts property.
- */
- function createInputMethod() {
- return item ? item.createInputMethod() : null
- }
-
- /*! List of layout names which share the input method created
- by the createInputMethod() function.
-
- If the list is empty (the default) the input method is not
- shared with any other layout and will be destroyed when the
- layout changes.
-
- The list should contain only the name of the layout type,
- e.g., ['symbols']. The current layout does not have to be
- included in the list.
- */
- property var sharedLayouts: item ? item.sharedLayouts : null
-
- /*! Sets the input mode for all the keyboard layouts loaded
- in this context.
-
- The input mode can either be set separately for each keyboard
- layout, or commonly at this context. If set separately, then this
- property should not be modified.
- */
- property int inputMode: item ? item.inputMode : -1
-
- property int __updateCount
-
- active: parent !== null
-
- onItemChanged: if (parent && item && __updateCount++ > 0 && !keyboard.inputMethodNeedsReset) keyboard.updateInputMethod()
-}
diff --git a/src/virtualkeyboard/content/components/KeyboardRow.qml b/src/virtualkeyboard/content/components/KeyboardRow.qml
deleted file mode 100644
index 5c9db6b2..00000000
--- a/src/virtualkeyboard/content/components/KeyboardRow.qml
+++ /dev/null
@@ -1,62 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-
-/*!
- \qmltype KeyboardRow
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits RowLayout
-
- \brief Keyboard row for keyboard layouts.
-
- Specifies a row of keys in the keyboard layout.
-*/
-
-RowLayout {
- /*! Sets the key weight for all children keys.
-
- The default value is inherited from the parent element
- in the layout hierarchy.
- */
- property real keyWeight: parent ? parent.keyWeight : undefined
-
- /*! \since QtQuick.VirtualKeyboard 2.0
-
- Sets the \c smallTextVisible for all children keys.
-
- The default value is inherited from the parent element
- in the layout hierarchy.
- */
- property bool smallTextVisible: parent ? parent.smallTextVisible : false
-
- spacing: 0
-}
diff --git a/src/virtualkeyboard/content/components/ModeKey.qml b/src/virtualkeyboard/content/components/ModeKey.qml
deleted file mode 100644
index 5fd24b41..00000000
--- a/src/virtualkeyboard/content/components/ModeKey.qml
+++ /dev/null
@@ -1,63 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-/*!
- \qmltype ModeKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits Key
- \since QtQuick.VirtualKeyboard 2.0
-
- \brief Generic mode key for keyboard layouts.
-
- This key provides generic mode button functionality.
-
- A key press toggles the current mode without emitting key event
- for input method processing.
-
- ModeKey can be used in situations where a particular mode is switched
- "ON / OFF", and where the mode change does not require changing the
- keyboard layout. When this component is used, the \l { BaseKey::displayText } { displayText } should
- remain the same regardless of the mode, because the keyboard style
- visualizes the status.
-*/
-
-Key {
- /*! This property provides the current mode.
-
- The default is false.
- */
- property bool mode
- noKeyEvent: true
- functionKey: true
- onClicked: mode = !mode
- keyPanelDelegate: keyboard.style ? keyboard.style.modeKeyPanel : undefined
-}
diff --git a/src/virtualkeyboard/content/components/MultiSoundEffect.qml b/src/virtualkeyboard/content/components/MultiSoundEffect.qml
deleted file mode 100644
index 685a21df..00000000
--- a/src/virtualkeyboard/content/components/MultiSoundEffect.qml
+++ /dev/null
@@ -1,73 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtMultimedia 5.0
-
-Item {
- id: multiSoundEffect
- property url source
- property int maxInstances: 2
- property var __cachedInstances
- property int __currentIndex: 0
-
- signal playingChanged(url source, bool playing)
-
- Component {
- id: soundEffectComp
- SoundEffect {
- source: multiSoundEffect.source
- onPlayingChanged: multiSoundEffect.playingChanged(source, playing)
- }
- }
-
- onSourceChanged: {
- __cachedInstances = []
- __currentIndex = 0
- if (source != Qt.resolvedUrl("")) {
- var i
- for (i = 0; i < maxInstances; i++) {
- var soundEffect = soundEffectComp.createObject(multiSoundEffect)
- if (soundEffect === null)
- return
- __cachedInstances.push(soundEffect)
- }
- }
- }
-
- function play() {
- if (__cachedInstances === undefined || __cachedInstances.length === 0)
- return
- if (__cachedInstances[__currentIndex].playing) {
- __cachedInstances[__currentIndex].stop()
- __currentIndex = (__currentIndex + 1) % __cachedInstances.length
- }
- __cachedInstances[__currentIndex].play()
- }
-}
diff --git a/src/virtualkeyboard/content/components/MultitapInputMethod.qml b/src/virtualkeyboard/content/components/MultitapInputMethod.qml
deleted file mode 100644
index 3c14a544..00000000
--- a/src/virtualkeyboard/content/components/MultitapInputMethod.qml
+++ /dev/null
@@ -1,132 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-InputMethod {
- property string multitapSequence
- property int multitapIndex: -1
-
- onMultitapSequenceChanged: selectionListChanged(SelectionListModel.Type.WordCandidateList)
- onMultitapIndexChanged: selectionListActiveItemChanged(SelectionListModel.Type.WordCandidateList, multitapIndex)
-
- property variant multiTapTimer: Timer {
- interval: 1200
- onTriggered: {
- update()
- }
- }
-
- function inputModes(locale) {
- return [InputEngine.InputMode.Latin, InputEngine.InputMode.Numeric, InputEngine.InputMode.Dialable];
- }
-
- function setInputMode(locale, inputMode) {
- return true
- }
-
- function setTextCase(textCase) {
- return true
- }
-
- function reset() {
- multiTapTimer.stop()
- multitapIndex = -1
- multitapSequence = ""
- }
-
- function update() {
- multiTapTimer.stop()
- multitapIndex = -1
- multitapSequence = ""
- if (inputContext !== null && inputContext.preeditText.length > 0) {
- inputContext.commit()
- }
- }
-
- function keyEvent(key, text, modifiers) {
- var accept = false
- switch (key) {
- case Qt.Key_Enter:
- case Qt.Key_Return:
- case Qt.Key_Tab:
- update()
- break
- case Qt.Key_Backspace:
- if (inputContext.preeditText.length > 0) {
- inputContext.clear()
- update()
- accept = true
- }
- break
- default:
- if (key !== inputEngine.previousKey) {
- update()
- }
- multitapSequence = text
- if (multitapSequence.length > 1) {
- multitapIndex = multiTapTimer.running ? (multitapIndex + 1) % multitapSequence.length : 0
- inputContext.preeditText = multitapSequence.charAt(multitapIndex)
- multiTapTimer.restart()
- } else {
- inputContext.commit(text)
- }
- accept = true
- break
- }
- return accept;
- }
-
- function selectionLists() {
- return [SelectionListModel.Type.WordCandidateList];
- }
-
- function selectionListItemCount(type) {
- return multitapSequence.length > 1 ? multitapSequence.length : 0
- }
-
- function selectionListData(type, index, role) {
- var result = null
- switch (role) {
- case SelectionListModel.Role.Display:
- result = multitapSequence.charAt(index)
- break
- default:
- break
- }
- return result
- }
-
- function selectionListItemSelected(type, index) {
- multitapIndex = index
- inputContext.preeditText = multitapSequence.charAt(multitapIndex)
- update()
- }
-}
diff --git a/src/virtualkeyboard/content/components/NumberKey.qml b/src/virtualkeyboard/content/components/NumberKey.qml
deleted file mode 100644
index dfe29912..00000000
--- a/src/virtualkeyboard/content/components/NumberKey.qml
+++ /dev/null
@@ -1,47 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-/*!
- \qmltype NumberKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits Key
-
- \brief Specialized number key for keyboard layouts.
-
- This key emits the key code and key text for input method processing.
- A NumberKey differs from a normal \l Key in that it does not show a
- character preview.
-*/
-
-Key {
- showPreview: false
-}
diff --git a/src/virtualkeyboard/content/components/PopupList.qml b/src/virtualkeyboard/content/components/PopupList.qml
deleted file mode 100644
index dcd02ee1..00000000
--- a/src/virtualkeyboard/content/components/PopupList.qml
+++ /dev/null
@@ -1,67 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-ListView {
- property int maxVisibleItems: 5
- readonly property int preferredVisibleItems: count < maxVisibleItems ? count : maxVisibleItems
- readonly property real contentWidth: contentItem.childrenRect.width
- property alias background: popupListBackground.sourceComponent
- property alias defaultHighlight: defaultHighlight
-
- clip: true
- visible: enabled && count > 0
- width: contentWidth
- height: currentItem ? currentItem.height * preferredVisibleItems + (spacing * preferredVisibleItems - 1) : 0
- orientation: ListView.Vertical
- snapMode: ListView.SnapToItem
- delegate: keyboard.style.popupListDelegate
- highlight: keyboard.style.popupListHighlight ? keyboard.style.popupListHighlight : defaultHighlight
- highlightMoveDuration: 0
- highlightResizeDuration: 0
- add: keyboard.style.popupListAdd
- remove: keyboard.style.popupListRemove
- keyNavigationWraps: true
-
- onCurrentItemChanged: if (currentItem) keyboard.soundEffect.register(currentItem.soundEffect)
-
- Component {
- id: defaultHighlight
- Item {}
- }
-
- Loader {
- id: popupListBackground
- sourceComponent: keyboard.style.popupListBackground
- anchors.fill: parent
- z: -1
- }
-}
diff --git a/src/virtualkeyboard/content/components/SelectionControl.qml b/src/virtualkeyboard/content/components/SelectionControl.qml
deleted file mode 100644
index 16961c23..00000000
--- a/src/virtualkeyboard/content/components/SelectionControl.qml
+++ /dev/null
@@ -1,100 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-Item {
- id: root
- property bool handleIsMoving: false
- property var inputContext: InputContext
- visible: enabled && (inputContext.selectionControlVisible || handleIsMoving) && !InputContext.animating
-
- Loader {
- id: anchorHandle
- sourceComponent: keyboard.style.selectionHandle
- x: visible ? inputContext.anchorRectangle.x - width/2 : 0
- y: visible ? inputContext.anchorRectangle.y + inputContext.anchorRectangle.height : 0
-
- Behavior on opacity {
- NumberAnimation { duration: 200 }
- }
- opacity: inputContext !== null && inputContext.anchorRectIntersectsClipRect ? 1.0 : 0.0
-
- MouseArea {
- width: parent.width * 2
- height: width * 1.12
- anchors.centerIn: parent
- onPositionChanged: {
- // we don't move the handles, the handles will move as the selection changes.
- // The middle of a handle is mapped to the middle of the line above it
- root.handleIsMoving = true
- var xx = x + anchorHandle.x + mouse.x
- var yy = y + anchorHandle.y + mouse.y - (anchorHandle.height + inputContext.anchorRectangle.height)/2
- var x2 = cursorHandle.x + cursorHandle.width/2
- var y2 = cursorHandle.y - inputContext.cursorRectangle.height/2
- inputContext.setSelectionOnFocusObject(Qt.point(xx,yy), Qt.point(x2,y2))
- }
- onReleased: {
- root.handleIsMoving = false
- }
- }
- }
-
- // selection cursor handle
- Loader {
- id: cursorHandle
- sourceComponent: keyboard.style.selectionHandle
- x: visible ? inputContext.cursorRectangle.x - width/2 : 0
- y: visible ? inputContext.cursorRectangle.y + inputContext.cursorRectangle.height : 0
-
- Behavior on opacity {
- NumberAnimation { duration: 200 }
- }
- opacity: inputContext !== null && inputContext.cursorRectIntersectsClipRect ? 1.0 : 0.0
-
- MouseArea {
- width: parent.width * 2
- height: width * 1.12
- anchors.centerIn: parent
- onPositionChanged: {
- // we don't move the handles, the handles will move as the selection changes.
- root.handleIsMoving = true
- var xx = anchorHandle.x + anchorHandle.width/2
- var yy = anchorHandle.y - inputContext.anchorRectangle.height/2
- var x2 = x + cursorHandle.x + mouse.x
- var y2 = y + cursorHandle.y + mouse.y - (cursorHandle.height + inputContext.cursorRectangle.height)/2
- inputContext.setSelectionOnFocusObject(Qt.point(xx, yy), Qt.point(x2, y2))
- }
- onReleased: {
- root.handleIsMoving = false
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/components/ShadowInputControl.qml b/src/virtualkeyboard/content/components/ShadowInputControl.qml
deleted file mode 100644
index e3cde2e1..00000000
--- a/src/virtualkeyboard/content/components/ShadowInputControl.qml
+++ /dev/null
@@ -1,141 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.7
-// Deliberately imported after QtQuick to avoid missing restoreMode property in Binding. Fix in Qt 6.
-import QtQml 2.14
-import QtQuick.VirtualKeyboard 2.2
-import QtQuick.VirtualKeyboard.Settings 2.2
-
-Item {
- id: control
-
- enabled: keyboard.active && VirtualKeyboardSettings.fullScreenMode
-
- MouseArea {
- anchors.fill: parent
- }
-
- onXChanged: InputContext.priv.shadow.updateSelectionProperties()
- onYChanged: InputContext.priv.shadow.updateSelectionProperties()
-
- Loader {
- sourceComponent: keyboard.style.fullScreenInputContainerBackground
- anchors.fill: parent
- Loader {
- id: fullScreenInputBackground
- sourceComponent: keyboard.style.fullScreenInputBackground
- anchors.fill: parent
- anchors.margins: keyboard.style.fullScreenInputMargins
- z: 1
- Flickable {
- id: flickable
- clip: true
- z: 2
- width: parent.width
- height: parent.height
- flickableDirection: Flickable.HorizontalFlick
- interactive: contentWidth > width
- contentWidth: shadowInput.width
- onContentXChanged: InputContext.priv.shadow.updateSelectionProperties()
-
- function ensureVisible(rectangle) {
- if (contentX >= rectangle.x)
- contentX = rectangle.x
- else if (contentX + width <= rectangle.x + rectangle.width)
- contentX = rectangle.x + rectangle.width - width;
- }
-
- TextInput {
- id: shadowInput
- objectName: "shadowInput"
- property bool blinkStatus: true
- width: Math.max(flickable.width, implicitWidth)
- height: implicitHeight
- anchors.verticalCenter: parent.verticalCenter
- leftPadding: keyboard.style.fullScreenInputPadding
- rightPadding: keyboard.style.fullScreenInputPadding
- activeFocusOnPress: false
- font: keyboard.style.fullScreenInputFont
- inputMethodHints: InputContext.inputMethodHints
- cursorDelegate: keyboard.style.fullScreenInputCursor
- passwordCharacter: keyboard.style.fullScreenInputPasswordCharacter
- color: keyboard.style.fullScreenInputColor
- selectionColor: keyboard.style.fullScreenInputSelectionColor
- selectedTextColor: keyboard.style.fullScreenInputSelectedTextColor
- echoMode: (InputContext.inputMethodHints & Qt.ImhHiddenText) ? TextInput.Password : TextInput.Normal
- selectByMouse: !!InputContext.inputItem && !!InputContext.inputItem.selectByMouse
- onCursorPositionChanged: {
- cursorSyncTimer.restart()
- blinkStatus = true
- cursorTimer.restart()
- }
- onSelectionStartChanged: cursorSyncTimer.restart()
- onSelectionEndChanged: cursorSyncTimer.restart()
- onCursorRectangleChanged: flickable.ensureVisible(cursorRectangle)
-
- function getAnchorPosition() {
- if (selectionStart == selectionEnd)
- return cursorPosition
- else if (selectionStart == cursorPosition)
- return selectionEnd
- else
- return selectionStart
- }
-
- Timer {
- id: cursorSyncTimer
- interval: 0
- onTriggered: {
- var anchorPosition = shadowInput.getAnchorPosition()
- if (anchorPosition !== InputContext.anchorPosition || shadowInput.cursorPosition !== InputContext.cursorPosition)
- InputContext.priv.forceCursorPosition(anchorPosition, shadowInput.cursorPosition)
- }
- }
-
- Timer {
- id: cursorTimer
- interval: Qt.styleHints.cursorFlashTime / 2
- repeat: true
- running: true
- onTriggered: shadowInput.blinkStatus = !shadowInput.blinkStatus
- }
- }
- }
- }
- }
-
- Binding {
- target: InputContext.priv.shadow
- property: "inputItem"
- value: shadowInput
- when: VirtualKeyboardSettings.fullScreenMode
- restoreMode: Binding.RestoreBinding
- }
-}
diff --git a/src/virtualkeyboard/content/components/ShiftKey.qml b/src/virtualkeyboard/content/components/ShiftKey.qml
deleted file mode 100644
index d31a601a..00000000
--- a/src/virtualkeyboard/content/components/ShiftKey.qml
+++ /dev/null
@@ -1,52 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-/*!
- \qmltype ShiftKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits BaseKey
-
- \brief Shift key for keyboard layouts.
-
- This key changes the shift state of the keyboard.
-*/
-
-BaseKey {
- id: shiftKey
- key: Qt.Key_Shift
- enabled: InputContext.priv.shiftHandler.toggleShiftEnabled
- highlighted: InputContext.capsLockActive
- functionKey: true
- keyPanelDelegate: keyboard.style ? keyboard.style.shiftKeyPanel : undefined
- onClicked: InputContext.priv.shiftHandler.toggleShift()
-}
diff --git a/src/virtualkeyboard/content/components/SpaceKey.qml b/src/virtualkeyboard/content/components/SpaceKey.qml
deleted file mode 100644
index 5bfd25a8..00000000
--- a/src/virtualkeyboard/content/components/SpaceKey.qml
+++ /dev/null
@@ -1,50 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-/*!
- \qmltype SpaceKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits Key
-
- \brief Space key for keyboard layouts.
-
- This key emits a space for input method processing.
-*/
-
-Key {
- text: " "
- displayText: ""
- repeat: true
- showPreview: false
- key: Qt.Key_Space
- keyPanelDelegate: keyboard.style ? keyboard.style.spaceKeyPanel : undefined
-}
diff --git a/src/virtualkeyboard/content/components/SymbolModeKey.qml b/src/virtualkeyboard/content/components/SymbolModeKey.qml
deleted file mode 100644
index 5129c390..00000000
--- a/src/virtualkeyboard/content/components/SymbolModeKey.qml
+++ /dev/null
@@ -1,49 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-
-/*!
- \qmltype SymbolModeKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits Key
-
- \brief Symbol mode key for keyboard layouts.
-
- This key toggles between the symbol mode layout and the main layout.
-*/
-
-Key {
- key: Qt.Key_Context1
- displayText: "&123"
- functionKey: true
- onClicked: keyboard.symbolMode = !keyboard.symbolMode
- keyPanelDelegate: keyboard.style ? keyboard.style.symbolKeyPanel : undefined
-}
diff --git a/src/virtualkeyboard/content/components/TraceInputArea.qml b/src/virtualkeyboard/content/components/TraceInputArea.qml
deleted file mode 100644
index 40cb16f8..00000000
--- a/src/virtualkeyboard/content/components/TraceInputArea.qml
+++ /dev/null
@@ -1,186 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Window 2.2
-import QtQuick.VirtualKeyboard 2.1
-
-/*!
- \qmltype TraceInputArea
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits MultiPointTouchArea
- \since QtQuick.VirtualKeyboard 2.0
-
- \brief A specialized MultiPointTouchArea for collecting touch input data.
-
- This type handles the trace interaction between the touch screen and the input engine.
-
- The traces are rendered using the delegate from the
- \l {KeyboardStyle::}{traceCanvasDelegate} property of the current
- \l KeyboardStyle.
-*/
-
-MultiPointTouchArea {
- id: traceInputArea
-
- /*! Pattern recognition mode of this input area.
-
- The default value is \l {InputEngine::patternRecognitionModes} {InputEngine.PatternRecognitionMode.None}.
- */
- property int patternRecognitionMode: InputEngine.PatternRecognitionMode.None
-
- /*! List of horizontal rulers in the input area.
-
- The rulers are defined as a number of pixels from the top edge of the boundingBox.
-
- Here is an example that demonstrates how to define rulers:
-
- \code
- horizontalRulers: [boundingBox.height / 3, boundingBox.height / 3 * 2]
- verticalRulers: [boundingBox.width / 3, boundingBox.width / 3 * 2]
- \endcode
- */
- property var horizontalRulers
-
- /*! List of vertical rulers in the input area.
-
- The rulers are defined as a number of pixels from the left edge of the boundingBox.
- */
- property var verticalRulers
-
- /*! Bounding box for the trace input.
-
- This property is readonly and is automatically updated based on the item size
- and margins.
- */
- readonly property rect boundingBox: (width > 0 && height > 0) ?
- Qt.rect(traceInputArea.x + traceInputArea.anchors.leftMargin,
- traceInputArea.y + traceInputArea.anchors.topMargin,
- traceInputArea.width,
- traceInputArea.height) :
- Qt.rect(0, 0, 0, 0)
-
- /*! Canvas type of this trace input area.
-
- This property can be used to distinguish between different types of canvases.
- For example, in full screen handwriting mode this property is set to \c "fullscreen", and
- in keyboard handwriting mode this property is set to \c "keyboard".
- */
- property string canvasType
-
- property var __traceCanvasList: ([])
-
- /*! \internal */
- function findTraceCanvasById(traceId) {
- for (var i = 0; i < __traceCanvasList.length;) {
- var traceCanvas = __traceCanvasList[i]
- if (!traceCanvas || !traceCanvas.trace)
- __traceCanvasList.splice(i, 1)
- else if (traceCanvas.trace.traceId === traceId)
- return traceCanvas
- else
- i++
- }
- return null
- }
-
- property var __traceCaptureDeviceInfo:
- ({
- channels: ['t'],
- sampleRate: 60,
- uniform: false,
- latency: 0.0,
- dpi: Screen.pixelDensity * 25.4
- })
- property var __traceScreenInfo:
- ({
- boundingBox: traceInputArea.boundingBox,
- horizontalRulers: traceInputArea.horizontalRulers,
- verticalRulers: traceInputArea.verticalRulers,
- canvasType: traceInputArea.canvasType
- })
-
- enabled: patternRecognitionMode !== InputEngine.PatternRecognitionMode.None && InputContext.inputEngine.patternRecognitionModes.indexOf(patternRecognitionMode) !== -1
-
- onPressed: {
- if (!keyboard.style.traceCanvasDelegate)
- return
- for (var i = 0; i < touchPoints.length; i++) {
- var trace = InputContext.inputEngine.traceBegin(touchPoints[i].pointId, patternRecognitionMode, __traceCaptureDeviceInfo, __traceScreenInfo)
- if (trace) {
- var traceCanvas = keyboard.style.traceCanvasDelegate.createObject(traceInputArea, { "trace": trace, "autoDestroy": true })
- traceCanvas.anchors.fill = traceCanvas.parent
- var index = trace.addPoint(Qt.point(touchPoints[i].x, touchPoints[i].y))
- if (trace.channels.indexOf('t') !== -1) {
- var dt = new Date()
- trace.setChannelData('t', index, dt.getTime())
- }
- __traceCanvasList.push(traceCanvas)
- }
- }
- }
-
- onUpdated: {
- for (var i = 0; i < touchPoints.length; i++) {
- var traceCanvas = findTraceCanvasById(touchPoints[i].pointId)
- if (traceCanvas) {
- var trace = traceCanvas.trace
- var index = trace.addPoint(Qt.point(touchPoints[i].x, touchPoints[i].y))
- if (trace.channels.indexOf('t') !== -1) {
- var dt = new Date()
- trace.setChannelData('t', index, dt.getTime())
- }
- }
- }
- }
-
- onReleased: {
- for (var i = 0; i < touchPoints.length; i++) {
- var traceCanvas = findTraceCanvasById(touchPoints[i].pointId)
- if (traceCanvas) {
- traceCanvas.trace.final = true
- __traceCanvasList.splice(__traceCanvasList.indexOf(traceCanvas), 1)
- InputContext.inputEngine.traceEnd(traceCanvas.trace)
- }
- }
- }
-
- onCanceled: {
- for (var i = 0; i < touchPoints.length; i++) {
- var traceCanvas = findTraceCanvasById(touchPoints[i].pointId)
- if (traceCanvas) {
- traceCanvas.trace.final = true
- traceCanvas.trace.canceled = true
- __traceCanvasList.splice(__traceCanvasList.indexOf(traceCanvas), 1)
- InputContext.inputEngine.traceEnd(traceCanvas.trace)
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/components/TraceInputKey.qml b/src/virtualkeyboard/content/components/TraceInputKey.qml
deleted file mode 100644
index dfd58ac9..00000000
--- a/src/virtualkeyboard/content/components/TraceInputKey.qml
+++ /dev/null
@@ -1,116 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-
-/*!
- \qmltype TraceInputKey
- \inqmlmodule QtQuick.VirtualKeyboard
- \ingroup qtvirtualkeyboard-qml
- \inherits Item
- \since QtQuick.VirtualKeyboard 2.0
-
- \brief A specialized key for collecting touch input data.
-
- This type can be placed in the keyboard layout. It collects
- and renders touch input data (trace) from the key area.
-*/
-
-Item {
- id: traceInputKey
-
- /*! Sets the key weight value which determines the relative size of the key.
-
- Use this property to change the key size in the layout.
-
- The default value is inherited from the parent element
- of the key in the layout hierarchy.
- */
- property real weight: parent.keyWeight
-
- /*! Pattern recognition mode of this input area.
-
- The default value is \l {InputEngine::patternRecognitionModes} {InputEngine.PatternRecognitionMode.None}.
- */
- property alias patternRecognitionMode: traceInputArea.patternRecognitionMode
-
- /*! List of horizontal rulers in the input area.
-
- The rulers are defined as a number of pixels from the top edge of the bounding box.
-
- Here is an example that demonstrates how to define rulers:
-
- \code
- horizontalRulers: [boundingBox.height / 3, boundingBox.height / 3 * 2]
- verticalRulers: [boundingBox.width / 3, boundingBox.width / 3 * 2]
- \endcode
- */
- property alias horizontalRulers: traceInputArea.horizontalRulers
-
- /*! List of vertical rulers in the input area.
-
- The rulers are defined as a number of pixels from the left edge of the bounding box.
- */
- property alias verticalRulers: traceInputArea.verticalRulers
-
- /*! Bounding box for the trace input.
-
- This property is readonly and is automatically updated based on the item size
- and margins.
- */
- readonly property alias boundingBox: traceInputArea.boundingBox
-
- /*! Canvas type of this trace input area.
-
- This property can be used to distinguish between different types of canvases.
- The default value is \c "keyboard".
- */
- property alias canvasType: traceInputArea.canvasType
-
- Layout.minimumWidth: traceInputKeyPanel.implicitWidth
- Layout.minimumHeight: traceInputKeyPanel.implicitHeight
- Layout.preferredWidth: weight
- Layout.fillWidth: true
- Layout.fillHeight: true
- canvasType: "keyboard"
-
- Loader {
- id: traceInputKeyPanel
- sourceComponent: keyboard.style.traceInputKeyPanelDelegate
- anchors.fill: parent
- onStatusChanged: if (status == Loader.Ready) traceInputKeyPanel.item.control = traceInputKey
- }
-
- TraceInputArea {
- id: traceInputArea
- anchors.fill: traceInputKeyPanel
- anchors.margins: traceInputKeyPanel.item ? traceInputKeyPanel.item.traceMargins : 0
- }
-}
diff --git a/src/virtualkeyboard/content/components/WordCandidatePopupList.qml b/src/virtualkeyboard/content/components/WordCandidatePopupList.qml
deleted file mode 100644
index 5790bc74..00000000
--- a/src/virtualkeyboard/content/components/WordCandidatePopupList.qml
+++ /dev/null
@@ -1,85 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-// Deliberately imported after QtQuick to avoid missing restoreMode property in Binding. Fix in Qt 6.
-import QtQml 2.14
-import QtQuick.VirtualKeyboard 2.3
-
-PopupList {
- id: wordCandidatePopupList
-
- readonly property int preferredVisibleItems: {
- if (!currentItem)
- return 0
- var maxHeight = flipVertical ? Qt.inputMethod.cursorRectangle.y : parent.height - Qt.inputMethod.cursorRectangle.height - Qt.inputMethod.cursorRectangle.y
- var result = Math.min(count, maxVisibleItems)
- while (result > 2 && result * currentItem.height > maxHeight)
- --result
- return result
- }
- readonly property bool flipVertical: currentItem &&
- Qt.inputMethod.cursorRectangle.y + (Qt.inputMethod.cursorRectangle.height / 2) > (parent.height / 2) &&
- Qt.inputMethod.cursorRectangle.y + Qt.inputMethod.cursorRectangle.height + (currentItem.height * 2) > parent.height
-
- height: currentItem ? currentItem.height * preferredVisibleItems + (spacing * preferredVisibleItems - 1) : 0
- Binding {
- target: wordCandidatePopupList
- property: "x"
- value: Math.round(Qt.inputMethod.cursorRectangle.x -
- (wordCandidatePopupList.currentItem ?
- (wordCandidatePopupList.currentItem.hasOwnProperty("cursorAnchor") ?
- wordCandidatePopupList.currentItem.cursorAnchor : wordCandidatePopupList.currentItem.width) : 0))
- when: wordCandidatePopupList.visible
- restoreMode: Binding.RestoreBinding
- }
- Binding {
- target: wordCandidatePopupList
- property: "y"
- value: Math.round(wordCandidatePopupList.flipVertical ? Qt.inputMethod.cursorRectangle.y - wordCandidatePopupList.height : Qt.inputMethod.cursorRectangle.y + Qt.inputMethod.cursorRectangle.height)
- when: wordCandidatePopupList.visible
- restoreMode: Binding.RestoreBinding
- }
- model: enabled ? InputContext.inputEngine.wordCandidateListModel : null
-
- onContentWidthChanged: viewResizeTimer.restart()
-
- Timer {
- id: viewResizeTimer
- interval: 0
- repeat: false
- onTriggered: wordCandidatePopupList.width = wordCandidatePopupList.contentWidth
- }
-
- Connections {
- target: wordCandidatePopupList.model ? wordCandidatePopupList.model : null
- onActiveItemChanged: wordCandidatePopupList.currentIndex = index
- onItemSelected: if (wordCandidatePopupList.currentItem) keyboard.soundEffect.play(wordCandidatePopupList.currentItem.soundEffect)
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ar_AR/dialpad.fallback b/src/virtualkeyboard/content/layouts/ar_AR/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ar_AR/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ar_AR/digits.qml b/src/virtualkeyboard/content/layouts/ar_AR/digits.qml
deleted file mode 100644
index 6d7047f4..00000000
--- a/src/virtualkeyboard/content/layouts/ar_AR/digits.qml
+++ /dev/null
@@ -1,121 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Plugins 2.3
-
-KeyboardLayout {
- inputMethod: PlainInputMethod {}
- inputMode: InputEngine.InputMode.Numeric
-
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.alignment: Qt.AlignHCenter
- Layout.preferredWidth: height
- KeyboardRow {
- Key {
- key: 0x0667
- text: "\u0667"
- alternativeKeys: "\u06677"
- }
- Key {
- key: 0x0668
- text: "\u0668"
- alternativeKeys: "\u06688"
- }
- Key {
- key: 0x0669
- text: "\u0669"
- alternativeKeys: "\u06699"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- Key {
- key: 0x0664
- text: "\u0664"
- alternativeKeys: "\u06644"
- }
- Key {
- key: 0x0665
- text: "\u0665"
- alternativeKeys: "\u06655"
- }
- Key {
- key: 0x0666
- text: "\u0666"
- alternativeKeys: "\u06666"
- }
- Key {
- text: " "
- displayText: "\u2423"
- repeat: true
- showPreview: false
- key: Qt.Key_Space
- }
- }
- KeyboardRow {
- Key {
- key: 0x0661
- text: "\u0661"
- alternativeKeys: "\u06611"
- }
- Key {
- key: 0x0662
- text: "\u0662"
- alternativeKeys: "\u06622"
- }
- Key {
- key: 0x0663
- text: "\u0663"
- alternativeKeys: "\u06633"
- }
- HideKeyboardKey {}
- }
- KeyboardRow {
- ChangeLanguageKey {
- customLayoutsOnly: true
- }
- Key {
- key: 0x0660
- text: "\u0660"
- alternativeKeys: "\u06600"
- }
- Key {
- key: Qt.Key_Comma
- text: "\u066B"
- alternativeKeys: "\u066B,."
- }
- EnterKey {}
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ar_AR/handwriting.qml b/src/virtualkeyboard/content/layouts/ar_AR/handwriting.qml
deleted file mode 100644
index f82e4b6c..00000000
--- a/src/virtualkeyboard/content/layouts/ar_AR/handwriting.qml
+++ /dev/null
@@ -1,116 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: InputEngine.InputMode.Arabic
- readonly property bool alphabeticInputMode: [InputEngine.InputMode.Latin, InputEngine.InputMode.Dialable].indexOf(InputContext.inputEngine.inputMode) !== -1
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- alphabeticInputMode ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- inputModeNameList: [
- "ABC", // InputEngine.InputMode.Latin
- "\u0660\u0661\u0662", // InputEngine.InputMode.Numeric
- "123", // InputEngine.InputMode.Dialable
- "", // InputEngine.InputMode.Pinyin
- "", // InputEngine.InputMode.Cangjie
- "", // InputEngine.InputMode.Zhuyin
- "", // InputEngine.InputMode.Hangul
- "", // InputEngine.InputMode.Hiragana
- "", // InputEngine.InputMode.Katakana
- "", // InputEngine.InputMode.FullwidthLatin
- "", // InputEngine.InputMode.Greek
- "", // InputEngine.InputMode.Cyrillic
- "\u0623\u200C\u0628\u200C\u062C", // InputEngine.InputMode.Arabic
- ]
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: alphabeticInputMode ? Qt.Key_Apostrophe : 0x060C
- text: alphabeticInputMode ? "'" : "\u060C"
- alternativeKeys: alphabeticInputMode ? "<>()#%&*/\\\"'=+-_" : "\"\u060C\u066B\u066C\u066D"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: alphabeticInputMode ? ":;,.?!" : ":\u061B.\u061F!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ar_AR/main.qml b/src/virtualkeyboard/content/layouts/ar_AR/main.qml
deleted file mode 100644
index a7f0e5b9..00000000
--- a/src/virtualkeyboard/content/layouts/ar_AR/main.qml
+++ /dev/null
@@ -1,340 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- inputMode: InputEngine.InputMode.Arabic
- sourceComponent: InputContext.shiftActive ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "\u0636"
- }
- Key {
- text: "\u0635"
- }
- Key {
- text: "\u062B"
- }
- Key {
- text: "\u0642"
- }
- Key {
- text: "\u0641"
- }
- Key {
- text: "\u063A"
- }
- Key {
- text: "\u0639"
- }
- Key {
- text: "\u0647"
- }
- Key {
- text: "\u062E"
- }
- Key {
- text: "\u062D"
- }
- Key {
- text: "\u062C"
- }
- Key {
- text: "\u062F"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "\u0634"
- }
- Key {
- text: "\u0633"
- }
- Key {
- text: "\u064A"
- }
- Key {
- text: "\u0628"
- }
- Key {
- text: "\u0644"
- }
- Key {
- text: "\u0627"
- }
- Key {
- text: "\u062A"
- }
- Key {
- text: "\u0646"
- }
- Key {
- text: "\u0645"
- }
- Key {
- text: "\u0643"
- }
- Key {
- text: "\u0637"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- text: "\u0626"
- }
- Key {
- text: "\u0621"
- }
- Key {
- text: "\u0624"
- }
- Key {
- text: "\u0631"
- }
- Key {
- text: "\u0644\u0627"
- }
- Key {
- text: "\u0649"
- }
- Key {
- text: "\u0629"
- }
- Key {
- text: "\u0648"
- }
- Key {
- text: "\u0632"
- }
- Key {
- text: "\u0638"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u0661\u0662\u0663\u061F"
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x060C
- text: "\u060C"
- alternativeKeys: "\"\u061F\u060C.!:\u061B\u066B\u066C\u066D"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "\u064E"
- }
- Key {
- text: "\u064B"
- }
- Key {
- text: "\u064F"
- }
- Key {
- text: "\u064C"
- }
- Key {
- text: "\uFEF9"
- }
- Key {
- text: "\u0625"
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- text: "\u0630"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "\u0650"
- }
- Key {
- text: "\u064D"
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- text: "\u0644\u0623"
- }
- Key {
- text: "\u0623"
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- enabled: false
- }
- Key {
- text: "\u0652"
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- text: "\u0644\u0622"
- }
- Key {
- text: "\u0622"
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u0661\u0662\u0663\u061F"
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x061F
- text: "\u061F"
- alternativeKeys: ".,\u060C\u061F"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ar_AR/numbers.qml b/src/virtualkeyboard/content/layouts/ar_AR/numbers.qml
deleted file mode 100644
index fe709489..00000000
--- a/src/virtualkeyboard/content/layouts/ar_AR/numbers.qml
+++ /dev/null
@@ -1,194 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Plugins 2.3
-
-KeyboardLayout {
- inputMethod: PlainInputMethod {}
- inputMode: InputEngine.InputMode.Numeric
-
- KeyboardRow {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.alignment: Qt.AlignHCenter
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.preferredWidth: parent.height / 4 * 3
- KeyboardRow {
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- }
- KeyboardRow {
- Key {
- key: Qt.Key_division
- text: "\u00F7"
- }
- Key {
- key: Qt.Key_multiply
- text: "\u00D7"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- }
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- }
- KeyboardRow {
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- }
- }
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.preferredWidth: parent.height / 8
- KeyboardRow {
- FillerKey {}
- }
- }
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.preferredWidth: parent.height
- KeyboardRow {
- Key {
- key: 0x0667
- text: "\u0667"
- alternativeKeys: "\u06677"
- }
- Key {
- key: 0x0668
- text: "\u0668"
- alternativeKeys: "\u06688"
- }
- Key {
- key: 0x0669
- text: "\u0669"
- alternativeKeys: "\u06699"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- Key {
- key: 0x0664
- text: "\u0664"
- alternativeKeys: "\u06644"
- }
- Key {
- key: 0x0665
- text: "\u0665"
- alternativeKeys: "\u06655"
- }
- Key {
- key: 0x0666
- text: "\u0666"
- alternativeKeys: "\u06666"
- }
- Key {
- text: " "
- displayText: "\u2423"
- repeat: true
- showPreview: false
- key: Qt.Key_Space
- }
- }
- KeyboardRow {
- Key {
- key: 0x0661
- text: "\u0661"
- alternativeKeys: "\u06611"
- }
- Key {
- key: 0x0662
- text: "\u0662"
- alternativeKeys: "\u06622"
- }
- Key {
- key: 0x0663
- text: "\u0663"
- alternativeKeys: "\u06633"
- }
- HideKeyboardKey {}
- }
- KeyboardRow {
- ChangeLanguageKey {
- customLayoutsOnly: true
- }
- Key {
- key: 0x0660
- text: "\u0660"
- alternativeKeys: "\u06600"
- }
- Key {
- key: Qt.Key_Comma
- text: "\u066B"
- alternativeKeys: "\u066B,."
- }
- EnterKey {}
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ar_AR/symbols.qml b/src/virtualkeyboard/content/layouts/ar_AR/symbols.qml
deleted file mode 100644
index 2da52923..00000000
--- a/src/virtualkeyboard/content/layouts/ar_AR/symbols.qml
+++ /dev/null
@@ -1,388 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: 0x0661
- text: "\u0661"
- alternativeKeys: "\u06611"
- }
- Key {
- key: 0x0662
- text: "\u0662"
- alternativeKeys: "\u06622"
- }
- Key {
- key: 0x0663
- text: "\u0663"
- alternativeKeys: "\u06633"
- }
- Key {
- key: 0x0664
- text: "\u0664"
- alternativeKeys: "\u06644"
- }
- Key {
- key: 0x0665
- text: "\u0665"
- alternativeKeys: "\u06655"
- }
- Key {
- key: 0x0666
- text: "\u0666"
- alternativeKeys: "\u06666"
- }
- Key {
- key: 0x0667
- text: "\u0667"
- alternativeKeys: "\u06677"
- }
- Key {
- key: 0x0668
- text: "\u0668"
- alternativeKeys: "\u06688"
- }
- Key {
- key: 0x0669
- text: "\u0669"
- alternativeKeys: "\u06699"
- }
- Key {
- key: 0x0660
- text: "\u0660"
- alternativeKeys: "\u06600"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Exclam
- text: "!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: 0x061B
- text: "\u061B"
- alternativeKeys: "\u061B;"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: 0x061F
- text: "\u061F"
- alternativeKeys: "\u061F?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u0623\u200C\u0628\u200C\u062C"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".\u060C,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- key: 0xA2
- text: "¢"
- }
- Key {
- key: 0xA5
- text: "¥"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u0623\u200C\u0628\u200C\u062C"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/bg_BG/dialpad.fallback b/src/virtualkeyboard/content/layouts/bg_BG/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/bg_BG/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/bg_BG/digits.fallback b/src/virtualkeyboard/content/layouts/bg_BG/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/bg_BG/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/bg_BG/handwriting.qml b/src/virtualkeyboard/content/layouts/bg_BG/handwriting.qml
deleted file mode 100644
index 16f078cb..00000000
--- a/src/virtualkeyboard/content/layouts/bg_BG/handwriting.qml
+++ /dev/null
@@ -1,99 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- InputContext.inputEngine.inputMode !== InputEngine.InputMode.Cyrillic ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!,.;:?"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/bg_BG/main.qml b/src/virtualkeyboard/content/layouts/bg_BG/main.qml
deleted file mode 100644
index 2e958aa8..00000000
--- a/src/virtualkeyboard/content/layouts/bg_BG/main.qml
+++ /dev/null
@@ -1,370 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- sharedLayouts: ['symbols']
- sourceComponent: InputContext.inputEngine.inputMode === InputEngine.InputMode.Cyrillic ? cyrillicLayout : latinLayout
- Component {
- id: cyrillicLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "я"
- }
- Key {
- text: "в"
- }
- Key {
- text: "е"
- }
- Key {
- text: "р"
- }
- Key {
- text: "т"
- }
- Key {
- text: "ъ"
- }
- Key {
- text: "у"
- }
- Key {
- text: "и"
- }
- Key {
- text: "о"
- }
- Key {
- text: "п"
- }
- Key {
- text: "ч"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "а"
- }
- Key {
- text: "с"
- }
- Key {
- text: "д"
- }
- Key {
- text: "ф"
- }
- Key {
- text: "г"
- }
- Key {
- text: "х"
- }
- Key {
- text: "й"
- }
- Key {
- text: "к"
- }
- Key {
- text: "л"
- }
- Key {
- text: "ш"
- }
- Key {
- text: "щ"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- inputModes: [InputEngine.InputMode.Cyrillic, InputEngine.InputMode.Latin]
- }
- Key {
- text: "з"
- }
- Key {
- text: "ь"
- }
- Key {
- text: "ц"
- }
- Key {
- text: "ж"
- }
- Key {
- text: "б"
- }
- Key {
- text: "н"
- }
- Key {
- text: "м"
- }
- Key {
- text: "ю"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!.;?"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: latinLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "êeëèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- alternativeKeys: "ŕrř"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- alternativeKeys: "ţtŧť"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "ÿyýŷ"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "űūũûüuùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "îïīĩiìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "œøõôöòóo"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: (InputContext.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly)) ? "a@äåãâàá" : "aäåãâàá"
- smallTextVisible: (InputContext.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "šsşś"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđď"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- alternativeKeys: "ġgģĝğ"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- alternativeKeys: "ĺŀłļľl"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- enabled: !(InputContext.inputMethodHints & Qt.ImhLatinOnly) && inputModeCount > 1
- inputModes: [InputEngine.InputMode.Cyrillic, InputEngine.InputMode.Latin]
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zžż"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "çcċčć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- alternativeKeys: "ņńnň"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/bg_BG/numbers.fallback b/src/virtualkeyboard/content/layouts/bg_BG/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/bg_BG/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/bg_BG/symbols.fallback b/src/virtualkeyboard/content/layouts/bg_BG/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/bg_BG/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/cs_CZ/dialpad.fallback b/src/virtualkeyboard/content/layouts/cs_CZ/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/cs_CZ/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/cs_CZ/digits.fallback b/src/virtualkeyboard/content/layouts/cs_CZ/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/cs_CZ/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/cs_CZ/handwriting.qml b/src/virtualkeyboard/content/layouts/cs_CZ/handwriting.qml
deleted file mode 100644
index caf820ae..00000000
--- a/src/virtualkeyboard/content/layouts/cs_CZ/handwriting.qml
+++ /dev/null
@@ -1,97 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: InputEngine.InputMode.Latin
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/cs_CZ/main.qml b/src/virtualkeyboard/content/layouts/cs_CZ/main.qml
deleted file mode 100644
index 4d328bff..00000000
--- a/src/virtualkeyboard/content/layouts/cs_CZ/main.qml
+++ /dev/null
@@ -1,207 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "eéě"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- alternativeKeys: "rř"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- alternativeKeys: "tť"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "uúů"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "ií"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oóö"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aåäá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dď"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "yý"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "cćč"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- alternativeKeys: "nń"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "-\"'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/cs_CZ/numbers.fallback b/src/virtualkeyboard/content/layouts/cs_CZ/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/cs_CZ/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/cs_CZ/symbols.fallback b/src/virtualkeyboard/content/layouts/cs_CZ/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/cs_CZ/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/da_DK/dialpad.fallback b/src/virtualkeyboard/content/layouts/da_DK/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/da_DK/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/da_DK/digits.fallback b/src/virtualkeyboard/content/layouts/da_DK/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/da_DK/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/da_DK/handwriting.fallback b/src/virtualkeyboard/content/layouts/da_DK/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/da_DK/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/da_DK/main.qml b/src/virtualkeyboard/content/layouts/da_DK/main.qml
deleted file mode 100644
index b03860e6..00000000
--- a/src/virtualkeyboard/content/layouts/da_DK/main.qml
+++ /dev/null
@@ -1,215 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "eé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "ií"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oó"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- key: Qt.Key_Aring
- text: "å"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 66
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_AE
- text: "æ"
- alternativeKeys: "æǽ"
- }
- Key {
- key: Qt.Key_Ooblique
- text: "ø"
- alternativeKeys: "øǿ"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey { }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/da_DK/numbers.fallback b/src/virtualkeyboard/content/layouts/da_DK/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/da_DK/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/da_DK/symbols.fallback b/src/virtualkeyboard/content/layouts/da_DK/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/da_DK/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/de_DE/dialpad.fallback b/src/virtualkeyboard/content/layouts/de_DE/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/de_DE/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/de_DE/digits.fallback b/src/virtualkeyboard/content/layouts/de_DE/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/de_DE/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/de_DE/handwriting.fallback b/src/virtualkeyboard/content/layouts/de_DE/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/de_DE/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/de_DE/main.qml b/src/virtualkeyboard/content/layouts/de_DE/main.qml
deleted file mode 100644
index bd91ec50..00000000
--- a/src/virtualkeyboard/content/layouts/de_DE/main.qml
+++ /dev/null
@@ -1,210 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- key: Qt.Key_Udiaeresis
- text: "ü"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 66
- }
- Key {
- key: Qt.Key_A
- text: "a"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sß"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Odiaeresis
- text: "ö"
- }
- Key {
- key: Qt.Key_Adiaeresis
- text: "ä"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey { }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/de_DE/numbers.fallback b/src/virtualkeyboard/content/layouts/de_DE/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/de_DE/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/de_DE/symbols.fallback b/src/virtualkeyboard/content/layouts/de_DE/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/de_DE/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/el_GR/dialpad.fallback b/src/virtualkeyboard/content/layouts/el_GR/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/el_GR/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/el_GR/digits.fallback b/src/virtualkeyboard/content/layouts/el_GR/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/el_GR/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/el_GR/handwriting.qml b/src/virtualkeyboard/content/layouts/el_GR/handwriting.qml
deleted file mode 100644
index b010ecf4..00000000
--- a/src/virtualkeyboard/content/layouts/el_GR/handwriting.qml
+++ /dev/null
@@ -1,99 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- InputContext.inputEngine.inputMode !== InputEngine.InputMode.Greek ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!,.;:?"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/el_GR/main.qml b/src/virtualkeyboard/content/layouts/el_GR/main.qml
deleted file mode 100644
index d9fbaf9e..00000000
--- a/src/virtualkeyboard/content/layouts/el_GR/main.qml
+++ /dev/null
@@ -1,364 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- sharedLayouts: ['symbols']
- sourceComponent: InputContext.inputEngine.inputMode === InputEngine.InputMode.Greek ? greekLayout : latinLayout
- Component {
- id: greekLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "ς"
- }
- Key {
- text: "ε"
- alternativeKeys: "εέ"
- }
- Key {
- text: "ρ"
- }
- Key {
- text: "τ"
- }
- Key {
- text: "ψ"
- }
- Key {
- text: "υ"
- alternativeKeys: "υύϋΰ"
- }
- Key {
- text: "θ"
- }
- Key {
- text: "ι"
- alternativeKeys: "ιίϊΐ"
- }
- Key {
- text: "ο"
- alternativeKeys: "οό"
- }
- Key {
- text: "π"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "α"
- alternativeKeys: "αά"
- }
- Key {
- text: "σ"
- }
- Key {
- text: "δ"
- }
- Key {
- text: "φ"
- }
- Key {
- text: "γ"
- }
- Key {
- text: "η"
- alternativeKeys: "ηή"
- }
- Key {
- text: "ξ"
- }
- Key {
- text: "κ"
- }
- Key {
- text: "λ"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- inputModes: [InputEngine.InputMode.Greek, InputEngine.InputMode.Latin]
- }
- Key {
- text: "ζ"
- }
- Key {
- text: "χ"
- }
- Key {
- text: "ψ"
- }
- Key {
- text: "ω"
- alternativeKeys: "ωώ"
- }
- Key {
- text: "β"
- }
- Key {
- text: "ν"
- }
- Key {
- text: "μ"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!.;?"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: latinLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "êeëèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- alternativeKeys: "ŕrř"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- alternativeKeys: "ţtŧť"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "ÿyýŷ"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "űūũûüuùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "îïīĩiìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "œøõôöòóo"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: (InputContext.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly)) ? "a@äåãâàá" : "aäåãâàá"
- smallTextVisible: (InputContext.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "šsşś"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđď"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- alternativeKeys: "ġgģĝğ"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- alternativeKeys: "ĺŀłļľl"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- inputModes: [InputEngine.InputMode.Greek, InputEngine.InputMode.Latin]
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zžż"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "çcċčć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- alternativeKeys: "ņńnň"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/el_GR/numbers.fallback b/src/virtualkeyboard/content/layouts/el_GR/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/el_GR/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/el_GR/symbols.fallback b/src/virtualkeyboard/content/layouts/el_GR/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/el_GR/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_GB/dialpad.fallback b/src/virtualkeyboard/content/layouts/en_GB/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_GB/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_GB/digits.fallback b/src/virtualkeyboard/content/layouts/en_GB/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_GB/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_GB/handwriting.fallback b/src/virtualkeyboard/content/layouts/en_GB/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_GB/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_GB/main.fallback b/src/virtualkeyboard/content/layouts/en_GB/main.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_GB/main.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_GB/numbers.fallback b/src/virtualkeyboard/content/layouts/en_GB/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_GB/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_GB/symbols.fallback b/src/virtualkeyboard/content/layouts/en_GB/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_GB/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_US/dialpad.fallback b/src/virtualkeyboard/content/layouts/en_US/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_US/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_US/digits.fallback b/src/virtualkeyboard/content/layouts/en_US/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_US/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_US/handwriting.fallback b/src/virtualkeyboard/content/layouts/en_US/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_US/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_US/main.fallback b/src/virtualkeyboard/content/layouts/en_US/main.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_US/main.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_US/numbers.fallback b/src/virtualkeyboard/content/layouts/en_US/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_US/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/en_US/symbols.fallback b/src/virtualkeyboard/content/layouts/en_US/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/en_US/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/es_ES/dialpad.fallback b/src/virtualkeyboard/content/layouts/es_ES/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/es_ES/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/es_ES/digits.fallback b/src/virtualkeyboard/content/layouts/es_ES/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/es_ES/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/es_ES/handwriting.qml b/src/virtualkeyboard/content/layouts/es_ES/handwriting.qml
deleted file mode 100644
index d4896408..00000000
--- a/src/virtualkeyboard/content/layouts/es_ES/handwriting.qml
+++ /dev/null
@@ -1,97 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: InputEngine.InputMode.Latin
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.¿?¡!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/es_ES/main.qml b/src/virtualkeyboard/content/layouts/es_ES/main.qml
deleted file mode 100644
index b98980bb..00000000
--- a/src/virtualkeyboard/content/layouts/es_ES/main.qml
+++ /dev/null
@@ -1,211 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "ēęėëeêèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "üûuùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "ïįîiìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "öõôoòóº"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {
- weight: 180
- }
- }
- KeyboardRow {
- keyWeight: 156
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "äãaâàáª"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Ntilde
- text: "ñ"
- }
- EnterKey {
- weight: 246
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "čcçć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Question
- text: "?"
- alternativeKeys: "¿?¡!"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/es_ES/numbers.fallback b/src/virtualkeyboard/content/layouts/es_ES/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/es_ES/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/es_ES/symbols.qml b/src/virtualkeyboard/content/layouts/es_ES/symbols.qml
deleted file mode 100644
index 17bd3c36..00000000
--- a/src/virtualkeyboard/content/layouts/es_ES/symbols.qml
+++ /dev/null
@@ -1,378 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_exclamdown
- text: "¡"
- alternativeKeys: "¡!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: Qt.Key_Semicolon
- text: ";"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_questiondown
- text: "¿"
- alternativeKeys: "¿?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- key: 0xA2
- text: "¢"
- }
- Key {
- key: 0xA5
- text: "¥"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/es_MX/dialpad.fallback b/src/virtualkeyboard/content/layouts/es_MX/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/es_MX/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/es_MX/digits.fallback b/src/virtualkeyboard/content/layouts/es_MX/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/es_MX/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/es_MX/handwriting.qml b/src/virtualkeyboard/content/layouts/es_MX/handwriting.qml
deleted file mode 100644
index d4896408..00000000
--- a/src/virtualkeyboard/content/layouts/es_MX/handwriting.qml
+++ /dev/null
@@ -1,97 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: InputEngine.InputMode.Latin
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.¿?¡!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/es_MX/main.qml b/src/virtualkeyboard/content/layouts/es_MX/main.qml
deleted file mode 100644
index b98980bb..00000000
--- a/src/virtualkeyboard/content/layouts/es_MX/main.qml
+++ /dev/null
@@ -1,211 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "ēęėëeêèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "üûuùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "ïįîiìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "öõôoòóº"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {
- weight: 180
- }
- }
- KeyboardRow {
- keyWeight: 156
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "äãaâàáª"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Ntilde
- text: "ñ"
- }
- EnterKey {
- weight: 246
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "čcçć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Question
- text: "?"
- alternativeKeys: "¿?¡!"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/es_MX/numbers.fallback b/src/virtualkeyboard/content/layouts/es_MX/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/es_MX/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/es_MX/symbols.qml b/src/virtualkeyboard/content/layouts/es_MX/symbols.qml
deleted file mode 100644
index 17bd3c36..00000000
--- a/src/virtualkeyboard/content/layouts/es_MX/symbols.qml
+++ /dev/null
@@ -1,378 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_exclamdown
- text: "¡"
- alternativeKeys: "¡!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: Qt.Key_Semicolon
- text: ";"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_questiondown
- text: "¿"
- alternativeKeys: "¿?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- key: 0xA2
- text: "¢"
- }
- Key {
- key: 0xA5
- text: "¥"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/et_EE/dialpad.fallback b/src/virtualkeyboard/content/layouts/et_EE/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/et_EE/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/et_EE/digits.fallback b/src/virtualkeyboard/content/layouts/et_EE/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/et_EE/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/et_EE/handwriting.fallback b/src/virtualkeyboard/content/layouts/et_EE/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/et_EE/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/et_EE/main.qml b/src/virtualkeyboard/content/layouts/et_EE/main.qml
deleted file mode 100644
index 4d62e93e..00000000
--- a/src/virtualkeyboard/content/layouts/et_EE/main.qml
+++ /dev/null
@@ -1,215 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- key: Qt.Key_Udiaeresis
- text: "ü"
- }
- Key {
- key: Qt.Key_Otilde
- text: "õ"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 66
- }
- Key {
- key: Qt.Key_A
- text: "a"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Odiaeresis
- text: "ö"
- }
- Key {
- key: Qt.Key_Adiaeresis
- text: "ä"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey { }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/et_EE/numbers.fallback b/src/virtualkeyboard/content/layouts/et_EE/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/et_EE/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/et_EE/symbols.fallback b/src/virtualkeyboard/content/layouts/et_EE/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/et_EE/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fa_FA/dialpad.fallback b/src/virtualkeyboard/content/layouts/fa_FA/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fa_FA/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fa_FA/digits.qml b/src/virtualkeyboard/content/layouts/fa_FA/digits.qml
deleted file mode 100644
index ed92201f..00000000
--- a/src/virtualkeyboard/content/layouts/fa_FA/digits.qml
+++ /dev/null
@@ -1,111 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Plugins 2.3
-
-KeyboardLayout {
- inputMethod: PlainInputMethod {}
- inputMode: InputEngine.InputMode.Numeric
-
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.alignment: Qt.AlignHCenter
- Layout.preferredWidth: height
- KeyboardRow {
- Key {
- text: "\u06F7"
- alternativeKeys: "\u06F77"
- }
- Key {
- text: "\u06F8"
- alternativeKeys: "\u06F88"
- }
- Key {
- text: "\u06F9"
- alternativeKeys: "\u06F99"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- Key {
- text: "\u06F4"
- alternativeKeys: "\u06F44"
- }
- Key {
- text: "\u06F5"
- alternativeKeys: "\u06F55"
- }
- Key {
- text: "\u06F6"
- alternativeKeys: "\u06F66"
- }
- Key {
- text: " "
- displayText: "\u2423"
- repeat: true
- showPreview: false
- key: Qt.Key_Space
- }
- }
- KeyboardRow {
- Key {
- text: "\u06F1"
- alternativeKeys: "\u06F11"
- }
- Key {
- text: "\u06F2"
- alternativeKeys: "\u06F22"
- }
- Key {
- text: "\u06F3"
- alternativeKeys: "\u06F33"
- }
- HideKeyboardKey {}
- }
- KeyboardRow {
- ChangeLanguageKey {
- customLayoutsOnly: true
- }
- Key {
- text: "\u06F0"
- alternativeKeys: "\u06F00"
- }
- Key {
- key: Qt.Key_Comma
- text: "\u066B"
- alternativeKeys: "\u066B,."
- }
- EnterKey {}
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fa_FA/handwriting.qml b/src/virtualkeyboard/content/layouts/fa_FA/handwriting.qml
deleted file mode 100644
index 1a43b05e..00000000
--- a/src/virtualkeyboard/content/layouts/fa_FA/handwriting.qml
+++ /dev/null
@@ -1,116 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: InputEngine.InputMode.Arabic
- readonly property bool alphabeticInputMode: [InputEngine.InputMode.Latin, InputEngine.InputMode.Dialable].indexOf(InputContext.inputEngine.inputMode) !== -1
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- alphabeticInputMode ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- inputModeNameList: [
- "ABC", // InputEngine.InputMode.Latin
- "\u0660\u0661\u0662", // InputEngine.InputMode.Numeric
- "123", // InputEngine.InputMode.Dialable
- "", // InputEngine.InputMode.Pinyin
- "", // InputEngine.InputMode.Cangjie
- "", // InputEngine.InputMode.Zhuyin
- "", // InputEngine.InputMode.Hangul
- "", // InputEngine.InputMode.Hiragana
- "", // InputEngine.InputMode.Katakana
- "", // InputEngine.InputMode.FullwidthLatin
- "", // InputEngine.InputMode.Greek
- "", // InputEngine.InputMode.Cyrillic
- "\u0627\u200C\u0628\u200C\u067E", // InputEngine.InputMode.Arabic
- ]
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: alphabeticInputMode ? Qt.Key_Apostrophe : 0x060C
- text: alphabeticInputMode ? "'" : "\u060C"
- alternativeKeys: alphabeticInputMode ? "<>()#%&*/\\\"'=+-_" : "\"\u060C\u066B\u066C\u066D"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: alphabeticInputMode ? ":;,.?!" : ":\u061B.\u061F!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fa_FA/main.qml b/src/virtualkeyboard/content/layouts/fa_FA/main.qml
deleted file mode 100644
index 0450c772..00000000
--- a/src/virtualkeyboard/content/layouts/fa_FA/main.qml
+++ /dev/null
@@ -1,344 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- inputMode: InputEngine.InputMode.Arabic
- sourceComponent: InputContext.shiftActive ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "\u0636"
- }
- Key {
- text: "\u0635"
- }
- Key {
- text: "\u062B"
- }
- Key {
- text: "\u0642"
- }
- Key {
- text: "\u0641"
- }
- Key {
- text: "\u063A"
- }
- Key {
- text: "\u0639"
- }
- Key {
- text: "\u0647"
- }
- Key {
- text: "\u062E"
- }
- Key {
- text: "\u062D"
- }
- Key {
- text: "\u062C"
- }
- Key {
- text: "\u0686"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "\u0634"
- }
- Key {
- text: "\u0633"
- }
- Key {
- text: "\u06CC"
- }
- Key {
- text: "\u0628"
- }
- Key {
- text: "\u0644"
- }
- Key {
- text: "\u0627"
- }
- Key {
- text: "\u062A"
- }
- Key {
- text: "\u0646"
- }
- Key {
- text: "\u0645"
- }
- Key {
- text: "\u06A9"
- }
- Key {
- text: "\u06AF"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- text: "\u0638"
- }
- Key {
- text: "\u0637"
- }
- Key {
- text: "\u0632"
- }
- Key {
- text: "\u0631"
- }
- Key {
- text: "\u0630"
- }
- Key {
- text: "\u062F"
- }
- Key {
- text: "\u067E"
- }
- Key {
- text: "\u0648"
- }
- Key {
- key: 0x060C
- text: "\u060C"
- alternativeKeys: "\u060C,"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u06F1\u06F2\u06F3\u061F"
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- text: "\u200D"
- displayText: "ZWJ"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "\u0652"
- }
- Key {
- text: "\u064C"
- }
- Key {
- text: "\u064D"
- }
- Key {
- text: "\u064B"
- }
- Key {
- text: "\u064F"
- }
- Key {
- text: "\u0650"
- }
- Key {
- text: "\u064E"
- }
- Key {
- text: "\u0651"
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- enabled: false
- }
- Key {
- text: "\u064F"
- }
- Key {
- text: "\u064A"
- }
- Key {
- text: "\u0625"
- }
- Key {
- text: "\u0623"
- }
- Key {
- text: "\u0622"
- }
- Key {
- text: "\u0629"
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- text: "\u0643"
- }
- Key {
- text: "\u0653"
- }
- Key {
- text: "\u0698"
- }
- Key {
- text: "\u0670"
- }
- Key {
- text: "\u0621"
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- text: "\u0624"
- }
- Key {
- key: 0x060C
- text: "\u060C"
- alternativeKeys: "\u060C,"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u06F1\u06F2\u06F3\u061F"
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- text: "\u200C"
- displayText: "ZWNJ"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fa_FA/numbers.qml b/src/virtualkeyboard/content/layouts/fa_FA/numbers.qml
deleted file mode 100644
index e32a1e71..00000000
--- a/src/virtualkeyboard/content/layouts/fa_FA/numbers.qml
+++ /dev/null
@@ -1,184 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Plugins 2.3
-
-KeyboardLayout {
- inputMethod: PlainInputMethod {}
- inputMode: InputEngine.InputMode.Numeric
-
- KeyboardRow {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.alignment: Qt.AlignHCenter
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.preferredWidth: parent.height / 4 * 3
- KeyboardRow {
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- }
- KeyboardRow {
- Key {
- key: Qt.Key_division
- text: "\u00F7"
- }
- Key {
- key: Qt.Key_multiply
- text: "\u00D7"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- }
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- }
- KeyboardRow {
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- }
- }
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.preferredWidth: parent.height / 8
- KeyboardRow {
- FillerKey {}
- }
- }
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.preferredWidth: parent.height
- KeyboardRow {
- Key {
- text: "\u06F7"
- alternativeKeys: "\u06F77"
- }
- Key {
- text: "\u06F8"
- alternativeKeys: "\u06F88"
- }
- Key {
- text: "\u06F9"
- alternativeKeys: "\u06F99"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- Key {
- text: "\u06F4"
- alternativeKeys: "\u06F44"
- }
- Key {
- text: "\u06F5"
- alternativeKeys: "\u06F55"
- }
- Key {
- text: "\u06F6"
- alternativeKeys: "\u06F66"
- }
- Key {
- text: " "
- displayText: "\u2423"
- repeat: true
- showPreview: false
- key: Qt.Key_Space
- }
- }
- KeyboardRow {
- Key {
- text: "\u06F1"
- alternativeKeys: "\u06F11"
- }
- Key {
- text: "\u06F2"
- alternativeKeys: "\u06F22"
- }
- Key {
- text: "\u06F3"
- alternativeKeys: "\u06F33"
- }
- HideKeyboardKey {}
- }
- KeyboardRow {
- ChangeLanguageKey {
- customLayoutsOnly: true
- }
- Key {
- text: "\u06F0"
- alternativeKeys: "\u06F00"
- }
- Key {
- key: Qt.Key_Comma
- text: "\u066B"
- alternativeKeys: "\u066B,."
- }
- EnterKey {}
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fa_FA/symbols.qml b/src/virtualkeyboard/content/layouts/fa_FA/symbols.qml
deleted file mode 100644
index 8641fdb7..00000000
--- a/src/virtualkeyboard/content/layouts/fa_FA/symbols.qml
+++ /dev/null
@@ -1,378 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "\u06F1"
- alternativeKeys: "\u06F11"
- }
- Key {
- text: "\u06F2"
- alternativeKeys: "\u06F22"
- }
- Key {
- text: "\u06F3"
- alternativeKeys: "\u06F33"
- }
- Key {
- text: "\u06F4"
- alternativeKeys: "\u06F44"
- }
- Key {
- text: "\u06F5"
- alternativeKeys: "\u06F55"
- }
- Key {
- text: "\u06F6"
- alternativeKeys: "\u06F66"
- }
- Key {
- text: "\u06F7"
- alternativeKeys: "\u06F77"
- }
- Key {
- text: "\u06F8"
- alternativeKeys: "\u06F88"
- }
- Key {
- text: "\u06F9"
- alternativeKeys: "\u06F99"
- }
- Key {
- text: "\u06F0"
- alternativeKeys: "\u06F00"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Exclam
- text: "!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: 0x061B
- text: "\u061B"
- alternativeKeys: "\u061B;"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: 0x061F
- text: "\u061F"
- alternativeKeys: "\u061F?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u0627\u200C\u0628\u200C\u067E"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".\u060C,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: 0xFDFC
- text: "\uFDFC"
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- key: 0xA2
- text: "¢"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u0627\u200C\u0628\u200C\u067E"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fallback/dialpad.qml b/src/virtualkeyboard/content/layouts/fallback/dialpad.qml
deleted file mode 100644
index 89f6873a..00000000
--- a/src/virtualkeyboard/content/layouts/fallback/dialpad.qml
+++ /dev/null
@@ -1,113 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Plugins 2.3
-
-KeyboardLayout {
- inputMethod: PlainInputMethod {}
- inputMode: InputEngine.InputMode.Numeric
-
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.alignment: Qt.AlignHCenter
- Layout.preferredWidth: height
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- text: " "
- displayText: "\u2423"
- repeat: true
- showPreview: false
- key: Qt.Key_Space
- }
- }
- KeyboardRow {
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- HideKeyboardKey {}
- }
- KeyboardRow {
- Key {
- key: Qt.Key_Asterisk
- displayText: "*+"
- text: "*"
- alternativeKeys: "*+"
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- Key {
- text: "#"
- key: Qt.Key_NumberSign
- }
- EnterKey {}
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fallback/digits.qml b/src/virtualkeyboard/content/layouts/fallback/digits.qml
deleted file mode 100644
index 432984a1..00000000
--- a/src/virtualkeyboard/content/layouts/fallback/digits.qml
+++ /dev/null
@@ -1,112 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Plugins 2.3
-
-KeyboardLayout {
- inputMethod: PlainInputMethod {}
- inputMode: InputEngine.InputMode.Numeric
-
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.alignment: Qt.AlignHCenter
- Layout.preferredWidth: height
- KeyboardRow {
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- text: " "
- displayText: "\u2423"
- repeat: true
- showPreview: false
- key: Qt.Key_Space
- }
- }
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- HideKeyboardKey {}
- }
- KeyboardRow {
- ChangeLanguageKey {
- customLayoutsOnly: true
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- Key {
- // The decimal key, if it is not "," then we fallback to
- // "." in case it is an unhandled different result
- key: Qt.locale().decimalPoint === "," ? Qt.Key_Comma : Qt.Key_Period
- text: Qt.locale().decimalPoint === "," ? "," : "."
- }
- EnterKey {}
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fallback/handwriting.qml b/src/virtualkeyboard/content/layouts/fallback/handwriting.qml
deleted file mode 100644
index 1da3fc8e..00000000
--- a/src/virtualkeyboard/content/layouts/fallback/handwriting.qml
+++ /dev/null
@@ -1,96 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fallback/main.qml b/src/virtualkeyboard/content/layouts/fallback/main.qml
deleted file mode 100644
index c9a736f2..00000000
--- a/src/virtualkeyboard/content/layouts/fallback/main.qml
+++ /dev/null
@@ -1,208 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "êeëèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- alternativeKeys: "ŕrř"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- alternativeKeys: "ţtŧť"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "ÿyýŷ"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "űūũûüuùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "îïīĩiìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "œøõôöòóo"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aäåãâàá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "šsşś"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđď"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- alternativeKeys: "ġgģĝğ"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- alternativeKeys: "ĺŀłļľl"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zžż"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "çcċčć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- alternativeKeys: "ņńnň"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fallback/numbers.qml b/src/virtualkeyboard/content/layouts/fallback/numbers.qml
deleted file mode 100644
index 7fd0a2ab..00000000
--- a/src/virtualkeyboard/content/layouts/fallback/numbers.qml
+++ /dev/null
@@ -1,184 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Plugins 2.3
-
-KeyboardLayout {
- inputMethod: PlainInputMethod {}
- inputMode: InputEngine.InputMode.Numeric
-
- KeyboardRow {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.alignment: Qt.AlignHCenter
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.preferredWidth: parent.height / 4 * 3
- KeyboardRow {
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- }
- KeyboardRow {
- Key {
- key: Qt.Key_division
- text: "\u00F7"
- }
- Key {
- key: Qt.Key_multiply
- text: "\u00D7"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- }
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- }
- KeyboardRow {
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- }
- }
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.preferredWidth: parent.height / 8
- KeyboardRow {
- FillerKey {}
- }
- }
- KeyboardColumn {
- Layout.fillWidth: false
- Layout.fillHeight: true
- Layout.preferredWidth: parent.height
- KeyboardRow {
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- text: " "
- displayText: "\u2423"
- repeat: true
- showPreview: false
- key: Qt.Key_Space
- }
- }
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- HideKeyboardKey {}
- }
- KeyboardRow {
- ChangeLanguageKey {
- customLayoutsOnly: true
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".,"
- }
- EnterKey {}
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fallback/symbols.qml b/src/virtualkeyboard/content/layouts/fallback/symbols.qml
deleted file mode 100644
index 26d62951..00000000
--- a/src/virtualkeyboard/content/layouts/fallback/symbols.qml
+++ /dev/null
@@ -1,376 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Exclam
- text: "!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: Qt.Key_Semicolon
- text: ";"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_Question
- text: "?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: InputContext.inputEngine.inputMode === InputEngine.InputMode.Cyrillic ? "АБВ" : "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- key: 0xA2
- text: "¢"
- }
- Key {
- key: 0xA5
- text: "¥"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: InputContext.inputEngine.inputMode === InputEngine.InputMode.Cyrillic ? "АБВ" : "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fi_FI/dialpad.fallback b/src/virtualkeyboard/content/layouts/fi_FI/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fi_FI/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fi_FI/digits.fallback b/src/virtualkeyboard/content/layouts/fi_FI/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fi_FI/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fi_FI/handwriting.fallback b/src/virtualkeyboard/content/layouts/fi_FI/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fi_FI/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fi_FI/main.qml b/src/virtualkeyboard/content/layouts/fi_FI/main.qml
deleted file mode 100644
index a3a8a86f..00000000
--- a/src/virtualkeyboard/content/layouts/fi_FI/main.qml
+++ /dev/null
@@ -1,209 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- key: Qt.Key_Aring
- text: "å"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 66
- }
- Key {
- key: Qt.Key_A
- text: "a"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Odiaeresis
- text: "ö"
- }
- Key {
- key: Qt.Key_Adiaeresis
- text: "ä"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey { }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fi_FI/numbers.fallback b/src/virtualkeyboard/content/layouts/fi_FI/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fi_FI/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fi_FI/symbols.fallback b/src/virtualkeyboard/content/layouts/fi_FI/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fi_FI/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_CA/dialpad.fallback b/src/virtualkeyboard/content/layouts/fr_CA/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_CA/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_CA/digits.fallback b/src/virtualkeyboard/content/layouts/fr_CA/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_CA/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_CA/handwriting.fallback b/src/virtualkeyboard/content/layouts/fr_CA/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_CA/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_CA/main.qml b/src/virtualkeyboard/content/layouts/fr_CA/main.qml
deleted file mode 100644
index 8866dfd7..00000000
--- a/src/virtualkeyboard/content/layouts/fr_CA/main.qml
+++ /dev/null
@@ -1,200 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "éèeêë"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "yÿ"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "ùuûü"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "îiï"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "ôoœ"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aàâæ"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "cç"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fr_CA/numbers.fallback b/src/virtualkeyboard/content/layouts/fr_CA/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_CA/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_CA/symbols.fallback b/src/virtualkeyboard/content/layouts/fr_CA/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_CA/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_FR/dialpad.fallback b/src/virtualkeyboard/content/layouts/fr_FR/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_FR/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_FR/digits.fallback b/src/virtualkeyboard/content/layouts/fr_FR/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_FR/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_FR/handwriting.fallback b/src/virtualkeyboard/content/layouts/fr_FR/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_FR/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_FR/main.qml b/src/virtualkeyboard/content/layouts/fr_FR/main.qml
deleted file mode 100644
index 753d8e67..00000000
--- a/src/virtualkeyboard/content/layouts/fr_FR/main.qml
+++ /dev/null
@@ -1,204 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aàâæ"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "éèeêë"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "yÿ"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "ùuûü"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "îiï"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "ôoœ"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "cç"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/fr_FR/numbers.fallback b/src/virtualkeyboard/content/layouts/fr_FR/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_FR/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/fr_FR/symbols.fallback b/src/virtualkeyboard/content/layouts/fr_FR/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/fr_FR/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/he_IL/dialpad.fallback b/src/virtualkeyboard/content/layouts/he_IL/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/he_IL/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/he_IL/digits.fallback b/src/virtualkeyboard/content/layouts/he_IL/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/he_IL/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/he_IL/handwriting.qml b/src/virtualkeyboard/content/layouts/he_IL/handwriting.qml
deleted file mode 100644
index 66914c71..00000000
--- a/src/virtualkeyboard/content/layouts/he_IL/handwriting.qml
+++ /dev/null
@@ -1,99 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- InputContext.inputEngine.inputMode !== InputEngine.InputMode.Hebrew ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- alternativeKeys: "<>()#%&*/\\'\"=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/he_IL/main.qml b/src/virtualkeyboard/content/layouts/he_IL/main.qml
deleted file mode 100644
index 4c47fc56..00000000
--- a/src/virtualkeyboard/content/layouts/he_IL/main.qml
+++ /dev/null
@@ -1,381 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- sharedLayouts: ['symbols']
- sourceComponent: InputContext.inputEngine.inputMode === InputEngine.InputMode.Hebrew ? hebrewLayout : latinLayout
- Component {
- id: hebrewLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- alternativeKeys: "'\""
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- text: "\u05E7"
- alternativeKeys: "\u05B3\u05E7\u05B8\u05BB"
- }
- Key {
- text: "\u05E8"
- }
- Key {
- text: "\u05D0"
- }
- Key {
- text: "\u05D8"
- }
- Key {
- text: "\u05D5"
- alternativeKeys: [ "\u05D5", "\u05D5\u05B9", "\u05D5\u05BC" ]
- }
- Key {
- text: "\u05DF"
- }
- Key {
- text: "\u05DD"
- }
- Key {
- text: "\u05E4"
- alternativeKeys: "\u05B2\u05B7\u05E4"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "\u05E9"
- alternativeKeys: [ "\u05E9", "\u05B0", "\u05E9\u05C2", "\u05E9\u05C1" ]
- }
- Key {
- text: "\u05D3"
- alternativeKeys: "\u05D3\u05BC"
- }
- Key {
- text: "\u05D2"
- alternativeKeys: [ "\u05D2", "\u05D2\u05F3" ]
- }
- Key {
- text: "\u05DB"
- }
- Key {
- text: "\u05E2"
- }
- Key {
- text: "\u05D9"
- alternativeKeys: [ "\u05D9", "\u05F2\u05B7" ]
- }
- Key {
- text: "\u05D7"
- alternativeKeys: [ "\u05B9", "\u05D7", "\u05D7\u05F3", "\u05B4" ]
- }
- Key {
- text: "\u05DC"
- }
- Key {
- text: "\u05DA"
- }
- Key {
- text: "\u05E3"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- inputModes: [InputEngine.InputMode.Hebrew, InputEngine.InputMode.Latin]
- }
- Key {
- text: "\u05D6"
- alternativeKeys: [ "\u05D6", "\u05D6\u05F3" ]
- }
- Key {
- text: "\u05E1"
- alternativeKeys: "\u05E1\u05B6\u05B1"
- }
- Key {
- text: "\u05D1"
- }
- Key {
- text: "\u05D4"
- }
- Key {
- text: "\u05E0"
- }
- Key {
- text: "\u05DE"
- }
- Key {
- text: "\u05E6"
- alternativeKeys: [ "\u05E6", "\u05E6\u05F3", "\u05B5" ]
- }
- Key {
- text: "\u05EA"
- alternativeKeys: [ "\u05EA", "\u05EA\u05F3" ]
- }
- Key {
- text: "\u05E5"
- alternativeKeys: [ "\u05E5", "\u05E5\u05F3" ]
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- alternativeKeys: ":,;"
- }
- ShiftKey {
- weight: 204
- enabled: false
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!.?"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: latinLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "êeëèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- alternativeKeys: "ŕrř"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- alternativeKeys: "ţtŧť"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "ÿyýŷ"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "űūũûüuùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "îïīĩiìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "œøõôöòóo"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aäåãâàá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "šsşś"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđď"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- alternativeKeys: "ġgģĝğ"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- alternativeKeys: "ĺŀłļľl"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- inputModes: [InputEngine.InputMode.Hebrew, InputEngine.InputMode.Latin]
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zžż"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "çcċčć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- alternativeKeys: "ņńnň"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- alternativeKeys: ":,;"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!.?"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/he_IL/numbers.fallback b/src/virtualkeyboard/content/layouts/he_IL/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/he_IL/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/he_IL/symbols.qml b/src/virtualkeyboard/content/layouts/he_IL/symbols.qml
deleted file mode 100644
index f4e58652..00000000
--- a/src/virtualkeyboard/content/layouts/he_IL/symbols.qml
+++ /dev/null
@@ -1,376 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Exclam
- text: "!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: Qt.Key_Semicolon
- text: ";"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_Question
- text: "?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: InputContext.inputEngine.inputMode === InputEngine.InputMode.Hebrew ? "\u05D0\u05D1\u05D2" : "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- alternativeKeys: "$¢"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- text: "₪"
- }
- Key {
- key: 0xA5
- text: "¥"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: InputContext.inputEngine.inputMode === InputEngine.InputMode.Hebrew ? "\u05D0\u05D1\u05D2" : "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/hi_IN/dialpad.fallback b/src/virtualkeyboard/content/layouts/hi_IN/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hi_IN/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hi_IN/digits.fallback b/src/virtualkeyboard/content/layouts/hi_IN/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hi_IN/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hi_IN/handwriting.qml b/src/virtualkeyboard/content/layouts/hi_IN/handwriting.qml
deleted file mode 100644
index 1ae1fa4f..00000000
--- a/src/virtualkeyboard/content/layouts/hi_IN/handwriting.qml
+++ /dev/null
@@ -1,103 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.1; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- Key {
- weight: 217
- key: Qt.Key_Mode_switch
- noKeyEvent: true
- functionKey: true
- text: InputContext.inputEngine.inputMode === InputEngine.InputMode.Latin ? "123" : "ABC"
- onClicked: InputContext.inputEngine.inputMode = InputContext.inputEngine.inputMode === InputEngine.InputMode.Latin ? InputEngine.InputMode.Numeric : InputEngine.InputMode.Latin
- enabled: !(InputContext.inputMethodHints & (Qt.ImhDialableCharactersOnly | Qt.ImhFormattedNumbersOnly | Qt.ImhDigitsOnly))
- keyPanelDelegate: keyboard.style ? keyboard.style.symbolKeyPanel : undefined
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/hi_IN/main.qml b/src/virtualkeyboard/content/layouts/hi_IN/main.qml
deleted file mode 100644
index aac186eb..00000000
--- a/src/virtualkeyboard/content/layouts/hi_IN/main.qml
+++ /dev/null
@@ -1,340 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- inputMode: InputEngine.InputMode.Latin
- sourceComponent: InputContext.shiftActive ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "\u094C"
- }
- Key {
- text: "\u0948"
- }
- Key {
- text: "\u093E"
- }
- Key {
- text: "\u0940"
- }
- Key {
- text: "\u0942"
- }
- Key {
- text: "\u092C"
- }
- Key {
- text: "\u0939"
- }
- Key {
- text: "\u0917"
- }
- Key {
- text: "\u0926"
- }
- Key {
- text: "\u091C"
- }
- Key {
- text: "\u0921"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 66
- }
- Key {
- text: "\u094B"
- alternativeKeys: ["\u094B", "\u094A"]
- }
- Key {
- text: "\u0947"
- }
- Key {
- text: "\u094D"
- }
- Key {
- text: "\u093F"
- }
- Key {
- text: "\u0941"
- }
- Key {
- text: "\u092A"
- }
- Key {
- text: "\u0930"
- }
- Key {
- text: "\u0915"
- }
- Key {
- text: "\u0924"
- }
- Key {
- text: "\u091A"
- }
- Key {
- text: "\u091F"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey { }
- Key {
- text: "\u0949"
- }
- Key {
- text: "\u0902"
- alternativeKeys: "\u0902\u0903"
- }
- Key {
- text: "\u092E"
- }
- Key {
- text: "\u0928"
- }
- Key {
- text: "\u0935"
- }
- Key {
- text: "\u0932"
- }
- Key {
- text: "\u0938"
- }
- Key {
- text: "\u092F"
- }
- Key {
- text: "\u093C"
- }
- Key {
- key: 0x2013
- text: "\u2013"
- alternativeKeys: "\u2013-“”"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "&\u0967\u0968\u0969"
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- alternativeKeys: "!?:;.,|"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "\u0914"
- }
- Key {
- text: "\u0910"
- }
- Key {
- text: "\u0906"
- }
- Key {
- text: "\u0908"
- }
- Key {
- text: "\u090A"
- }
- Key {
- text: "\u092D"
- }
- Key {
- text: "\u0919"
- }
- Key {
- text: "\u0918"
- }
- Key {
- text: "\u0927"
- }
- Key {
- text: "\u091D"
- }
- Key {
- text: "\u0922"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 66
- }
- Key {
- text: "\u0913"
- }
- Key {
- text: "\u090F"
- }
- Key {
- text: "\u0905"
- }
- Key {
- text: "\u0907"
- }
- Key {
- text: "\u0909"
- }
- Key {
- text: "\u092B"
- }
- Key {
- text: "\u0931"
- }
- Key {
- text: "\u0916"
- }
- Key {
- text: "\u0925"
- }
- Key {
- text: "\u091B"
- }
- Key {
- text: "\u0920"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey { }
- Key {
- text: "\u0911"
- }
- Key {
- text: "\u0901"
- }
- Key {
- text: "\u0923"
- }
- Key {
- text: "\u0929"
- }
- Key {
- text: "\u091E"
- }
- Key {
- text: "\u0933"
- }
- Key {
- text: "\u0936"
- }
- Key {
- text: "\u0937"
- }
- Key {
- text: "\u0943"
- }
- Key {
- key: 0x2013
- text: "\u2013"
- alternativeKeys: "\u2013-“”"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "&\u0967\u0968\u0969"
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- alternativeKeys: "!?:;.,|"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/hi_IN/numbers.fallback b/src/virtualkeyboard/content/layouts/hi_IN/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hi_IN/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hi_IN/symbols.qml b/src/virtualkeyboard/content/layouts/hi_IN/symbols.qml
deleted file mode 100644
index 6ae785f9..00000000
--- a/src/virtualkeyboard/content/layouts/hi_IN/symbols.qml
+++ /dev/null
@@ -1,386 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "\u0967"
- alternativeKeys: "\u09671"
- }
- Key {
- key: Qt.Key_2
- text: "\u0968"
- alternativeKeys: "\u09682"
- }
- Key {
- key: Qt.Key_3
- text: "\u0969"
- alternativeKeys: "\u09693"
- }
- Key {
- key: Qt.Key_4
- text: "\u096A"
- alternativeKeys: "\u096A4"
- }
- Key {
- key: Qt.Key_5
- text: "\u096B"
- alternativeKeys: "\u096B5"
- }
- Key {
- key: Qt.Key_6
- text: "\u096C"
- alternativeKeys: "\u096C6"
- }
- Key {
- key: Qt.Key_7
- text: "\u096D"
- alternativeKeys: "\u096D7"
- }
- Key {
- key: Qt.Key_8
- text: "\u096E"
- alternativeKeys: "\u096E8"
- }
- Key {
- key: Qt.Key_9
- text: "\u096F"
- alternativeKeys: "\u096F9"
- }
- Key {
- key: Qt.Key_0
- text: "\u0966"
- alternativeKeys: "\u09660"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Exclam
- text: "!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: Qt.Key_Semicolon
- text: ";"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_Question
- text: "?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u0915\u0916\u0917"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: 0x20B9
- text: "\u20B9"
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- key: 0xA2
- text: "¢"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\u0915\u0916\u0917"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/hr_HR/dialpad.fallback b/src/virtualkeyboard/content/layouts/hr_HR/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hr_HR/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hr_HR/digits.fallback b/src/virtualkeyboard/content/layouts/hr_HR/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hr_HR/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hr_HR/handwriting.qml b/src/virtualkeyboard/content/layouts/hr_HR/handwriting.qml
deleted file mode 100644
index 968bae8e..00000000
--- a/src/virtualkeyboard/content/layouts/hr_HR/handwriting.qml
+++ /dev/null
@@ -1,102 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: InputEngine.InputMode.Latin
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- Key {
- key: 0x102
- text: "ă"
- alternativeKeys: "ăîâșț"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/hr_HR/main.qml b/src/virtualkeyboard/content/layouts/hr_HR/main.qml
deleted file mode 100644
index 4b4c46d9..00000000
--- a/src/virtualkeyboard/content/layouts/hr_HR/main.qml
+++ /dev/null
@@ -1,218 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oö"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- key: 0x160
- text: "š"
- }
- Key {
- key: 0x110
- text: "đ"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aåä"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: 0x10C
- text: "č"
- }
- Key {
- key: 0x106
- text: "ć"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {
- weight: 166
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: 0x17D
- text: "ž"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 234
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: [ "-", "\"", "'" ]
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/hr_HR/numbers.fallback b/src/virtualkeyboard/content/layouts/hr_HR/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hr_HR/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hr_HR/symbols.fallback b/src/virtualkeyboard/content/layouts/hr_HR/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hr_HR/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hu_HU/dialpad.fallback b/src/virtualkeyboard/content/layouts/hu_HU/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hu_HU/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hu_HU/digits.fallback b/src/virtualkeyboard/content/layouts/hu_HU/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hu_HU/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hu_HU/handwriting.qml b/src/virtualkeyboard/content/layouts/hu_HU/handwriting.qml
deleted file mode 100644
index caf820ae..00000000
--- a/src/virtualkeyboard/content/layouts/hu_HU/handwriting.qml
+++ /dev/null
@@ -1,97 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: InputEngine.InputMode.Latin
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/hu_HU/main.qml b/src/virtualkeyboard/content/layouts/hu_HU/main.qml
deleted file mode 100644
index 0834dc04..00000000
--- a/src/virtualkeyboard/content/layouts/hu_HU/main.qml
+++ /dev/null
@@ -1,201 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "eé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "úűuü"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "ií"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "óőoö"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aåäá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "-\"'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/hu_HU/numbers.fallback b/src/virtualkeyboard/content/layouts/hu_HU/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hu_HU/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/hu_HU/symbols.fallback b/src/virtualkeyboard/content/layouts/hu_HU/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/hu_HU/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/id_ID/dialpad.fallback b/src/virtualkeyboard/content/layouts/id_ID/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/id_ID/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/id_ID/digits.fallback b/src/virtualkeyboard/content/layouts/id_ID/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/id_ID/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/id_ID/handwriting.fallback b/src/virtualkeyboard/content/layouts/id_ID/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/id_ID/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/id_ID/main.fallback b/src/virtualkeyboard/content/layouts/id_ID/main.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/id_ID/main.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/id_ID/numbers.fallback b/src/virtualkeyboard/content/layouts/id_ID/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/id_ID/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/id_ID/symbols.fallback b/src/virtualkeyboard/content/layouts/id_ID/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/id_ID/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/it_IT/dialpad.fallback b/src/virtualkeyboard/content/layouts/it_IT/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/it_IT/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/it_IT/digits.fallback b/src/virtualkeyboard/content/layouts/it_IT/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/it_IT/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/it_IT/handwriting.fallback b/src/virtualkeyboard/content/layouts/it_IT/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/it_IT/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/it_IT/main.qml b/src/virtualkeyboard/content/layouts/it_IT/main.qml
deleted file mode 100644
index 72d7c03c..00000000
--- a/src/virtualkeyboard/content/layouts/it_IT/main.qml
+++ /dev/null
@@ -1,198 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "eèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "uùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "iìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oòó"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aàá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/it_IT/numbers.fallback b/src/virtualkeyboard/content/layouts/it_IT/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/it_IT/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/it_IT/symbols.fallback b/src/virtualkeyboard/content/layouts/it_IT/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/it_IT/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ja_JP/dialpad.fallback b/src/virtualkeyboard/content/layouts/ja_JP/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ja_JP/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ja_JP/digits.fallback b/src/virtualkeyboard/content/layouts/ja_JP/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ja_JP/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ja_JP/handwriting.qml b/src/virtualkeyboard/content/layouts/ja_JP/handwriting.qml
deleted file mode 100644
index 08a74384..00000000
--- a/src/virtualkeyboard/content/layouts/ja_JP/handwriting.qml
+++ /dev/null
@@ -1,99 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- InputContext.inputEngine.inputMode !== InputEngine.InputMode.JapaneseHandwriting ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
-
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "‘"
- alternativeKeys: "《》〈〉•…々〆‘’“”「」¥"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.、。?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ja_JP/main.qml b/src/virtualkeyboard/content/layouts/ja_JP/main.qml
deleted file mode 100644
index d3fb6ae1..00000000
--- a/src/virtualkeyboard/content/layouts/ja_JP/main.qml
+++ /dev/null
@@ -1,432 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; JapaneseInputMethod {}', parent, "japaneseInputMethod")
- }
- sharedLayouts: ['symbols']
- sourceComponent: InputContext.inputEngine.inputMode === InputEngine.InputMode.FullwidthLatin ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- enabled: !(InputContext.inputMethodHints & Qt.ImhLatinOnly) && inputModeCount > 1
- inputModeNameList: [
- "半角", // InputEngine.InputMode.Latin
- "", // InputEngine.InputMode.Numeric
- "", // InputEngine.InputMode.Dialable
- "", // InputEngine.InputMode.Pinyin
- "", // InputEngine.InputMode.Cangjie
- "", // InputEngine.InputMode.Zhuyin
- "", // InputEngine.InputMode.Hangul
- "あ", // InputEngine.InputMode.Hiragana
- "カ", // InputEngine.InputMode.Katakana
- "全角", // InputEngine.InputMode.FullwidthLatin
- ]
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: "\u3001"
- alternativeKeys: "\u3001\uFF01,!"
- }
- Key {
- key: Qt.Key_Period
- text: "\u3002"
- alternativeKeys: "\u3002\uFF1F.?"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 194
- }
- ChangeLanguageKey {
- }
- HandwritingModeKey {
- }
- Key {
- key: Qt.Key_Left
- displayText: "\u2190"
- repeat: true
- noModifier: true
- functionKey: true
- }
- Key {
- key: Qt.Key_Right
- displayText: "\u2192"
- repeat: true
- noModifier: true
- functionKey: true
- }
- SpaceKey {
- weight: 556
- text: InputContext.inputEngine.inputMode != InputEngine.InputMode.Latin ? "\u3000" : " "
- }
- Key {
- key: Qt.Key_Slash
- text: "\u30FB"
- alternativeKeys: "\u30FB/"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "\uFF07"
- alternativeKeys: "\uFF07\uFF02'\""
- }
- Key {
- key: Qt.Key_Underscore
- text: "\u30FC"
- alternativeKeys: "\u30FC\uFF5E\uFF70\uFF3F_"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "\uFF51"
- }
- Key {
- key: Qt.Key_W
- text: "\uFF57"
- }
- Key {
- key: Qt.Key_E
- text: "\uFF45"
- }
- Key {
- key: Qt.Key_R
- text: "\uFF52"
- }
- Key {
- key: Qt.Key_T
- text: "\uFF54"
- }
- Key {
- key: Qt.Key_Y
- text: "\uFF59"
- }
- Key {
- key: Qt.Key_U
- text: "\uFF55"
- }
- Key {
- key: Qt.Key_I
- text: "\uFF49"
- }
- Key {
- key: Qt.Key_O
- text: "\uFF4F"
- }
- Key {
- key: Qt.Key_P
- text: "\uFF50"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "\uFF41"
- }
- Key {
- key: Qt.Key_S
- text: "\uFF53"
- }
- Key {
- key: Qt.Key_D
- text: "\uFF44"
- }
- Key {
- key: Qt.Key_F
- text: "\uFF46"
- }
- Key {
- key: Qt.Key_G
- text: "\uFF47"
- }
- Key {
- key: Qt.Key_H
- text: "\uFF48"
- }
- Key {
- key: Qt.Key_J
- text: "\uFF4A"
- }
- Key {
- key: Qt.Key_K
- text: "\uFF4B"
- }
- Key {
- key: Qt.Key_L
- text: "\uFF4C"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- }
- Key {
- key: Qt.Key_Z
- text: "\uFF5A"
- }
- Key {
- key: Qt.Key_X
- text: "\uFF58"
- }
- Key {
- key: Qt.Key_C
- text: "\uFF43"
- }
- Key {
- key: Qt.Key_V
- text: "\uFF56"
- }
- Key {
- key: Qt.Key_B
- text: "\uFF42"
- }
- Key {
- key: Qt.Key_N
- text: "\uFF4E"
- }
- Key {
- key: Qt.Key_M
- text: "\uFF4D"
- }
- Key {
- key: Qt.Key_Comma
- text: "\u3001"
- alternativeKeys: "\u3001\uFF01,!"
- }
- Key {
- key: Qt.Key_Period
- text: "\u3002"
- alternativeKeys: "\u3002\uFF1F.?"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 194
- }
- ChangeLanguageKey {
- }
- HandwritingModeKey {
- }
- Key {
- key: Qt.Key_Left
- displayText: "\u2190"
- repeat: true
- noModifier: true
- functionKey: true
- }
- Key {
- key: Qt.Key_Right
- displayText: "\u2192"
- repeat: true
- noModifier: true
- functionKey: true
- }
- SpaceKey {
- weight: 556
- text: "\u3000"
- }
- Key {
- key: Qt.Key_Slash
- text: "\u30FB"
- alternativeKeys: "\u30FB/"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "\uFF07"
- alternativeKeys: "\uFF07\uFF02'\""
- }
- Key {
- key: Qt.Key_Underscore
- text: "\u30FC"
- alternativeKeys: "\u30FC\uFF5E\uFF70\uFF3F_"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ja_JP/numbers.fallback b/src/virtualkeyboard/content/layouts/ja_JP/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ja_JP/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ja_JP/symbols.qml b/src/virtualkeyboard/content/layouts/ja_JP/symbols.qml
deleted file mode 100644
index 66a4985b..00000000
--- a/src/virtualkeyboard/content/layouts/ja_JP/symbols.qml
+++ /dev/null
@@ -1,294 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.1; JapaneseInputMethod {}', parent, "japaneseInputMethod")
- }
- sharedLayouts: ['main']
- property int page
- readonly property int numPages: 3
- property var keysPage1: [
- "1234567890",
- "@#$%^&*()",
- "“”、=:;!?~"
- ]
- property var keysPage2: [
- "-+/\\|[]{}·",
- "<>,.:;!?~",
- "/\"'_§¥€£¢"
- ]
- property var keysPage3: [
- "()〔〕〈〉《》【】",
- "→←↑↓↔■□●○",
- "\『』「」★☆◆◇"
- ]
- sourceComponent: {
- switch (page) {
- case 2: return page3
- case 1: return page2
- default: return page1
- }
- }
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Repeater {
- model: keysPage1[0].length
- Key {
- key: keysPage1[0][index].charCodeAt(0)
- text: keysPage1[0][index]
- }
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Repeater {
- model: keysPage1[1].length
- Key {
- key: keysPage1[1][index].charCodeAt(0)
- text: keysPage1[1][index]
- }
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- Repeater {
- model: keysPage1[2].length
- Key {
- key: keysPage1[2][index].charCodeAt(0)
- text: keysPage1[2][index]
- }
- }
- Key {
- weight: 204
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2014
- text: "—"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Repeater {
- model: keysPage2[0].length
- Key {
- key: keysPage2[0][index].charCodeAt(0)
- text: keysPage2[0][index]
- }
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Repeater {
- model: keysPage2[1].length
- Key {
- key: keysPage2[1][index].charCodeAt(0)
- text: keysPage2[1][index]
- }
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- Repeater {
- model: keysPage2[2].length
- Key {
- key: keysPage2[2][index].charCodeAt(0)
- text: keysPage2[2][index]
- }
- }
- Key {
- weight: 204
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x3002
- text: "。"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page3
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Repeater {
- model: keysPage3[0].length
- Key {
- key: keysPage3[0][index].charCodeAt(0)
- text: keysPage3[0][index]
- }
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Repeater {
- model: keysPage3[1].length
- Key {
- key: keysPage3[1][index].charCodeAt(0)
- text: keysPage3[1][index]
- }
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- Repeater {
- model: keysPage3[2].length
- Key {
- key: keysPage3[2][index].charCodeAt(0)
- text: keysPage3[2][index]
- }
- }
- Key {
- weight: 204
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "…"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ko_KR/dialpad.fallback b/src/virtualkeyboard/content/layouts/ko_KR/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ko_KR/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ko_KR/digits.fallback b/src/virtualkeyboard/content/layouts/ko_KR/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ko_KR/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ko_KR/handwriting.qml b/src/virtualkeyboard/content/layouts/ko_KR/handwriting.qml
deleted file mode 100644
index 563239a4..00000000
--- a/src/virtualkeyboard/content/layouts/ko_KR/handwriting.qml
+++ /dev/null
@@ -1,118 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: preferredInputMode()
-
- Connections {
- target: InputContext
- onInputMethodHintsChanged: {
- var newInputMode = preferredInputMode()
- if (InputContext.inputEngine.inputModes.indexOf(newInputMode) !== -1)
- InputContext.inputEngine.inputMode = newInputMode
- }
- }
-
- function preferredInputMode() {
- return InputContext.inputMethodHints &
- (Qt.ImhPreferLatin | Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly |
- Qt.ImhLatinOnly) ? InputEngine.InputMode.Latin : InputEngine.InputMode.KoreanHandwriting
- }
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- InputContext.inputEngine.inputMode !== InputEngine.InputMode.KoreanHandwriting ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
-
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey {
- enabled: InputContext.inputEngine.inputMode !== InputEngine.InputMode.KoreanHandwriting
- }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ko_KR/main.qml b/src/virtualkeyboard/content/layouts/ko_KR/main.qml
deleted file mode 100644
index 54e6ec57..00000000
--- a/src/virtualkeyboard/content/layouts/ko_KR/main.qml
+++ /dev/null
@@ -1,313 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.1; HangulInputMethod {}', parent, "hangulInputMethod")
- }
- sourceComponent: InputContext.shiftActive ? page2 : page1
- sharedLayouts: ['symbols']
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "\u3142"
- }
- Key {
- text: "\u3148"
- }
- Key {
- text: "\u3137"
- }
- Key {
- text: "\u3131"
- }
- Key {
- text: "\u3145"
- }
- Key {
- text: "\u315B"
- }
- Key {
- text: "\u3155"
- }
- Key {
- text: "\u3151"
- }
- Key {
- text: "\u3150"
- }
- Key {
- text: "\u3154"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "\u3141"
- }
- Key {
- text: "\u3134"
- }
- Key {
- text: "\u3147"
- }
- Key {
- text: "\u3139"
- }
- Key {
- text: "\u314E"
- }
- Key {
- text: "\u3157"
- }
- Key {
- text: "\u3153"
- }
- Key {
- text: "\u314F"
- }
- Key {
- text: "\u3163"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- text: "\u314B"
- }
- Key {
- text: "\u314C"
- }
- Key {
- text: "\u314A"
- }
- Key {
- text: "\u314D"
- }
- Key {
- text: "\u3160"
- }
- Key {
- text: "\u315C"
- }
- Key {
- text: "\u3161"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "\u3143"
- }
- Key {
- text: "\u3149"
- }
- Key {
- text: "\u3138"
- }
- Key {
- text: "\u3132"
- }
- Key {
- text: "\u3146"
- }
- Key {
- text: "\u315B"
- }
- Key {
- text: "\u3155"
- }
- Key {
- text: "\u3151"
- }
- Key {
- text: "\u3152"
- }
- Key {
- text: "\u3156"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "\u3141"
- }
- Key {
- text: "\u3134"
- }
- Key {
- text: "\u3147"
- }
- Key {
- text: "\u3139"
- }
- Key {
- text: "\u314E"
- }
- Key {
- text: "\u3157"
- }
- Key {
- text: "\u3153"
- }
- Key {
- text: "\u314F"
- }
- Key {
- text: "\u3163"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- text: "\u314B"
- }
- Key {
- text: "\u314C"
- }
- Key {
- text: "\u314A"
- }
- Key {
- text: "\u314D"
- }
- Key {
- text: "\u3160"
- }
- Key {
- text: "\u315C"
- }
- Key {
- text: "\u3161"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ko_KR/numbers.fallback b/src/virtualkeyboard/content/layouts/ko_KR/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ko_KR/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ko_KR/symbols.qml b/src/virtualkeyboard/content/layouts/ko_KR/symbols.qml
deleted file mode 100644
index 352a69e1..00000000
--- a/src/virtualkeyboard/content/layouts/ko_KR/symbols.qml
+++ /dev/null
@@ -1,380 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.1; HangulInputMethod {}', parent, "hangulInputMethod")
- }
- sharedLayouts: ['main']
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Exclam
- text: "!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: Qt.Key_Semicolon
- text: ";"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_Question
- text: "?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\uC54C\uD30C\uBCB3"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- key: 0x20A9
- text: "\u20A9"
- }
- Key {
- key: 0xA5
- text: "¥"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "\uC54C\uD30C\uBCB3"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ms_MY/dialpad.fallback b/src/virtualkeyboard/content/layouts/ms_MY/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ms_MY/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ms_MY/digits.fallback b/src/virtualkeyboard/content/layouts/ms_MY/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ms_MY/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ms_MY/handwriting.fallback b/src/virtualkeyboard/content/layouts/ms_MY/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ms_MY/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ms_MY/main.fallback b/src/virtualkeyboard/content/layouts/ms_MY/main.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ms_MY/main.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ms_MY/numbers.fallback b/src/virtualkeyboard/content/layouts/ms_MY/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ms_MY/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ms_MY/symbols.fallback b/src/virtualkeyboard/content/layouts/ms_MY/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ms_MY/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nb_NO/dialpad.fallback b/src/virtualkeyboard/content/layouts/nb_NO/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nb_NO/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nb_NO/digits.fallback b/src/virtualkeyboard/content/layouts/nb_NO/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nb_NO/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nb_NO/handwriting.fallback b/src/virtualkeyboard/content/layouts/nb_NO/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nb_NO/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nb_NO/main.qml b/src/virtualkeyboard/content/layouts/nb_NO/main.qml
deleted file mode 100644
index 8580045b..00000000
--- a/src/virtualkeyboard/content/layouts/nb_NO/main.qml
+++ /dev/null
@@ -1,215 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "eéèê"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "uü"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oöóòô"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- key: Qt.Key_Aring
- text: "å"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 66
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aäâá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Ooblique
- text: "ø"
- alternativeKeys: "øö"
- }
- Key {
- key: Qt.Key_AE
- text: "æ"
- alternativeKeys: "æä"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey { }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/nb_NO/numbers.fallback b/src/virtualkeyboard/content/layouts/nb_NO/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nb_NO/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nb_NO/symbols.fallback b/src/virtualkeyboard/content/layouts/nb_NO/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nb_NO/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nl_NL/dialpad.fallback b/src/virtualkeyboard/content/layouts/nl_NL/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nl_NL/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nl_NL/digits.fallback b/src/virtualkeyboard/content/layouts/nl_NL/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nl_NL/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nl_NL/handwriting.fallback b/src/virtualkeyboard/content/layouts/nl_NL/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nl_NL/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nl_NL/main.fallback b/src/virtualkeyboard/content/layouts/nl_NL/main.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nl_NL/main.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nl_NL/numbers.fallback b/src/virtualkeyboard/content/layouts/nl_NL/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nl_NL/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/nl_NL/symbols.fallback b/src/virtualkeyboard/content/layouts/nl_NL/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/nl_NL/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pl_PL/dialpad.fallback b/src/virtualkeyboard/content/layouts/pl_PL/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pl_PL/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pl_PL/digits.fallback b/src/virtualkeyboard/content/layouts/pl_PL/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pl_PL/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pl_PL/handwriting.fallback b/src/virtualkeyboard/content/layouts/pl_PL/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pl_PL/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pl_PL/main.qml b/src/virtualkeyboard/content/layouts/pl_PL/main.qml
deleted file mode 100644
index 2a7ebfd0..00000000
--- a/src/virtualkeyboard/content/layouts/pl_PL/main.qml
+++ /dev/null
@@ -1,202 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "eę"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oó"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aą"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sś"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- alternativeKeys: "lł"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zźż"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- alternativeKeys: "xź"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "cć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- alternativeKeys: "nń"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/pl_PL/numbers.fallback b/src/virtualkeyboard/content/layouts/pl_PL/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pl_PL/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pl_PL/symbols.fallback b/src/virtualkeyboard/content/layouts/pl_PL/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pl_PL/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_BR/dialpad.fallback b/src/virtualkeyboard/content/layouts/pt_BR/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_BR/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_BR/digits.fallback b/src/virtualkeyboard/content/layouts/pt_BR/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_BR/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_BR/handwriting.fallback b/src/virtualkeyboard/content/layouts/pt_BR/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_BR/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_BR/main.qml b/src/virtualkeyboard/content/layouts/pt_BR/main.qml
deleted file mode 100644
index 53ed462f..00000000
--- a/src/virtualkeyboard/content/layouts/pt_BR/main.qml
+++ /dev/null
@@ -1,207 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "ēęėëeêèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "üûuùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "ïįîiìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "öõôoòó"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "äãaâàá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Ccedilla
- text: "ç"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "čcć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 244
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/pt_BR/numbers.fallback b/src/virtualkeyboard/content/layouts/pt_BR/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_BR/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_BR/symbols.fallback b/src/virtualkeyboard/content/layouts/pt_BR/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_BR/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_PT/dialpad.fallback b/src/virtualkeyboard/content/layouts/pt_PT/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_PT/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_PT/digits.fallback b/src/virtualkeyboard/content/layouts/pt_PT/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_PT/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_PT/handwriting.fallback b/src/virtualkeyboard/content/layouts/pt_PT/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_PT/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_PT/main.qml b/src/virtualkeyboard/content/layouts/pt_PT/main.qml
deleted file mode 100644
index 53ed462f..00000000
--- a/src/virtualkeyboard/content/layouts/pt_PT/main.qml
+++ /dev/null
@@ -1,207 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "ēęėëeêèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "üûuùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "ïįîiìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "öõôoòó"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "äãaâàá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Ccedilla
- text: "ç"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "čcć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 244
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/pt_PT/numbers.fallback b/src/virtualkeyboard/content/layouts/pt_PT/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_PT/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/pt_PT/symbols.fallback b/src/virtualkeyboard/content/layouts/pt_PT/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/pt_PT/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ro_RO/dialpad.fallback b/src/virtualkeyboard/content/layouts/ro_RO/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ro_RO/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ro_RO/digits.fallback b/src/virtualkeyboard/content/layouts/ro_RO/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ro_RO/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ro_RO/handwriting.qml b/src/virtualkeyboard/content/layouts/ro_RO/handwriting.qml
deleted file mode 100644
index 1d5dedb9..00000000
--- a/src/virtualkeyboard/content/layouts/ro_RO/handwriting.qml
+++ /dev/null
@@ -1,102 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: InputEngine.InputMode.Latin
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- Key {
- key: 0x102
- text: "ă"
- alternativeKeys: "ăîâșț"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ro_RO/main.qml b/src/virtualkeyboard/content/layouts/ro_RO/main.qml
deleted file mode 100644
index ea3865eb..00000000
--- a/src/virtualkeyboard/content/layouts/ro_RO/main.qml
+++ /dev/null
@@ -1,229 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "êeëèé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- alternativeKeys: "ŕrř"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- alternativeKeys: "țţtŧť"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "ÿyýŷ"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "űūũûüuùú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "îïīĩiìí"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "œøõôöòóo"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- key: 0x102
- text: "ă"
- }
- Key {
- key: Qt.Key_Icircumflex
- text: "î"
- }
- Key {
- key: Qt.Key_Acircumflex
- text: "â"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aäåãăâàá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "șšsşś"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđď"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- alternativeKeys: "ġgģĝğ"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- alternativeKeys: "ĺŀłļľl"
- }
- Key {
- key: 0x218
- text: "ș"
- }
- Key {
- key: 0x21a
- text: "ț"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zžż"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "çcċčć"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- alternativeKeys: "ņńnň"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: [ "\"", "'" ]
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ro_RO/numbers.fallback b/src/virtualkeyboard/content/layouts/ro_RO/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ro_RO/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ro_RO/symbols.fallback b/src/virtualkeyboard/content/layouts/ro_RO/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ro_RO/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ru_RU/dialpad.fallback b/src/virtualkeyboard/content/layouts/ru_RU/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ru_RU/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ru_RU/digits.fallback b/src/virtualkeyboard/content/layouts/ru_RU/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ru_RU/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ru_RU/handwriting.fallback b/src/virtualkeyboard/content/layouts/ru_RU/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ru_RU/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ru_RU/main.qml b/src/virtualkeyboard/content/layouts/ru_RU/main.qml
deleted file mode 100644
index 87eb2382..00000000
--- a/src/virtualkeyboard/content/layouts/ru_RU/main.qml
+++ /dev/null
@@ -1,394 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.10
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- sharedLayouts: ['symbols']
- sourceComponent: InputContext.inputEngine.inputMode === InputEngine.InputMode.Cyrillic ? cyrillicLayout : latinLayout
- Component {
- id: cyrillicLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: 0x0419
- text: "й"
- }
- Key {
- key: 0x0426
- text: "ц"
- }
- Key {
- key: 0x0423
- text: "у"
- }
- Key {
- key: 0x041A
- text: "к"
- }
- Key {
- key: 0x0415
- text: "е"
- alternativeKeys: "её"
- }
- Key {
- key: 0x041D
- text: "н"
- }
- Key {
- key: 0x0413
- text: "г"
- }
- Key {
- key: 0x0428
- text: "ш"
- }
- Key {
- key: 0x0429
- text: "щ"
- }
- Key {
- key: 0x0417
- text: "з"
- }
- Key {
- key: 0x0425
- text: "х"
- }
- BackspaceKey {
- weight: 180
- }
- }
- KeyboardRow {
- FillerKey {
- weight: 40
- }
- Key {
- key: 0x0424
- text: "ф"
- }
- Key {
- key: 0x042B
- text: "ы"
- }
- Key {
- key: 0x0412
- text: "в"
- }
- Key {
- key: 0x0410
- text: "а"
- }
- Key {
- key: 0x041F
- text: "п"
- }
- Key {
- key: 0x0420
- text: "р"
- }
- Key {
- key: 0x041E
- text: "о"
- }
- Key {
- key: 0x041B
- text: "л"
- }
- Key {
- key: 0x0414
- text: "д"
- }
- Key {
- key: 0x0416
- text: "ж"
- }
- Key {
- key: 0x042D
- text: "э"
- }
- EnterKey {
- weight: 280
- }
- }
- KeyboardRow {
- InputModeKey {
- inputModes: [InputEngine.InputMode.Cyrillic, InputEngine.InputMode.Latin]
- }
- Key {
- key: 0x042F
- text: "я"
- }
- Key {
- key: 0x0427
- text: "ч"
- }
- Key {
- key: 0x0421
- text: "с"
- }
- Key {
- key: 0x041C
- text: "м"
- }
- Key {
- key: 0x0418
- text: "и"
- }
- Key {
- key: 0x0422
- text: "т"
- }
- Key {
- key: 0x042C
- text: "ь"
- alternativeKeys: "ьъ"
- }
- Key {
- key: 0x0411
- text: "б"
- }
- Key {
- key: 0x042E
- text: "ю"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "—"
- }
- ShiftKey {
- weight: 272
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ";:!?,."
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: latinLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oö"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aåä"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđ"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- inputModes: [InputEngine.InputMode.Cyrillic, InputEngine.InputMode.Latin]
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "ćcč"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "-\"'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/ru_RU/numbers.fallback b/src/virtualkeyboard/content/layouts/ru_RU/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ru_RU/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/ru_RU/symbols.fallback b/src/virtualkeyboard/content/layouts/ru_RU/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/ru_RU/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sk_SK/dialpad.fallback b/src/virtualkeyboard/content/layouts/sk_SK/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sk_SK/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sk_SK/digits.fallback b/src/virtualkeyboard/content/layouts/sk_SK/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sk_SK/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sk_SK/handwriting.fallback b/src/virtualkeyboard/content/layouts/sk_SK/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sk_SK/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sk_SK/main.qml b/src/virtualkeyboard/content/layouts/sk_SK/main.qml
deleted file mode 100644
index 1f739d31..00000000
--- a/src/virtualkeyboard/content/layouts/sk_SK/main.qml
+++ /dev/null
@@ -1,208 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "eé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- alternativeKeys: "rŕ"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- alternativeKeys: "tť"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "uú"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "ií"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oóöô"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aåäá"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dď"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- alternativeKeys: "lĺľ"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "yý"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "cč"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- alternativeKeys: "nň"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "-\"'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/sk_SK/numbers.fallback b/src/virtualkeyboard/content/layouts/sk_SK/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sk_SK/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sk_SK/symbols.fallback b/src/virtualkeyboard/content/layouts/sk_SK/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sk_SK/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sl_SI/dialpad.fallback b/src/virtualkeyboard/content/layouts/sl_SI/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sl_SI/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sl_SI/digits.fallback b/src/virtualkeyboard/content/layouts/sl_SI/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sl_SI/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sl_SI/handwriting.fallback b/src/virtualkeyboard/content/layouts/sl_SI/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sl_SI/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sl_SI/main.qml b/src/virtualkeyboard/content/layouts/sl_SI/main.qml
deleted file mode 100644
index 76293626..00000000
--- a/src/virtualkeyboard/content/layouts/sl_SI/main.qml
+++ /dev/null
@@ -1,203 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "eèêëé"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "uúü"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "ií"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "òôöoó"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aåäáà"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđ"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "cćč"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "-\"'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/sl_SI/numbers.fallback b/src/virtualkeyboard/content/layouts/sl_SI/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sl_SI/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sl_SI/symbols.fallback b/src/virtualkeyboard/content/layouts/sl_SI/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sl_SI/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sq_AL/dialpad.fallback b/src/virtualkeyboard/content/layouts/sq_AL/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sq_AL/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sq_AL/digits.fallback b/src/virtualkeyboard/content/layouts/sq_AL/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sq_AL/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sq_AL/handwriting.fallback b/src/virtualkeyboard/content/layouts/sq_AL/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sq_AL/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sq_AL/main.qml b/src/virtualkeyboard/content/layouts/sq_AL/main.qml
deleted file mode 100644
index 4b50e883..00000000
--- a/src/virtualkeyboard/content/layouts/sq_AL/main.qml
+++ /dev/null
@@ -1,205 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- key: Qt.Key_Ccedilla
- text: "ç"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Ediaeresis
- text: "ë"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 244
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/sq_AL/numbers.fallback b/src/virtualkeyboard/content/layouts/sq_AL/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sq_AL/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sq_AL/symbols.fallback b/src/virtualkeyboard/content/layouts/sq_AL/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sq_AL/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sr_SP/dialpad.fallback b/src/virtualkeyboard/content/layouts/sr_SP/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sr_SP/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sr_SP/digits.fallback b/src/virtualkeyboard/content/layouts/sr_SP/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sr_SP/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sr_SP/handwriting.qml b/src/virtualkeyboard/content/layouts/sr_SP/handwriting.qml
deleted file mode 100644
index 6f9cbb98..00000000
--- a/src/virtualkeyboard/content/layouts/sr_SP/handwriting.qml
+++ /dev/null
@@ -1,99 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- InputContext.inputEngine.inputMode !== InputEngine.InputMode.Cyrillic ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/sr_SP/main.qml b/src/virtualkeyboard/content/layouts/sr_SP/main.qml
deleted file mode 100644
index acd381ae..00000000
--- a/src/virtualkeyboard/content/layouts/sr_SP/main.qml
+++ /dev/null
@@ -1,363 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- sharedLayouts: ['symbols']
- sourceComponent: InputContext.inputEngine.inputMode === InputEngine.InputMode.Cyrillic ? cyrillicLayout : latinLayout
- Component {
- id: cyrillicLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "љ"
- }
- Key {
- text: "њ"
- }
- Key {
- text: "е"
- }
- Key {
- text: "р"
- }
- Key {
- text: "т"
- }
- Key {
- text: "з"
- }
- Key {
- text: "у"
- }
- Key {
- text: "и"
- }
- Key {
- text: "о"
- }
- Key {
- text: "п"
- }
- Key {
- text: "ш"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "а"
- }
- Key {
- text: "с"
- }
- Key {
- text: "д"
- }
- Key {
- text: "ф"
- }
- Key {
- text: "г"
- }
- Key {
- text: "х"
- }
- Key {
- text: "ј"
- }
- Key {
- text: "к"
- }
- Key {
- text: "л"
- }
- Key {
- text: "ч"
- }
- Key {
- text: "ћ"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- inputModes: [InputEngine.InputMode.Cyrillic, InputEngine.InputMode.Latin]
- }
- Key {
- text: "ѕ"
- }
- Key {
- text: "џ"
- }
- Key {
- text: "ц"
- }
- Key {
- text: "в"
- }
- Key {
- text: "б"
- }
- Key {
- text: "н"
- }
- Key {
- text: "м"
- }
- Key {
- text: "ђ"
- }
- Key {
- text: "ж"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!.;?"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: latinLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oö"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aåä"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđ"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- inputModes: [InputEngine.InputMode.Cyrillic, InputEngine.InputMode.Latin]
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "ćcč"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "-\"'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/sr_SP/numbers.fallback b/src/virtualkeyboard/content/layouts/sr_SP/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sr_SP/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sr_SP/symbols.fallback b/src/virtualkeyboard/content/layouts/sr_SP/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sr_SP/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sv_SE/dialpad.fallback b/src/virtualkeyboard/content/layouts/sv_SE/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sv_SE/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sv_SE/digits.fallback b/src/virtualkeyboard/content/layouts/sv_SE/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sv_SE/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sv_SE/handwriting.fallback b/src/virtualkeyboard/content/layouts/sv_SE/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sv_SE/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sv_SE/main.qml b/src/virtualkeyboard/content/layouts/sv_SE/main.qml
deleted file mode 100644
index a3a8a86f..00000000
--- a/src/virtualkeyboard/content/layouts/sv_SE/main.qml
+++ /dev/null
@@ -1,209 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- key: Qt.Key_Aring
- text: "å"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 66
- }
- Key {
- key: Qt.Key_A
- text: "a"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- key: Qt.Key_Odiaeresis
- text: "ö"
- }
- Key {
- key: Qt.Key_Adiaeresis
- text: "ä"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey { }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/sv_SE/numbers.fallback b/src/virtualkeyboard/content/layouts/sv_SE/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sv_SE/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/sv_SE/symbols.fallback b/src/virtualkeyboard/content/layouts/sv_SE/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/sv_SE/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/th_TH/dialpad.fallback b/src/virtualkeyboard/content/layouts/th_TH/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/th_TH/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/th_TH/digits.fallback b/src/virtualkeyboard/content/layouts/th_TH/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/th_TH/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/th_TH/handwriting.fallback b/src/virtualkeyboard/content/layouts/th_TH/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/th_TH/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/th_TH/handwriting.qml b/src/virtualkeyboard/content/layouts/th_TH/handwriting.qml
deleted file mode 100644
index 428f29fa..00000000
--- a/src/virtualkeyboard/content/layouts/th_TH/handwriting.qml
+++ /dev/null
@@ -1,99 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- InputContext.inputEngine.inputMode !== InputEngine.InputMode.Thai ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 3]
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: "\""
- alternativeKeys: "<>()#%&*/\\\"'=+-_"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/th_TH/main.qml b/src/virtualkeyboard/content/layouts/th_TH/main.qml
deleted file mode 100644
index 60a8ebc0..00000000
--- a/src/virtualkeyboard/content/layouts/th_TH/main.qml
+++ /dev/null
@@ -1,489 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- inputMode: InputEngine.InputMode.Latin
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; ThaiInputMethod {}', parent, "thaiInputMethod")
- }
- sharedLayouts: [ "symbols" ]
- sourceComponent: InputContext.shiftActive ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Layout.preferredHeight: 3
- smallTextVisible: true
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- Key {
- text: "ๆ"
- alternativeKeys: "ๆ๑"
- }
- Key {
- text: "ๅ"
- alternativeKeys: "ๅ๒"
- }
- Key {
- text: "ภ"
- alternativeKeys: "ภ๓"
- }
- Key {
- text: "ถ"
- alternativeKeys: "ถ๔"
- }
- Key {
- text: "\u0E38"
- displayText: " \u0E38"
- alternativeKeys: [ "\u0E38", " \u0E39" ]
- }
- Key {
- text: "\u0E36"
- displayText: " \u0E36"
- }
- Key {
- text: "ค"
- alternativeKeys: "ค๕"
- }
- Key {
- text: "ต"
- alternativeKeys: "ต๖"
- }
- Key {
- text: "จ"
- alternativeKeys: "จ๗"
- }
- Key {
- text: "ข"
- alternativeKeys: "ข๘"
- }
- Key {
- text: "ช"
- alternativeKeys: "ช๙"
- }
- }
- KeyboardRow {
- Key {
- text: "ไ"
- alternativeKeys: "ไ฿"
- }
- Key {
- text: " ำ"
- alternativeKeys: " ำฎ"
- }
- Key {
- text: "พ"
- alternativeKeys: "พฑ"
- }
- Key {
- text: "ะ"
- alternativeKeys: "ะธ"
- }
- Key {
- text: "\u0E31"
- displayText: " \u0E31"
- alternativeKeys: "\u0E31。"
- }
- Key {
- text: "\u0E35"
- displayText: " \u0E35"
- alternativeKeys: [ "\u0E35", " \u0E4A" ]
- }
- Key {
- text: "ร"
- alternativeKeys: "รณ"
- }
- Key {
- text: "น"
- alternativeKeys: "นฯ"
- }
- Key {
- text: "ย"
- alternativeKeys: "ยญ"
- }
- Key {
- text: "บ"
- alternativeKeys: "บฐ"
- }
- Key {
- text: "ล"
- }
- }
- KeyboardRow {
- Key {
- text: "ฟ"
- alternativeKeys: "ฟฤ"
- }
- Key {
- text: "ห"
- alternativeKeys: "หฆ"
- }
- Key {
- text: "ก"
- alternativeKeys: "กฏ"
- }
- Key {
- text: "ด"
- alternativeKeys: "ดโ"
- }
- Key {
- text: "เ"
- alternativeKeys: "เฌ"
- }
- Key {
- text: "\u0E49"
- displayText: " \u0E49"
- alternativeKeys: [ "\u0E49", " \u0E47" ]
- }
- Key {
- text: "\u0E48"
- displayText: " \u0E48"
- alternativeKeys: [ "\u0E48", " \u0E4B" ]
- }
- Key {
- text: "า"
- alternativeKeys: "าษ"
- }
- Key {
- text: "ส"
- alternativeKeys: "สศ"
- }
- Key {
- text: "ว"
- alternativeKeys: "วซ"
- }
- Key {
- text: "ง"
- }
- }
- KeyboardRow {
- FillerKey {
- weight: 80
- }
- Key {
- text: "ผ"
- }
- Key {
- text: "ป"
- }
- Key {
- text: "แ"
- alternativeKeys: "แฉ"
- }
- Key {
- text: "อ"
- alternativeKeys: "อฮ"
- }
- Key {
- text: "\u0E34"
- displayText: " \u0E34"
- alternativeKeys: [ "\u0E34", " \u0E3A" ]
- }
- Key {
- text: "\u0E37"
- displayText: " \u0E37"
- alternativeKeys: [ "\u0E37", " \u0E4C" ]
- }
- Key {
- text: "ท"
- }
- Key {
- text: "ม"
- alternativeKeys: "มฒ"
- }
- Key {
- text: "ใ"
- alternativeKeys: "ใฬ"
- }
- Key {
- text: "ฝ"
- alternativeKeys: "ฝฦ"
- }
- FillerKey {
- weight: 80
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!?.,"
- smallTextVisible: true
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Layout.preferredHeight: 3
- smallTextVisible: true
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- Key {
- text: "๑"
- }
- Key {
- text: "๒"
- }
- Key {
- text: "๓"
- }
- Key {
- text: "๔"
- }
- Key {
- text: "\u0E39"
- displayText: " \u0E39"
- }
- Key {
- enabled: false
- }
- Key {
- text: "๕"
- }
- Key {
- text: "๖"
- }
- Key {
- text: "๗"
- }
- Key {
- text: "๘"
- }
- Key {
- text: "๙"
- }
- }
- KeyboardRow {
- Key {
- text: "฿"
- }
- Key {
- text: "ฎ"
- }
- Key {
- text: "ฑ"
- }
- Key {
- text: "ธ"
- }
- Key {
- text: "。"
- }
- Key {
- text: "\u0E4A"
- displayText: " \u0E4A"
- }
- Key {
- text: "ณ"
- }
- Key {
- text: "ฯ"
- }
- Key {
- text: "ญ"
- }
- Key {
- text: "ฐ"
- }
- Key {
- enabled: false
- }
- }
- KeyboardRow {
- Key {
- text: "ฤ"
- }
- Key {
- text: "ฆ"
- }
- Key {
- text: "ฏ"
- }
- Key {
- text: "โ"
- }
- Key {
- text: "ฌ"
- }
- Key {
- text: "\u0E47"
- displayText: " \u0E47"
- }
- Key {
- text: "\u0E4B"
- displayText: " \u0E4B"
- }
- Key {
- text: "ษ"
- }
- Key {
- text: "ศ"
- }
- Key {
- text: "ซ"
- }
- Key {
- enabled: false
- }
- }
- KeyboardRow {
- FillerKey {
- weight: 80
- }
- Key {
- enabled: false
- }
- Key {
- enabled: false
- }
- Key {
- text: "ฉ"
- }
- Key {
- text: "ฮ"
- }
- Key {
- text: "\u0E3A"
- displayText: " \u0E3A"
- }
- Key {
- text: "\u0E4C"
- displayText: " \u0E4C"
- }
- Key {
- enabled: false
- }
- Key {
- text: "ฒ"
- }
- Key {
- text: "ฬ"
- }
- Key {
- text: "ฦ"
- }
- FillerKey {
- weight: 80
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- alternativeKeys: "!?,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/th_TH/numbers.fallback b/src/virtualkeyboard/content/layouts/th_TH/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/th_TH/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/th_TH/symbols.qml b/src/virtualkeyboard/content/layouts/th_TH/symbols.qml
deleted file mode 100644
index 53fdcd6e..00000000
--- a/src/virtualkeyboard/content/layouts/th_TH/symbols.qml
+++ /dev/null
@@ -1,376 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Exclam
- text: "!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: Qt.Key_Semicolon
- text: ";"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_Question
- text: "?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "กขค"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!?.,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- key: 0xA2
- text: "¢"
- }
- Key {
- key: 0xA5
- text: "¥"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "กขค"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/tr_TR/dialpad.fallback b/src/virtualkeyboard/content/layouts/tr_TR/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/tr_TR/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/tr_TR/digits.fallback b/src/virtualkeyboard/content/layouts/tr_TR/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/tr_TR/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/tr_TR/handwriting.fallback b/src/virtualkeyboard/content/layouts/tr_TR/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/tr_TR/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/tr_TR/main.qml b/src/virtualkeyboard/content/layouts/tr_TR/main.qml
deleted file mode 100644
index 31bf0dc1..00000000
--- a/src/virtualkeyboard/content/layouts/tr_TR/main.qml
+++ /dev/null
@@ -1,221 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- text: "\u0131"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- Key {
- text: "\u011F"
- }
- Key {
- key: Qt.Key_Udiaeresis
- text: "ü"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 66
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aåä"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- Key {
- text: "ş"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey { }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- alternativeKeys: "$¢x₺€¥£"
- smallTextVisible: true
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Odiaeresis
- text: "ö"
- }
- Key {
- key: Qt.Key_Ccedilla
- text: "ç"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!?."
- smallTextVisible: true
- }
- ShiftKey {
- weight: 264
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/tr_TR/numbers.fallback b/src/virtualkeyboard/content/layouts/tr_TR/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/tr_TR/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/tr_TR/symbols.fallback b/src/virtualkeyboard/content/layouts/tr_TR/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/tr_TR/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/uk_UA/dialpad.fallback b/src/virtualkeyboard/content/layouts/uk_UA/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/uk_UA/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/uk_UA/digits.fallback b/src/virtualkeyboard/content/layouts/uk_UA/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/uk_UA/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/uk_UA/handwriting.fallback b/src/virtualkeyboard/content/layouts/uk_UA/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/uk_UA/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/uk_UA/main.qml b/src/virtualkeyboard/content/layouts/uk_UA/main.qml
deleted file mode 100644
index c2731452..00000000
--- a/src/virtualkeyboard/content/layouts/uk_UA/main.qml
+++ /dev/null
@@ -1,373 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- sharedLayouts: ['symbols']
- sourceComponent: InputContext.inputEngine.inputMode === InputEngine.InputMode.Cyrillic ? cyrillicLayout : latinLayout
- Component {
- id: cyrillicLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- text: "й"
- }
- Key {
- text: "ц"
- }
- Key {
- text: "у"
- }
- Key {
- text: "к"
- }
- Key {
- text: "е"
- }
- Key {
- text: "н"
- }
- Key {
- text: "г"
- }
- Key {
- text: "ш"
- }
- Key {
- text: "щ"
- }
- Key {
- text: "з"
- }
- Key {
- text: "х"
- }
- Key {
- text: "ї"
- }
- BackspaceKey {
- weight: 180
- }
- }
- KeyboardRow {
- FillerKey {
- weight: 40
- }
- Key {
- text: "ф"
- }
- Key {
- text: "і"
- }
- Key {
- text: "в"
- }
- Key {
- text: "а"
- }
- Key {
- text: "п"
- }
- Key {
- text: "р"
- }
- Key {
- text: "о"
- }
- Key {
- text: "л"
- }
- Key {
- text: "д"
- }
- Key {
- text: "ж"
- }
- Key {
- text: "є"
- }
- EnterKey {
- weight: 280
- }
- }
- KeyboardRow {
- InputModeKey {
- inputModes: [InputEngine.InputMode.Cyrillic, InputEngine.InputMode.Latin]
- }
- Key {
- text: "ґ"
- }
- Key {
- text: "я"
- alternativeKeys: "$¢я₴€¥£"
- smallTextVisible: true
- }
- Key {
- text: "ч"
- }
- Key {
- text: "с"
- }
- Key {
- text: "м"
- }
- Key {
- text: "и"
- }
- Key {
- text: "т"
- }
- Key {
- text: "ь"
- }
- Key {
- text: "б"
- }
- Key {
- text: "ю"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- ShiftKey {
- weight: 272
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ";:!?.,"
- smallTextVisible: true
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: latinLayout
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "oö"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aåä"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđ"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- InputModeKey {
- inputModes: [InputEngine.InputMode.Cyrillic, InputEngine.InputMode.Latin]
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- alternativeKeys: "$¢x₴€¥£"
- smallTextVisible: true
- }
- Key {
- key: Qt.Key_C
- text: "c"
- alternativeKeys: "ćcč"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- alternativeKeys: "-\"'"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ";:!?.,"
- smallTextVisible: true
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/uk_UA/numbers.fallback b/src/virtualkeyboard/content/layouts/uk_UA/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/uk_UA/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/uk_UA/symbols.fallback b/src/virtualkeyboard/content/layouts/uk_UA/symbols.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/uk_UA/symbols.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/vi_VN/dialpad.fallback b/src/virtualkeyboard/content/layouts/vi_VN/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/vi_VN/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/vi_VN/digits.fallback b/src/virtualkeyboard/content/layouts/vi_VN/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/vi_VN/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/vi_VN/handwriting.fallback b/src/virtualkeyboard/content/layouts/vi_VN/handwriting.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/vi_VN/handwriting.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/vi_VN/main.qml b/src/virtualkeyboard/content/layouts/vi_VN/main.qml
deleted file mode 100644
index 9a5c7e37..00000000
--- a/src/virtualkeyboard/content/layouts/vi_VN/main.qml
+++ /dev/null
@@ -1,205 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- inputMode: InputEngine.InputMode.Latin
- sharedLayouts: ["numbers", "digits"]
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- alternativeKeys: "eèéẻẽẹêềếểễệ"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- alternativeKeys: "yỳýỷỹỵ"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- alternativeKeys: "ưừứửữựuùúủũụ"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- alternativeKeys: "iìíỉĩị"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- alternativeKeys: "ơờớởỡợòóỏõọoôồốổỗộ"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- alternativeKeys: "aàáảãạăằắẳẵặâầấẩẫậ"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- alternativeKeys: "sš"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- alternativeKeys: "dđ"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ShiftKey {}
- Key {
- key: Qt.Key_Z
- text: "z"
- alternativeKeys: "zž"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- alternativeKeys: "nñ"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: ","
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: "!,.?"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/vi_VN/numbers.fallback b/src/virtualkeyboard/content/layouts/vi_VN/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/vi_VN/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/vi_VN/symbols.qml b/src/virtualkeyboard/content/layouts/vi_VN/symbols.qml
deleted file mode 100644
index da5281b3..00000000
--- a/src/virtualkeyboard/content/layouts/vi_VN/symbols.qml
+++ /dev/null
@@ -1,376 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2018 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- property bool secondPage
- onVisibleChanged: if (!visible) secondPage = false
- sourceComponent: secondPage ? page2 : page1
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_1
- text: "1"
- }
- Key {
- key: Qt.Key_2
- text: "2"
- }
- Key {
- key: Qt.Key_3
- text: "3"
- }
- Key {
- key: Qt.Key_4
- text: "4"
- }
- Key {
- key: Qt.Key_5
- text: "5"
- }
- Key {
- key: Qt.Key_6
- text: "6"
- }
- Key {
- key: Qt.Key_7
- text: "7"
- }
- Key {
- key: Qt.Key_8
- text: "8"
- }
- Key {
- key: Qt.Key_9
- text: "9"
- }
- Key {
- key: Qt.Key_0
- text: "0"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_At
- text: "@"
- }
- Key {
- key: Qt.Key_NumberSign
- text: "#"
- }
- Key {
- key: Qt.Key_Percent
- text: "%"
- }
- Key {
- key: Qt.Key_Ampersand
- text: "&"
- }
- Key {
- key: Qt.Key_Asterisk
- text: "*"
- }
- Key {
- key: Qt.Key_Minus
- text: "-"
- }
- Key {
- key: Qt.Key_Plus
- text: "+"
- }
- Key {
- key: Qt.Key_ParenLeft
- text: "("
- }
- Key {
- key: Qt.Key_ParenRight
- text: ")"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Exclam
- text: "!"
- }
- Key {
- key: Qt.Key_QuoteDbl
- text: '"'
- }
- Key {
- key: Qt.Key_Less
- text: "<"
- }
- Key {
- key: Qt.Key_Greater
- text: ">"
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Colon
- text: ":"
- }
- Key {
- key: Qt.Key_Semicolon
- text: ";"
- }
- Key {
- key: Qt.Key_Slash
- text: "/"
- }
- Key {
- key: Qt.Key_Question
- text: "?"
- }
- Key {
- weight: 204
- displayText: "1/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ".,"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_AsciiTilde
- text: "~"
- }
- Key {
- key: Qt.Key_Agrave
- text: "`"
- }
- Key {
- key: Qt.Key_Bar
- text: "|"
- }
- Key {
- key: 0x7B
- text: "·"
- }
- Key {
- key: 0x221A
- text: "√"
- }
- Key {
- key: Qt.Key_division
- text: "÷"
- }
- Key {
- key: Qt.Key_multiply
- text: "×"
- }
- Key {
- key: Qt.Key_onehalf
- text: "½"
- alternativeKeys: "¼⅓½¾⅞"
- }
- Key {
- key: Qt.Key_BraceLeft
- text: "{"
- }
- Key {
- key: Qt.Key_BraceRight
- text: "}"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_Dollar
- text: "$"
- }
- Key {
- key: 0x20AC
- text: "€"
- }
- Key {
- key: 0xC2
- text: "£"
- }
- Key {
- key: 0xA2
- text: "¢"
- }
- Key {
- key: 0x20AB
- text: "₫"
- }
- Key {
- key: Qt.Key_Equal
- text: "="
- }
- Key {
- key: Qt.Key_section
- text: "§"
- }
- Key {
- key: Qt.Key_BracketLeft
- text: "["
- }
- Key {
- key: Qt.Key_BracketRight
- text: "]"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- Key {
- key: Qt.Key_Underscore
- text: "_"
- }
- Key {
- key: 0x2122
- text: '™'
- }
- Key {
- key: 0x00AE
- text: '®'
- }
- Key {
- key: Qt.Key_guillemotleft
- text: '«'
- }
- Key {
- key: Qt.Key_guillemotright
- text: '»'
- }
- Key {
- key: 0x201C
- text: '“'
- }
- Key {
- key: 0x201D
- text: '”'
- }
- Key {
- key: Qt.Key_Backslash
- text: "\\"
- }
- Key {
- key: Qt.Key_AsciiCircum
- text: "^"
- }
- Key {
- weight: 204
- displayText: "2/2"
- functionKey: true
- onClicked: secondPage = !secondPage
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "\u2026"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/zh_CN/dialpad.fallback b/src/virtualkeyboard/content/layouts/zh_CN/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/zh_CN/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/zh_CN/digits.fallback b/src/virtualkeyboard/content/layouts/zh_CN/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/zh_CN/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/zh_CN/handwriting.qml b/src/virtualkeyboard/content/layouts/zh_CN/handwriting.qml
deleted file mode 100644
index fee04320..00000000
--- a/src/virtualkeyboard/content/layouts/zh_CN/handwriting.qml
+++ /dev/null
@@ -1,116 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: preferredInputMode()
-
- Connections {
- target: InputContext
- onInputMethodHintsChanged: {
- var newInputMode = preferredInputMode()
- if (InputContext.inputEngine.inputModes.indexOf(newInputMode) !== -1)
- InputContext.inputEngine.inputMode = newInputMode
- }
- }
-
- function preferredInputMode() {
- return InputContext.inputMethodHints &
- (Qt.ImhPreferLatin | Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly |
- Qt.ImhLatinOnly) ? InputEngine.InputMode.Latin : InputEngine.InputMode.ChineseHandwriting
- }
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- InputContext.inputEngine.inputMode !== InputEngine.InputMode.ChineseHandwriting ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
-
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "‘"
- alternativeKeys: "《》〈〉•…々〆‘’“”「」¥"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.、。?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/zh_CN/main.qml b/src/virtualkeyboard/content/layouts/zh_CN/main.qml
deleted file mode 100644
index 349a14c8..00000000
--- a/src/virtualkeyboard/content/layouts/zh_CN/main.qml
+++ /dev/null
@@ -1,204 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.1; PinyinInputMethod {}', parent, "pinyinInputMethod")
- }
- sharedLayouts: ['symbols']
- keyWeight: 160
- KeyboardRow {
- Key {
- key: Qt.Key_Q
- text: "q"
- }
- Key {
- key: Qt.Key_W
- text: "w"
- }
- Key {
- key: Qt.Key_E
- text: "e"
- }
- Key {
- key: Qt.Key_R
- text: "r"
- }
- Key {
- key: Qt.Key_T
- text: "t"
- }
- Key {
- key: Qt.Key_Y
- text: "y"
- }
- Key {
- key: Qt.Key_U
- text: "u"
- }
- Key {
- key: Qt.Key_I
- text: "i"
- }
- Key {
- key: Qt.Key_O
- text: "o"
- }
- Key {
- key: Qt.Key_P
- text: "p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- key: Qt.Key_A
- text: "a"
- }
- Key {
- key: Qt.Key_S
- text: "s"
- }
- Key {
- key: Qt.Key_D
- text: "d"
- }
- Key {
- key: Qt.Key_F
- text: "f"
- }
- Key {
- key: Qt.Key_G
- text: "g"
- }
- Key {
- key: Qt.Key_H
- text: "h"
- }
- Key {
- key: Qt.Key_J
- text: "j"
- }
- Key {
- key: Qt.Key_K
- text: "k"
- }
- Key {
- key: Qt.Key_L
- text: "l"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- enabled: InputContext.preeditText.length > 0
- key: Qt.Key_Apostrophe
- text: "'"
- }
- Key {
- key: Qt.Key_Z
- text: "z"
- }
- Key {
- key: Qt.Key_X
- text: "x"
- }
- Key {
- key: Qt.Key_C
- text: "c"
- }
- Key {
- key: Qt.Key_V
- text: "v"
- }
- Key {
- key: Qt.Key_B
- text: "b"
- }
- Key {
- key: Qt.Key_N
- text: "n"
- }
- Key {
- key: Qt.Key_M
- text: "m"
- }
- Key {
- key: Qt.Key_Comma
- text: "\uFF0C"
- alternativeKeys: "\uFF0C\uFF1B\u3001"
- }
- Key {
- key: Qt.Key_Period
- text: "\uFF0E"
- alternativeKeys: "\uFF0E\uFF1A\u3002"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Question
- text: "?"
- alternativeKeys: "?!"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/zh_CN/numbers.fallback b/src/virtualkeyboard/content/layouts/zh_CN/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/zh_CN/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/zh_CN/symbols.qml b/src/virtualkeyboard/content/layouts/zh_CN/symbols.qml
deleted file mode 100644
index 4ad06baf..00000000
--- a/src/virtualkeyboard/content/layouts/zh_CN/symbols.qml
+++ /dev/null
@@ -1,294 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.1; PinyinInputMethod {}', parent, "pinyinInputMethod")
- }
- sharedLayouts: ['main']
- property int page
- readonly property int numPages: 3
- property var keysPage1: [
- "1234567890",
- "@#$%^&*()",
- "“”、=:;!?~"
- ]
- property var keysPage2: [
- "-+/\\|[]{}·",
- "<>,.:;!?~",
- "/\"'_§¥€£¢"
- ]
- property var keysPage3: [
- "()〔〕〈〉《》【】",
- "→←↑↓↔■□●○",
- "\『』「」★☆◆◇"
- ]
- sourceComponent: {
- switch (page) {
- case 2: return page3
- case 1: return page2
- default: return page1
- }
- }
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Repeater {
- model: keysPage1[0].length
- Key {
- key: keysPage1[0][index].charCodeAt(0)
- text: keysPage1[0][index]
- }
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Repeater {
- model: keysPage1[1].length
- Key {
- key: keysPage1[1][index].charCodeAt(0)
- text: keysPage1[1][index]
- }
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- Repeater {
- model: keysPage1[2].length
- Key {
- key: keysPage1[2][index].charCodeAt(0)
- text: keysPage1[2][index]
- }
- }
- Key {
- weight: 204
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2014
- text: "—"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Repeater {
- model: keysPage2[0].length
- Key {
- key: keysPage2[0][index].charCodeAt(0)
- text: keysPage2[0][index]
- }
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Repeater {
- model: keysPage2[1].length
- Key {
- key: keysPage2[1][index].charCodeAt(0)
- text: keysPage2[1][index]
- }
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- Repeater {
- model: keysPage2[2].length
- Key {
- key: keysPage2[2][index].charCodeAt(0)
- text: keysPage2[2][index]
- }
- }
- Key {
- weight: 204
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x3002
- text: "。"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page3
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Repeater {
- model: keysPage3[0].length
- Key {
- key: keysPage3[0][index].charCodeAt(0)
- text: keysPage3[0][index]
- }
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Repeater {
- model: keysPage3[1].length
- Key {
- key: keysPage3[1][index].charCodeAt(0)
- text: keysPage3[1][index]
- }
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- Repeater {
- model: keysPage3[2].length
- Key {
- key: keysPage3[2][index].charCodeAt(0)
- text: keysPage3[2][index]
- }
- }
- Key {
- weight: 204
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "…"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/zh_TW/dialpad.fallback b/src/virtualkeyboard/content/layouts/zh_TW/dialpad.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/zh_TW/dialpad.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/zh_TW/digits.fallback b/src/virtualkeyboard/content/layouts/zh_TW/digits.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/zh_TW/digits.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/zh_TW/handwriting.qml b/src/virtualkeyboard/content/layouts/zh_TW/handwriting.qml
deleted file mode 100644
index fee04320..00000000
--- a/src/virtualkeyboard/content/layouts/zh_TW/handwriting.qml
+++ /dev/null
@@ -1,116 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayout {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; HandwritingInputMethod {}', parent)
- }
- sharedLayouts: ['symbols']
- inputMode: preferredInputMode()
-
- Connections {
- target: InputContext
- onInputMethodHintsChanged: {
- var newInputMode = preferredInputMode()
- if (InputContext.inputEngine.inputModes.indexOf(newInputMode) !== -1)
- InputContext.inputEngine.inputMode = newInputMode
- }
- }
-
- function preferredInputMode() {
- return InputContext.inputMethodHints &
- (Qt.ImhPreferLatin | Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly |
- Qt.ImhLatinOnly) ? InputEngine.InputMode.Latin : InputEngine.InputMode.ChineseHandwriting
- }
-
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- TraceInputKey {
- objectName: "hwrInputArea"
- patternRecognitionMode: InputEngine.PatternRecognitionMode.Handwriting
- horizontalRulers:
- InputContext.inputEngine.inputMode !== InputEngine.InputMode.ChineseHandwriting ? [] :
- [Math.round(boundingBox.height / 4), Math.round(boundingBox.height / 4) * 2, Math.round(boundingBox.height / 4) * 3]
-
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- InputModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- customLayoutsOnly: true
- }
- HandwritingModeKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Apostrophe
- text: "‘"
- alternativeKeys: "《》〈〉•…々〆‘’“”「」¥"
- }
- Key {
- key: Qt.Key_Period
- text: "."
- alternativeKeys: ":;,.、。?!"
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/zh_TW/main.qml b/src/virtualkeyboard/content/layouts/zh_TW/main.qml
deleted file mode 100644
index bd9c1451..00000000
--- a/src/virtualkeyboard/content/layouts/zh_TW/main.qml
+++ /dev/null
@@ -1,458 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.3
-
-KeyboardLayoutLoader {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.3; TCInputMethod {}', parent, "tcInputMethod")
- }
- sharedLayouts: ['symbols']
- sourceComponent: InputContext.inputEngine.inputMode === InputEngine.InputMode.Cangjie ? pageCangjie : pageZhuyin
- Component {
- id: pageCangjie
- KeyboardLayout {
- keyWeight: 160
- smallTextVisible: true
- KeyboardRow {
- Key {
- text: "\u624B"
- alternativeKeys: "\u624Bq"
- }
- Key {
- text: "\u7530"
- alternativeKeys: "\u7530w"
- }
- Key {
- text: "\u6C34"
- alternativeKeys: "\u6C34e"
- }
- Key {
- text: "\u53E3"
- alternativeKeys: "\u53E3r"
- }
- Key {
- text: "\u5EFF"
- alternativeKeys: "\u5EFFt"
- }
- Key {
- text: "\u535C"
- alternativeKeys: "\u535Cy"
- }
- Key {
- text: "\u5C71"
- alternativeKeys: "\u5C71u"
- }
- Key {
- text: "\u6208"
- alternativeKeys: "\u6208i"
- }
- Key {
- text: "\u4EBA"
- alternativeKeys: "\u4EBAo"
- }
- Key {
- text: "\u5FC3"
- alternativeKeys: "\u5FC3p"
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Key {
- text: "\u65E5"
- alternativeKeys: "\u65E5a"
- }
- Key {
- text: "\u5C38"
- alternativeKeys: "\u5C38s"
- }
- Key {
- text: "\u6728"
- alternativeKeys: "\u6728d"
- }
- Key {
- text: "\u706B"
- alternativeKeys: "\u706Bf"
- }
- Key {
- text: "\u571F"
- alternativeKeys: "\u571Fg"
- }
- Key {
- text: "\u7AF9"
- alternativeKeys: "\u7AF9h"
- }
- Key {
- text: "\u5341"
- alternativeKeys: "\u5341j"
- }
- Key {
- text: "\u5927"
- alternativeKeys: "\u5927k"
- }
- Key {
- text: "\u4E2D"
- alternativeKeys: "\u4E2Dl"
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- ModeKey {
- id: simplifiedModeKey
- key: Qt.Key_Mode_switch
- displayText: "速成"
- Component.onCompleted: updateBinding()
- Connections {
- target: InputContext.inputEngine
- onInputMethodChanged: simplifiedModeKey.updateBinding()
- }
- function updateBinding() {
- if (InputContext.inputEngine.inputMethod && InputContext.inputEngine.inputMethod.hasOwnProperty("simplified")) {
- simplifiedModeKey.mode = InputContext.inputEngine.inputMethod.simplified
- InputContext.inputEngine.inputMethod.simplified = Qt.binding(function() { return simplifiedModeKey.mode })
- }
- }
- }
- Key {
- text: "\u91CD"
- alternativeKeys: "\u91CDz"
- }
- Key {
- text: "\u96E3"
- alternativeKeys: "\u96E3x"
- }
- Key {
- text: "\u91D1"
- alternativeKeys: "\u91D1c"
- }
- Key {
- text: "\u5973"
- alternativeKeys: "\u5973v"
- }
- Key {
- text: "\u6708"
- alternativeKeys: "\u6708b"
- }
- Key {
- text: "\u5F13"
- alternativeKeys: "\u5F13n"
- }
- Key {
- text: "\u4E00"
- alternativeKeys: "\u4E00m"
- }
- Key {
- key: Qt.Key_Comma
- text: "\uFF0C"
- alternativeKeys: "\uFF0C\uFF1B\u3001"
- }
- Key {
- key: Qt.Key_Period
- text: "\uFF0E"
- alternativeKeys: "\uFF0E\uFF1A\u3002"
- }
- ShiftKey {
- weight: 204
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- InputModeKey {
- visible: InputContext.inputEngine.inputModes.indexOf(InputEngine.InputMode.Zhuyin) !== -1
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: Qt.Key_Question
- text: "\uFF1F"
- alternativeKeys: "\uFF1F\uFF01"
- }
- Key {
- key: 0xE000
- text: ":-)"
- smallTextVisible: false
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: pageZhuyin
- KeyboardLayout {
- smallTextVisible: true
- KeyboardRow {
- Layout.preferredHeight: 3
- KeyboardColumn {
- Layout.preferredWidth: bottomRow.width - hideKeyboardKey.width
- KeyboardRow {
- Key {
- text: "\u3105"
- alternativeKeys: "\u31051"
- }
- Key {
- text: "\u3109"
- alternativeKeys: "\u31092"
- }
- Key {
- text: "\u02C7"
- alternativeKeys: "\u02C73"
- }
- Key {
- text: "\u02CB"
- alternativeKeys: "4"
- displayText: "`"
- }
- Key {
- text: "\u3113"
- alternativeKeys: "\u31135"
- }
- Key {
- text: "\u02CA"
- alternativeKeys: "6"
- displayText: "´"
- }
- Key {
- text: "\u02D9"
- alternativeKeys: "\u02D97"
- }
- Key {
- text: "\u311A"
- alternativeKeys: "\u311A8"
- }
- Key {
- text: "\u311E"
- alternativeKeys: "\u311E9"
- }
- Key {
- text: "\u3122"
- alternativeKeys: "\u31220"
- }
- }
- KeyboardRow {
- Key {
- text: "\u3106"
- alternativeKeys: "\u3106q"
- }
- Key {
- text: "\u310A"
- alternativeKeys: "\u310Aw"
- }
- Key {
- text: "\u310D"
- alternativeKeys: "\u310De"
- }
- Key {
- text: "\u3110"
- alternativeKeys: "\u3110r"
- }
- Key {
- text: "\u3114"
- alternativeKeys: "\u3114t"
- }
- Key {
- text: "\u3117"
- alternativeKeys: "\u3117y"
- }
- Key {
- text: "\u3127"
- alternativeKeys: "\u3127u"
- }
- Key {
- text: "\u311B"
- alternativeKeys: "\u311Bi"
- }
- Key {
- text: "\u311F"
- alternativeKeys: "\u311Fo"
- }
- Key {
- text: "\u3123"
- alternativeKeys: "\u3123p"
- }
- }
- KeyboardRow {
- Key {
- text: "\u3107"
- alternativeKeys: "\u3107a"
- }
- Key {
- text: "\u310B"
- alternativeKeys: "\u310Bs"
- }
- Key {
- text: "\u310E"
- alternativeKeys: "\u310Ed"
- }
- Key {
- text: "\u3111"
- alternativeKeys: "\u3111f"
- }
- Key {
- text: "\u3115"
- alternativeKeys: "\u3115g"
- }
- Key {
- text: "\u3118"
- alternativeKeys: "\u3118h"
- }
- Key {
- text: "\u3128"
- alternativeKeys: "\u3128j"
- }
- Key {
- text: "\u311C"
- alternativeKeys: "\u311Ck"
- }
- Key {
- text: "\u3120"
- alternativeKeys: "\u3120l"
- }
- Key {
- text: "\u3124"
- alternativeKeys: "\u3124…"
- }
- }
- KeyboardRow {
- Key {
- text: "\u3108"
- alternativeKeys: "\u3108z"
- }
- Key {
- text: "\u310C"
- alternativeKeys: "\u310Cx"
- }
- Key {
- text: "\u310F"
- alternativeKeys: "\u310Fc"
- }
- Key {
- text: "\u3112"
- alternativeKeys: "\u3112v"
- }
- Key {
- text: "\u3116"
- alternativeKeys: "\u3116b"
- }
- Key {
- text: "\u3119"
- alternativeKeys: "\u3119n"
- }
- Key {
- text: "\u3129"
- alternativeKeys: "\u3129m"
- }
- Key {
- text: "\u311D"
- alternativeKeys: "、\u311D,"
- }
- Key {
- text: "\u3121"
- alternativeKeys: "。\u3121."
- }
- Key {
- text: "\u3125"
- alternativeKeys: ";\u3125:"
- }
- }
- }
- KeyboardColumn {
- Layout.preferredWidth: hideKeyboardKey.width
- KeyboardRow {
- BackspaceKey {}
- }
- KeyboardRow {
- EnterKey {}
- }
- KeyboardRow {
- ShiftKey { }
- }
- }
- }
- KeyboardRow {
- id: bottomRow
- Layout.preferredHeight: 1
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- }
- ChangeLanguageKey {
- weight: 154
- }
- HandwritingModeKey {
- weight: 154
- }
- InputModeKey {
- visible: InputContext.inputEngine.inputModes.indexOf(InputEngine.InputMode.Cangjie) !== -1
- }
- SpaceKey {
- weight: 864
- }
- Key {
- text: "\u3126"
- }
- Key {
- key: Qt.Key_Question
- text: "\uFF1F"
- alternativeKeys: "\uFF1F\uFF01"
- }
- Key {
- key: 0xE000
- text: ":-)"
- smallTextVisible: false
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- id: hideKeyboardKey
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/layouts/zh_TW/numbers.fallback b/src/virtualkeyboard/content/layouts/zh_TW/numbers.fallback
deleted file mode 100644
index e69de29b..00000000
--- a/src/virtualkeyboard/content/layouts/zh_TW/numbers.fallback
+++ /dev/null
diff --git a/src/virtualkeyboard/content/layouts/zh_TW/symbols.qml b/src/virtualkeyboard/content/layouts/zh_TW/symbols.qml
deleted file mode 100644
index 3d43ae69..00000000
--- a/src/virtualkeyboard/content/layouts/zh_TW/symbols.qml
+++ /dev/null
@@ -1,294 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.Layouts 1.0
-import QtQuick.VirtualKeyboard 2.1
-
-KeyboardLayoutLoader {
- function createInputMethod() {
- return Qt.createQmlObject('import QtQuick 2.0; import QtQuick.VirtualKeyboard.Plugins 2.1; TCInputMethod {}', parent, "tcInputMethod")
- }
- sharedLayouts: ['main']
- property int page
- readonly property int numPages: 3
- property var keysPage1: [
- "1234567890",
- "@#$%^&*()",
- "“”、=:;!?~"
- ]
- property var keysPage2: [
- "-+/\\|[]{}·",
- "<>,.:;!?~",
- "/\"'_§¥€£¢"
- ]
- property var keysPage3: [
- "()〔〕〈〉《》【】",
- "→←↑↓↔■□●○",
- "\『』「」★☆◆◇"
- ]
- sourceComponent: {
- switch (page) {
- case 2: return page3
- case 1: return page2
- default: return page1
- }
- }
- Component {
- id: page1
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Repeater {
- model: keysPage1[0].length
- Key {
- key: keysPage1[0][index].charCodeAt(0)
- text: keysPage1[0][index]
- }
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Repeater {
- model: keysPage1[1].length
- Key {
- key: keysPage1[1][index].charCodeAt(0)
- text: keysPage1[1][index]
- }
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- Repeater {
- model: keysPage1[2].length
- Key {
- key: keysPage1[2][index].charCodeAt(0)
- text: keysPage1[2][index]
- }
- }
- Key {
- weight: 204
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2014
- text: "—"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page2
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Repeater {
- model: keysPage2[0].length
- Key {
- key: keysPage2[0][index].charCodeAt(0)
- text: keysPage2[0][index]
- }
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Repeater {
- model: keysPage2[1].length
- Key {
- key: keysPage2[1][index].charCodeAt(0)
- text: keysPage2[1][index]
- }
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- Repeater {
- model: keysPage2[2].length
- Key {
- key: keysPage2[2][index].charCodeAt(0)
- text: keysPage2[2][index]
- }
- }
- Key {
- weight: 204
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x3002
- text: "。"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
- Component {
- id: page3
- KeyboardLayout {
- keyWeight: 160
- KeyboardRow {
- Repeater {
- model: keysPage3[0].length
- Key {
- key: keysPage3[0][index].charCodeAt(0)
- text: keysPage3[0][index]
- }
- }
- BackspaceKey {}
- }
- KeyboardRow {
- FillerKey {
- weight: 56
- }
- Repeater {
- model: keysPage3[1].length
- Key {
- key: keysPage3[1][index].charCodeAt(0)
- text: keysPage3[1][index]
- }
- }
- EnterKey {
- weight: 283
- }
- }
- KeyboardRow {
- keyWeight: 156
- Key {
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- Repeater {
- model: keysPage3[2].length
- Key {
- key: keysPage3[2][index].charCodeAt(0)
- text: keysPage3[2][index]
- }
- }
- Key {
- weight: 204
- displayText: (page + 1) + "/" + numPages
- functionKey: true
- onClicked: page = (page + 1) % numPages
- }
- }
- KeyboardRow {
- keyWeight: 154
- SymbolModeKey {
- weight: 217
- displayText: "ABC"
- }
- ChangeLanguageKey {
- weight: 154
- }
- SpaceKey {
- weight: 864
- }
- Key {
- key: 0x2026
- text: "…"
- }
- Key {
- key: 0xE000
- text: ":-)"
- alternativeKeys: [ ";-)", ":-)", ":-D", ":-(", "<3" ]
- }
- HideKeyboardKey {
- weight: 204
- }
- }
- }
- }
-}
diff --git a/src/virtualkeyboard/content/styles/default/images/backspace-868482.svg b/src/virtualkeyboard/content/styles/default/images/backspace-868482.svg
deleted file mode 100644
index 764c3c68..00000000
--- a/src/virtualkeyboard/content/styles/default/images/backspace-868482.svg
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="159px" height="88px" viewBox="0 0 159 88" enable-background="new 0 0 159 88" xml:space="preserve">
-<g>
- <rect fill="none" width="159" height="88"/>
- <g>
- <g>
- <path fill="#868482" d="M158.8,88H44L0,44L44,0h114.8V88z M48.7,76.7h98.8V11.3H48.7L16,44L48.7,76.7z"/>
- </g>
- <g>
- <g>
-
- <rect x="87.3" y="16.2" transform="matrix(-0.7071 -0.7071 0.7071 -0.7071 127.5895 140.8497)" fill="#868482" width="11.3" height="55.7"/>
- </g>
- <g>
-
- <rect x="65.1" y="38.4" transform="matrix(-0.7071 -0.7071 0.7071 -0.7071 127.5954 140.8499)" fill="#868482" width="55.7" height="11.3"/>
- </g>
- </g>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/check-868482.svg b/src/virtualkeyboard/content/styles/default/images/check-868482.svg
deleted file mode 100644
index 544fec50..00000000
--- a/src/virtualkeyboard/content/styles/default/images/check-868482.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="170px" height="119px" viewBox="0 0 170 119" enable-background="new 0 0 170 119" xml:space="preserve">
-<g>
- <polygon fill="#868482" points="62.3,119 0,56.7 11.3,45.3 62.3,96.3 158.7,0 170,11.3 "/>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/enter-868482.svg b/src/virtualkeyboard/content/styles/default/images/enter-868482.svg
deleted file mode 100644
index 88c14866..00000000
--- a/src/virtualkeyboard/content/styles/default/images/enter-868482.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="211px" height="80px" viewBox="0 0 211 80" enable-background="new 0 0 211 80" xml:space="preserve">
-<g>
- <rect fill="none" width="211" height="80"/>
- <g>
- <rect x="9.2" y="33.8" fill="#868482" width="201.8" height="12.3"/>
- <rect x="198.7" y="10.7" fill="#868482" width="12.3" height="35.3"/>
- <polygon fill="#868482" points="44.5,0 44.5,79.8 0,40.7 "/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/globe-868482.svg b/src/virtualkeyboard/content/styles/default/images/globe-868482.svg
deleted file mode 100644
index 7cb9b794..00000000
--- a/src/virtualkeyboard/content/styles/default/images/globe-868482.svg
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="144px" viewBox="0 0 144 144" enable-background="new 0 0 144 144" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="144"/>
- <g>
- <path fill="#868482" d="M72,144c-39.5,0-71.8-32.1-72-71.6C-0.2,32.7,31.9,0.2,71.6,0h0.7c19.1,0.1,37.1,7.6,50.6,21.1
- s21,31.5,21.1,50.5c0.1,19.2-7.3,37.4-20.8,51c-13.5,13.7-31.6,21.3-50.8,21.4C72.2,144,72.1,144,72,144z M76.3,101.3v32.3
- c9-8.1,16-17.9,20.6-28.7C90.2,102.9,83.3,101.7,76.3,101.3z M47,104.9c3.2,7.4,7.5,14.3,12.8,20.6c2.4,2.9,5.1,5.6,7.9,8.1v-32.3
- C60.7,101.7,53.8,102.9,47,104.9z M105.2,107.9c-3.9,9.2-9.2,17.6-15.9,25.1c10.4-2.9,19.9-8.5,27.8-16.4c0.5-0.5,1-1.1,1.6-1.6
- C114.3,112.1,109.8,109.8,105.2,107.9z M25.5,114.9c7.8,8.5,17.9,14.8,29.3,18c-0.5-0.6-1.1-1.2-1.6-1.8
- c-6-7.1-10.8-14.9-14.3-23.3C34.2,109.8,29.8,112.1,25.5,114.9z M108.1,99.7c5.5,2.3,10.8,5.1,15.9,8.4
- c6.5-9.4,10.4-20.3,11.2-31.8h-22.9c-0.1,1.2-0.1,2.4-0.2,3.7C111.4,86.8,110.1,93.4,108.1,99.7z M8.8,76.3
- C9.6,88.1,13.6,99,20,108.1c5.1-3.3,10.4-6.1,15.8-8.4c-2.4-7.5-3.7-15.4-4.1-23.4L8.8,76.3L8.8,76.3z M40.4,76.3
- c0.3,7,1.5,13.8,3.6,20.4c7.7-2.4,15.7-3.8,23.7-4.1V76.3H40.4z M76.3,92.6c8,0.4,15.9,1.7,23.6,4.1c1.7-5.6,2.9-11.5,3.4-17.5
- c0.1-1,0.1-2,0.2-2.9H76.3V92.6z M112.2,67.7h23c-0.8-11.5-4.6-22.4-11.2-31.8c-5.1,3.4-10.5,6.2-16.1,8.5
- C110.4,51.9,111.8,59.7,112.2,67.7z M76.3,67.7h27.2c-0.4-7-1.6-13.8-3.7-20.4c-7.7,2.4-15.5,3.7-23.5,4.1V67.7z M40.5,67.7h27.2
- V51.4c-7.9-0.4-15.8-1.7-23.4-4.1c-1.8,5.8-3,11.9-3.6,18.1C40.6,66.2,40.5,66.9,40.5,67.7z M8.8,67.7h23c0.1-1,0.1-2,0.2-3
- c0.6-7,2-13.8,4-20.3c-5.5-2.3-10.9-5.1-16-8.5C13.6,45,9.6,55.9,8.8,67.7z M76.3,11.1v31.6c6.9-0.3,13.7-1.5,20.4-3.5
- c-3.1-7.1-7.3-13.9-12.5-20C81.8,16.3,79.1,13.6,76.3,11.1z M47.3,39.2c6.7,2,13.5,3.2,20.4,3.5V11.1C58.8,19,51.9,28.6,47.3,39.2
- z M88.4,10.8c0.8,0.9,1.6,1.8,2.4,2.8c5.9,6.9,10.6,14.6,14.1,22.7c4.7-2,9.3-4.3,13.7-7.2c-0.6-0.6-1.2-1.2-1.8-1.9
- C108.8,19.2,99,13.6,88.4,10.8z M25.5,29.1c4.4,2.8,8.9,5.2,13.6,7.1c4-9.3,9.5-17.9,16.5-25.4C43.8,14,33.5,20.4,25.5,29.1z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/handwriting-868482.svg b/src/virtualkeyboard/content/styles/default/images/handwriting-868482.svg
deleted file mode 100644
index 65d37874..00000000
--- a/src/virtualkeyboard/content/styles/default/images/handwriting-868482.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="156px" height="104px" viewBox="0 0 156 104" enable-background="new 0 0 156 104" xml:space="preserve">
-<g>
- <rect fill="none" width="156" height="104"/>
- <g>
- <path fill="#868482" d="M37.6,103.3c-10.1,0-18.9-5-23.1-13.6C4.4,68.7,19.9,52.3,36.2,35c1.2-1.2,2.4-2.5,3.6-3.8
- c5.3-5.7,5.2-11.5,3.5-14.8c-1.8-3.4-5.5-4.9-10.2-4.2c-16.5,2.6-21.2,26.4-21.2,26.6L0,36.6C0.3,35.3,6.4,4.3,31.2,0.3
- c9.8-1.6,18.5,2.4,22.7,10.4c4.7,8.9,2.6,20.1-5.3,28.6c-1.2,1.3-2.4,2.6-3.6,3.8C28.3,60.9,19.1,71.6,25.4,84.5
- c3.3,6.8,11.1,7.6,16.9,6.3c9.2-2.1,19.8-11.1,19.7-29.5c-0.2-28.1,16.2-41.8,30.2-44.9c14.5-3.2,28.4,3.6,34.7,17
- c1.3,2.8,2.3,5.4,3.1,8.1c13.3,0.7,25.5,4.3,26,4.4l-3.4,11.5c-0.1,0-9.7-2.8-20.6-3.8c0.5,16.5-8.6,28.9-20.1,34.7
- c-11.9,6-24,3.8-28.9-5.2c-3.1-5.6-1.9-14.7,2.9-22.5c7.9-13,21.3-17.4,31.5-18.8c-0.4-1.2-0.9-2.4-1.4-3.4
- c-3.9-8.3-12.2-12.4-21.1-10.4c-9.7,2.2-21,12.1-20.8,33.1c0.2,25.5-15.6,38.1-29,41.3C42.5,103,40,103.3,37.6,103.3z M119.8,53.7
- c-14,1.5-20.6,8.5-23.4,12.9c-3.3,5.2-3.4,9.8-2.9,10.9c1.6,2.9,7.3,3,13,0.2C117.3,72.2,120.3,62.6,119.8,53.7z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/hidekeyboard-868482.svg b/src/virtualkeyboard/content/styles/default/images/hidekeyboard-868482.svg
deleted file mode 100644
index 31e680a1..00000000
--- a/src/virtualkeyboard/content/styles/default/images/hidekeyboard-868482.svg
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="127px" viewBox="0 0 144 127" enable-background="new 0 0 144 127" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="127"/>
- <g>
- <g>
- <path fill="#868482" d="M144,90.3H0V0h144V90.3z M10.9,79.4h122.2V10.9H10.9V79.4z"/>
- </g>
- <g>
- <rect x="19.5" y="20.2" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="38.1" y="20.2" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="56.8" y="20.2" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="75.5" y="20.2" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="94.2" y="20.2" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="112.9" y="20.2" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="19.5" y="39.7" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="38.1" y="39.7" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="56.8" y="39.7" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="75.5" y="39.7" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="94.2" y="39.7" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="112.9" y="39.7" fill="#868482" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="38.1" y="59.2" fill="#868482" width="67.7" height="11.7"/>
- </g>
- <g>
- <polygon fill="#868482" points="72,115.2 62.2,108.2 45.9,108.2 72,126.9 98.1,108.2 81.8,108.2 "/>
- </g>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/search-868482.svg b/src/virtualkeyboard/content/styles/default/images/search-868482.svg
deleted file mode 100644
index 4aff8499..00000000
--- a/src/virtualkeyboard/content/styles/default/images/search-868482.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="148px" height="148px" viewBox="0 0 148 148" enable-background="new 0 0 148 148" xml:space="preserve">
-<g>
- <rect fill="none" width="148" height="148"/>
- <g>
- <path fill="#868482" d="M146.8,132.7c1.6,1.6,1.6,4.1,0,5.7l-8.5,8.5c-1.6,1.6-4.1,1.6-5.7,0l-44.6-44.6c-1.6-1.6-1.6-4.1,0-5.7
- l8.5-8.5c1.6-1.6,4.1-1.6,5.7,0L146.8,132.7z"/>
- <path fill="#868482" d="M58,12c25.4,0,46,20.6,46,46s-20.6,46-46,46c-25.4,0-46-20.6-46-46S32.6,12,58,12 M58,0C26,0,0,26,0,58
- s26,58,58,58c32,0,58-26,58-58S90,0,58,0L58,0z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/selectionhandle-bottom.svg b/src/virtualkeyboard/content/styles/default/images/selectionhandle-bottom.svg
deleted file mode 100644
index 312e3ab5..00000000
--- a/src/virtualkeyboard/content/styles/default/images/selectionhandle-bottom.svg
+++ /dev/null
@@ -1,201 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="405.39487"
- height="603.25201"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="selectionhandle-bottom.svg">
- <defs
- id="defs4">
- <linearGradient
- inkscape:collect="always"
- id="linearGradient3964">
- <stop
- style="stop-color:#000000;stop-opacity:1;"
- offset="0"
- id="stop3966" />
- <stop
- style="stop-color:#000000;stop-opacity:0;"
- offset="1"
- id="stop3968" />
- </linearGradient>
- <linearGradient
- id="linearGradient3825"
- osb:paint="solid">
- <stop
- style="stop-color:#000000;stop-opacity:1;"
- offset="0"
- id="stop3827" />
- </linearGradient>
- <linearGradient
- id="linearGradient3797">
- <stop
- style="stop-color:#a7a7a7;stop-opacity:1;"
- offset="0"
- id="stop3799" />
- <stop
- style="stop-color:#959595;stop-opacity:1;"
- offset="1"
- id="stop3801" />
- </linearGradient>
- <filter
- id="filter3991"
- inkscape:label="Drop Shadow"
- color-interpolation-filters="sRGB">
- <feFlood
- id="feFlood3993"
- flood-opacity="0.9"
- flood-color="rgb(0,0,0)"
- result="flood" />
- <feComposite
- id="feComposite3995"
- in2="SourceGraphic"
- in="flood"
- operator="in"
- result="composite1" />
- <feGaussianBlur
- id="feGaussianBlur3997"
- stdDeviation="9"
- result="blur" />
- <feOffset
- id="feOffset3999"
- dx="-4"
- dy="-4"
- result="offset" />
- <feComposite
- id="feComposite4001"
- in2="offset"
- in="SourceGraphic"
- operator="over"
- result="fbSourceGraphic" />
- <feColorMatrix
- result="fbSourceGraphicAlpha"
- in="fbSourceGraphic"
- values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
- id="feColorMatrix4003" />
- <feFlood
- id="feFlood4005"
- flood-opacity="0.9"
- flood-color="rgb(0,0,0)"
- result="flood"
- in="fbSourceGraphic" />
- <feComposite
- id="feComposite4007"
- in2="fbSourceGraphic"
- in="flood"
- operator="in"
- result="composite1" />
- <feGaussianBlur
- id="feGaussianBlur4009"
- stdDeviation="9"
- result="blur" />
- <feOffset
- id="feOffset4011"
- dx="-4"
- dy="-4"
- result="offset" />
- <feComposite
- id="feComposite4013"
- in2="offset"
- in="fbSourceGraphic"
- operator="over"
- result="composite2" />
- </filter>
- <filter
- inkscape:collect="always"
- id="filter3941"
- x="-0.31598809"
- width="1.6319762"
- y="-0.21141379"
- height="1.4228276"
- color-interpolation-filters="sRGB">
- <feGaussianBlur
- inkscape:collect="always"
- stdDeviation="52.664682"
- id="feGaussianBlur3943" />
- </filter>
- <linearGradient
- inkscape:collect="always"
- xlink:href="#linearGradient3964"
- id="linearGradient3970"
- x1="77.14286"
- y1="559.86218"
- x2="477.14285"
- y2="559.86218"
- gradientUnits="userSpaceOnUse" />
- <filter
- inkscape:collect="always"
- id="filter4040"
- color-interpolation-filters="sRGB">
- <feGaussianBlur
- inkscape:collect="always"
- stdDeviation="0.49892857"
- id="feGaussianBlur4042" />
- </filter>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="0.0"
- inkscape:pageshadow="2"
- inkscape:zoom="0.83834513"
- inkscape:cx="219.23008"
- inkscape:cy="314.00438"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="1176"
- inkscape:window-height="719"
- inkscape:window-x="188"
- inkscape:window-y="121"
- inkscape:window-maximized="0"
- fit-margin-top="1"
- fit-margin-left="1"
- fit-margin-right="1"
- fit-margin-bottom="1" />
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:groupmode="layer"
- id="layer2"
- inkscape:label="Lag"
- style="display:inline"
- transform="translate(-125.874,-261.09332)" />
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1"
- transform="translate(-125.874,-261.09332)">
- <path
- style="fill:#bfbfbf;fill-opacity:1;stroke:url(#linearGradient3970);filter:url(#filter4040)"
- d="m 477.14286,660.93361 0,-400 -400.000003,0 0,400 200.714283,197.85714 z"
- id="path2987"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="cccccc"
- transform="matrix(-1,0,0,-1,605.71429,1122.5815)" />
- </g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/shift-80c342.svg b/src/virtualkeyboard/content/styles/default/images/shift-80c342.svg
deleted file mode 100644
index d39a2230..00000000
--- a/src/virtualkeyboard/content/styles/default/images/shift-80c342.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="134px" viewBox="0 0 144 134" enable-background="new 0 0 144 134" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="134"/>
- <g>
- <path fill="#80C342" d="M103.6,134H40.2V77.5H0L71.9,0l71.9,77.5h-40.2V134L103.6,134z M51.7,122.5h40.5V66.1h25.4L71.9,16.8
- L26.2,66.1h25.4L51.7,122.5L51.7,122.5z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/shift-868482.svg b/src/virtualkeyboard/content/styles/default/images/shift-868482.svg
deleted file mode 100644
index 95b6d504..00000000
--- a/src/virtualkeyboard/content/styles/default/images/shift-868482.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="134px" viewBox="0 0 144 134" enable-background="new 0 0 144 134" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="134"/>
- <g>
- <path fill="#868482" d="M103.6,134H40.2V77.5H0L71.9,0l71.9,77.5h-40.2V134L103.6,134z M51.7,122.5h40.5V66.1h25.4L71.9,16.8
- L26.2,66.1h25.4L51.7,122.5L51.7,122.5z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/shift-c5d6b6.svg b/src/virtualkeyboard/content/styles/default/images/shift-c5d6b6.svg
deleted file mode 100644
index 22f9d5de..00000000
--- a/src/virtualkeyboard/content/styles/default/images/shift-c5d6b6.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="134px" viewBox="0 0 144 134" enable-background="new 0 0 144 134" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="134"/>
- <g>
- <path fill="#C5D6B6" d="M103.6,134H40.2V77.5H0L71.9,0l71.9,77.5h-40.2V134L103.6,134z M51.7,122.5h40.5V66.1h25.4L71.9,16.8
- L26.2,66.1h25.4L51.7,122.5L51.7,122.5z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/images/textmode-868482.svg b/src/virtualkeyboard/content/styles/default/images/textmode-868482.svg
deleted file mode 100644
index 2f9428c2..00000000
--- a/src/virtualkeyboard/content/styles/default/images/textmode-868482.svg
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="124px" height="96px" viewBox="0 0 124 96" enable-background="new 0 0 124 96" xml:space="preserve">
-<g>
- <g>
- <g>
- <path fill="#868482" d="M55.4,70.8L46.9,49H19.4L11,70.8H2.9L30,2h6.7l27,68.8H55.4z M44.4,41.8l-8-21.2c-1-2.7-2.1-6-3.2-9.9
- c-0.7,3-1.7,6.3-3,9.9l-8.1,21.2H44.4z"/>
- <path fill="#868482" d="M66.6,72.8H54.1L45.5,51H20.8l-8.4,21.8H0L28.7,0h9.4L66.6,72.8z M56.8,68.8h4L35.4,4h-1.9l1.7,6.2
- c1.1,3.8,2.1,7.1,3.1,9.7l9,24h-28l9.1-23.9c1.2-3.5,2.2-6.7,2.9-9.6L32.8,4h-1.4L5.9,68.8h3.8L18.1,47h30.2L56.8,68.8z
- M25.1,39.8h16.4l-7-18.5c-0.4-1.1-0.8-2.2-1.2-3.4c-0.4,1.1-0.7,2.2-1.2,3.4L25.1,39.8z"/>
- </g>
- <g>
- <path fill="#868482" d="M116.2,70.8l-1.5-7.3h-0.4c-2.6,3.2-5.1,5.4-7.7,6.5s-5.7,1.7-9.5,1.7c-5.1,0-9.1-1.3-12-3.9
- s-4.3-6.4-4.3-11.2c0-10.4,8.3-15.8,24.9-16.3l8.7-0.3v-3.2c0-4-0.9-7-2.6-8.9s-4.5-2.9-8.3-2.9c-4.3,0-9.1,1.3-14.5,3.9l-2.4-6
- c2.5-1.4,5.3-2.5,8.3-3.2s6-1.2,9.1-1.2c6.1,0,10.7,1.4,13.6,4.1s4.4,7.1,4.4,13.1v35.1H116.2z M98.7,65.3c4.8,0,8.6-1.3,11.4-4
- s4.1-6.4,4.1-11.2v-4.6l-7.8,0.3c-6.2,0.2-10.6,1.2-13.4,2.9S89,53.1,89,56.7c0,2.8,0.9,5,2.6,6.4S95.6,65.3,98.7,65.3z"/>
- <path fill="#868482" d="M97.1,73.8c-5.6,0-10.1-1.5-13.3-4.5c-3.3-3-5-7.3-5-12.7c0-11.6,9-17.8,26.8-18.3l6.8-0.2v-1.3
- c0-3.5-0.7-6.1-2.1-7.6c-1.3-1.5-3.6-2.2-6.8-2.2c-4,0-8.6,1.3-13.7,3.7l-1.9,0.9L84,22.1l1.6-0.8c2.7-1.4,5.6-2.6,8.8-3.4
- c3.2-0.8,6.4-1.2,9.6-1.2c6.6,0,11.7,1.6,15,4.6c3.4,3.1,5.1,8,5.1,14.5v37.1h-9.4l-1.1-5.3c-2,2-4,3.5-6,4.4
- C104.7,73.1,101.2,73.8,97.1,73.8z M103.5,23c4.4,0,7.7,1.2,9.8,3.5c2.1,2.3,3.1,5.7,3.1,10.3V42l-10.7,0.3
- c-23,0.7-23,10.9-23,14.3c0,4.3,1.2,7.5,3.7,9.7c2.5,2.3,6.1,3.4,10.6,3.4c3.5,0,6.4-0.5,8.7-1.5c2.2-1,4.6-3,6.9-6l0.6-0.8h2.6
- l0.7,1.6l1.2,5.7h2.1V35.8c0-5.4-1.3-9.3-3.8-11.6c-2.6-2.4-6.7-3.5-12.3-3.5c-2.8,0-5.7,0.4-8.6,1.1c-2.2,0.6-4.3,1.3-6.3,2.3
- l0.9,2.3C94.9,24.1,99.4,23,103.5,23z M98.7,67.3c-3.5,0-6.4-0.9-8.5-2.7C88,62.8,87,60.1,87,56.7c0-4.3,1.7-7.6,5-9.6
- c3.1-1.9,7.8-3,14.4-3.2l9.9-0.4v6.7c0,5.3-1.6,9.6-4.8,12.6C108.3,65.8,104,67.3,98.7,67.3z M112.2,47.6l-5.7,0.2
- c-5.8,0.2-10,1.1-12.4,2.6C92,51.8,91,53.8,91,56.7c0,2.2,0.6,3.8,1.9,4.9c1.3,1.1,3.3,1.7,5.8,1.7c4.3,0,7.6-1.1,10-3.4
- c2.4-2.3,3.5-5.5,3.5-9.7V47.6z"/>
- </g>
- </g>
- <rect y="88" fill="#868482" width="124" height="8"/>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/default/style.qml b/src/virtualkeyboard/content/styles/default/style.qml
deleted file mode 100644
index 095d5fc4..00000000
--- a/src/virtualkeyboard/content/styles/default/style.qml
+++ /dev/null
@@ -1,1036 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.7
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Styles 2.1
-
-KeyboardStyle {
- id: currentStyle
- readonly property bool compactSelectionList: [InputEngine.InputMode.Pinyin, InputEngine.InputMode.Cangjie, InputEngine.InputMode.Zhuyin].indexOf(InputContext.inputEngine.inputMode) !== -1
- readonly property string fontFamily: "Sans"
- readonly property real keyBackgroundMargin: Math.round(13 * scaleHint)
- readonly property real keyContentMargin: Math.round(45 * scaleHint)
- readonly property real keyIconScale: scaleHint * 0.6
- readonly property string resourcePrefix: "qrc:/QtQuick/VirtualKeyboard/content/styles/default/"
-
- readonly property string inputLocale: InputContext.locale
- property color inputLocaleIndicatorColor: "white"
- property Timer inputLocaleIndicatorHighlightTimer: Timer {
- interval: 1000
- onTriggered: inputLocaleIndicatorColor = "gray"
- }
- onInputLocaleChanged: {
- inputLocaleIndicatorColor = "white"
- inputLocaleIndicatorHighlightTimer.restart()
- }
-
- keyboardDesignWidth: 2560
- keyboardDesignHeight: 800
- keyboardRelativeLeftMargin: 114 / keyboardDesignWidth
- keyboardRelativeRightMargin: 114 / keyboardDesignWidth
- keyboardRelativeTopMargin: 13 / keyboardDesignHeight
- keyboardRelativeBottomMargin: 86 / keyboardDesignHeight
-
- keyboardBackground: Rectangle {
- color: "black"
- }
-
- keyPanel: KeyPanel {
- id: keyPanel
- Rectangle {
- id: keyBackground
- radius: 5
- color: "#383533"
- anchors.fill: keyPanel
- anchors.margins: keyBackgroundMargin
- Text {
- id: keySmallText
- text: control.smallText
- visible: control.smallTextVisible
- color: "gray"
- anchors.right: parent.right
- anchors.top: parent.top
- anchors.margins: keyContentMargin / 3
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 38 * scaleHint
- capitalization: control.uppercased ? Font.AllUppercase : Font.MixedCase
- }
- }
- Text {
- id: keyText
- text: control.displayText
- color: "white"
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- anchors.fill: parent
- anchors.leftMargin: keyContentMargin
- anchors.topMargin: keyContentMargin
- anchors.rightMargin: keyContentMargin
- anchors.bottomMargin: keyContentMargin
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 52 * scaleHint
- capitalization: control.uppercased ? Font.AllUppercase : Font.MixedCase
- }
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: keyBackground
- opacity: 0.75
- }
- PropertyChanges {
- target: keyText
- opacity: 0.5
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: keyBackground
- opacity: 0.75
- }
- PropertyChanges {
- target: keyText
- opacity: 0.05
- }
- }
- ]
- }
-
- backspaceKeyPanel: KeyPanel {
- id: backspaceKeyPanel
- Rectangle {
- id: backspaceKeyBackground
- radius: 5
- color: "#23211E"
- anchors.fill: backspaceKeyPanel
- anchors.margins: keyBackgroundMargin
- Image {
- id: backspaceKeyIcon
- anchors.centerIn: parent
- sourceSize.width: 159 * keyIconScale
- sourceSize.height: 88 * keyIconScale
- smooth: false
- source: resourcePrefix + "images/backspace-868482.svg"
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: backspaceKeyBackground
- opacity: 0.80
- }
- PropertyChanges {
- target: backspaceKeyIcon
- opacity: 0.6
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: backspaceKeyBackground
- opacity: 0.8
- }
- PropertyChanges {
- target: backspaceKeyIcon
- opacity: 0.2
- }
- }
- ]
- }
-
- languageKeyPanel: KeyPanel {
- id: languageKeyPanel
- Rectangle {
- id: languageKeyBackground
- radius: 5
- color: "#35322f"
- anchors.fill: languageKeyPanel
- anchors.margins: keyBackgroundMargin
- Image {
- id: languageKeyIcon
- anchors.centerIn: parent
- sourceSize.width: 144 * keyIconScale
- sourceSize.height: 144 * keyIconScale
- smooth: false
- source: resourcePrefix + "images/globe-868482.svg"
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: languageKeyBackground
- opacity: 0.80
- }
- PropertyChanges {
- target: languageKeyIcon
- opacity: 0.75
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: languageKeyBackground
- opacity: 0.8
- }
- PropertyChanges {
- target: languageKeyIcon
- opacity: 0.2
- }
- }
- ]
- }
-
- enterKeyPanel: KeyPanel {
- id: enterKeyPanel
- Rectangle {
- id: enterKeyBackground
- radius: 5
- color: "#1e1b18"
- anchors.fill: enterKeyPanel
- anchors.margins: keyBackgroundMargin
- Image {
- id: enterKeyIcon
- visible: enterKeyText.text.length === 0
- anchors.centerIn: parent
- readonly property size enterKeyIconSize: {
- switch (control.actionId) {
- case EnterKeyAction.Go:
- case EnterKeyAction.Send:
- case EnterKeyAction.Next:
- case EnterKeyAction.Done:
- return Qt.size(170, 119)
- case EnterKeyAction.Search:
- return Qt.size(148, 148)
- default:
- return Qt.size(211, 80)
- }
- }
- sourceSize.width: enterKeyIconSize.width * keyIconScale
- sourceSize.height: enterKeyIconSize.height * keyIconScale
- smooth: false
- source: {
- switch (control.actionId) {
- case EnterKeyAction.Go:
- case EnterKeyAction.Send:
- case EnterKeyAction.Next:
- case EnterKeyAction.Done:
- return resourcePrefix + "images/check-868482.svg"
- case EnterKeyAction.Search:
- return resourcePrefix + "images/search-868482.svg"
- default:
- return resourcePrefix + "images/enter-868482.svg"
- }
- }
- }
- Text {
- id: enterKeyText
- visible: text.length !== 0
- text: control.actionId !== EnterKeyAction.None ? control.displayText : ""
- clip: true
- fontSizeMode: Text.HorizontalFit
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- color: "#80c342"
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 44 * scaleHint
- capitalization: Font.AllUppercase
- }
- anchors.fill: parent
- anchors.margins: Math.round(42 * scaleHint)
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: enterKeyBackground
- opacity: 0.80
- }
- PropertyChanges {
- target: enterKeyIcon
- opacity: 0.6
- }
- PropertyChanges {
- target: enterKeyText
- opacity: 0.6
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: enterKeyBackground
- opacity: 0.8
- }
- PropertyChanges {
- target: enterKeyIcon
- opacity: 0.2
- }
- PropertyChanges {
- target: enterKeyText
- opacity: 0.2
- }
- }
- ]
- }
-
- hideKeyPanel: KeyPanel {
- id: hideKeyPanel
- Rectangle {
- id: hideKeyBackground
- radius: 5
- color: "#1e1b18"
- anchors.fill: hideKeyPanel
- anchors.margins: keyBackgroundMargin
- Image {
- id: hideKeyIcon
- anchors.centerIn: parent
- sourceSize.width: 144 * keyIconScale
- sourceSize.height: 127 * keyIconScale
- smooth: false
- source: resourcePrefix + "images/hidekeyboard-868482.svg"
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: hideKeyBackground
- opacity: 0.80
- }
- PropertyChanges {
- target: hideKeyIcon
- opacity: 0.6
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: hideKeyBackground
- opacity: 0.8
- }
- PropertyChanges {
- target: hideKeyIcon
- opacity: 0.2
- }
- }
- ]
- }
-
- shiftKeyPanel: KeyPanel {
- id: shiftKeyPanel
- Rectangle {
- id: shiftKeyBackground
- radius: 5
- color: "#1e1b18"
- anchors.fill: shiftKeyPanel
- anchors.margins: keyBackgroundMargin
- Image {
- id: shiftKeyIcon
- anchors.centerIn: parent
- sourceSize.width: 144 * keyIconScale
- sourceSize.height: 134 * keyIconScale
- smooth: false
- source: resourcePrefix + "images/shift-868482.svg"
- }
- states: [
- State {
- name: "capsLockActive"
- when: InputContext.capsLockActive
- PropertyChanges {
- target: shiftKeyBackground
- color: "#5a892e"
- }
- PropertyChanges {
- target: shiftKeyIcon
- source: resourcePrefix + "images/shift-c5d6b6.svg"
- }
- },
- State {
- name: "shiftActive"
- when: InputContext.shiftActive
- PropertyChanges {
- target: shiftKeyIcon
- source: resourcePrefix + "images/shift-80c342.svg"
- }
- }
- ]
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: shiftKeyBackground
- opacity: 0.80
- }
- PropertyChanges {
- target: shiftKeyIcon
- opacity: 0.6
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: shiftKeyBackground
- opacity: 0.8
- }
- PropertyChanges {
- target: shiftKeyIcon
- opacity: 0.2
- }
- }
- ]
- }
-
- spaceKeyPanel: KeyPanel {
- id: spaceKeyPanel
- Rectangle {
- id: spaceKeyBackground
- radius: 5
- color: "#35322f"
- anchors.fill: spaceKeyPanel
- anchors.margins: keyBackgroundMargin
- Text {
- id: spaceKeyText
- text: Qt.locale(InputContext.locale).nativeLanguageName
- color: currentStyle.inputLocaleIndicatorColor
- Behavior on color { PropertyAnimation { duration: 250 } }
- anchors.centerIn: parent
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 48 * scaleHint
- }
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: spaceKeyBackground
- opacity: 0.80
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: spaceKeyBackground
- opacity: 0.8
- }
- }
- ]
- }
-
- symbolKeyPanel: KeyPanel {
- id: symbolKeyPanel
- Rectangle {
- id: symbolKeyBackground
- radius: 5
- color: "#1e1b18"
- anchors.fill: symbolKeyPanel
- anchors.margins: keyBackgroundMargin
- Text {
- id: symbolKeyText
- text: control.displayText
- color: "white"
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- anchors.fill: parent
- anchors.margins: keyContentMargin
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 44 * scaleHint
- capitalization: Font.AllUppercase
- }
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: symbolKeyBackground
- opacity: 0.80
- }
- PropertyChanges {
- target: symbolKeyText
- opacity: 0.6
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: symbolKeyBackground
- opacity: 0.8
- }
- PropertyChanges {
- target: symbolKeyText
- opacity: 0.2
- }
- }
- ]
- }
-
- modeKeyPanel: KeyPanel {
- id: modeKeyPanel
- Rectangle {
- id: modeKeyBackground
- radius: 5
- color: "#1e1b18"
- anchors.fill: modeKeyPanel
- anchors.margins: keyBackgroundMargin
- Text {
- id: modeKeyText
- text: control.displayText
- color: "white"
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- anchors.fill: parent
- anchors.margins: keyContentMargin
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 44 * scaleHint
- capitalization: Font.AllUppercase
- }
- }
- Rectangle {
- id: modeKeyIndicator
- implicitHeight: parent.height * 0.1
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: parent.bottom
- anchors.leftMargin: parent.width * 0.4
- anchors.rightMargin: parent.width * 0.4
- anchors.bottomMargin: parent.height * 0.12
- color: "#80c342"
- radius: 3
- visible: control.mode
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: modeKeyBackground
- opacity: 0.80
- }
- PropertyChanges {
- target: modeKeyText
- opacity: 0.6
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: modeKeyBackground
- opacity: 0.8
- }
- PropertyChanges {
- target: modeKeyText
- opacity: 0.2
- }
- }
- ]
- }
-
- handwritingKeyPanel: KeyPanel {
- id: handwritingKeyPanel
- Rectangle {
- id: hwrKeyBackground
- radius: 5
- color: "#35322f"
- anchors.fill: handwritingKeyPanel
- anchors.margins: keyBackgroundMargin
- Image {
- id: hwrKeyIcon
- anchors.centerIn: parent
- readonly property size hwrKeyIconSize: keyboard.handwritingMode ? Qt.size(124, 96) : Qt.size(156, 104)
- sourceSize.width: hwrKeyIconSize.width * keyIconScale
- sourceSize.height: hwrKeyIconSize.height * keyIconScale
- smooth: false
- source: resourcePrefix + (keyboard.handwritingMode ? "images/textmode-868482.svg" : "images/handwriting-868482.svg")
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: hwrKeyBackground
- opacity: 0.80
- }
- PropertyChanges {
- target: hwrKeyIcon
- opacity: 0.6
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: hwrKeyBackground
- opacity: 0.8
- }
- PropertyChanges {
- target: hwrKeyIcon
- opacity: 0.2
- }
- }
- ]
- }
-
- characterPreviewMargin: 0
- characterPreviewDelegate: Item {
- property string text
- id: characterPreview
- Rectangle {
- id: characterPreviewBackground
- anchors.fill: parent
- color: "#5d5b59"
- radius: 5
- Text {
- id: characterPreviewText
- color: "white"
- text: characterPreview.text
- fontSizeMode: Text.HorizontalFit
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- anchors.fill: parent
- anchors.margins: Math.round(48 * scaleHint)
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 82 * scaleHint
- }
- }
- }
- }
-
- alternateKeysListItemWidth: 99 * scaleHint
- alternateKeysListItemHeight: 150 * scaleHint
- alternateKeysListDelegate: Item {
- id: alternateKeysListItem
- width: alternateKeysListItemWidth
- height: alternateKeysListItemHeight
- Text {
- id: listItemText
- text: model.text
- color: "#868482"
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 52 * scaleHint
- }
- anchors.centerIn: parent
- }
- states: State {
- name: "current"
- when: alternateKeysListItem.ListView.isCurrentItem
- PropertyChanges {
- target: listItemText
- color: "white"
- }
- }
- }
- alternateKeysListHighlight: Rectangle {
- color: "#5d5b59"
- radius: 5
- }
- alternateKeysListBackground: Rectangle {
- color: "#1e1b18"
- radius: 5
- }
-
- selectionListHeight: 85 * scaleHint
- selectionListDelegate: SelectionListItem {
- id: selectionListItem
- width: Math.round(selectionListLabel.width + selectionListLabel.anchors.leftMargin * 2)
- Text {
- id: selectionListLabel
- anchors.left: parent.left
- anchors.leftMargin: Math.round((compactSelectionList ? 50 : 140) * scaleHint)
- anchors.verticalCenter: parent.verticalCenter
- text: decorateText(display, wordCompletionLength)
- color: "#80c342"
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 44 * scaleHint
- }
- function decorateText(text, wordCompletionLength) {
- if (wordCompletionLength > 0) {
- return text.slice(0, -wordCompletionLength) + '<u>' + text.slice(-wordCompletionLength) + '</u>'
- }
- return text
- }
- }
- Rectangle {
- id: selectionListSeparator
- width: 4 * scaleHint
- height: 36 * scaleHint
- radius: 2
- color: "#35322f"
- anchors.verticalCenter: parent.verticalCenter
- anchors.right: parent.left
- }
- states: State {
- name: "current"
- when: selectionListItem.ListView.isCurrentItem
- PropertyChanges {
- target: selectionListLabel
- color: "white"
- }
- }
- }
- selectionListBackground: Rectangle {
- color: "#1e1b18"
- }
- selectionListAdd: Transition {
- NumberAnimation { property: "y"; from: wordCandidateView.height; duration: 200 }
- NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200 }
- }
- selectionListRemove: Transition {
- NumberAnimation { property: "y"; to: -wordCandidateView.height; duration: 200 }
- NumberAnimation { property: "opacity"; to: 0; duration: 200 }
- }
-
- navigationHighlight: Rectangle {
- color: "transparent"
- border.color: "yellow"
- border.width: 5
- }
-
- traceInputKeyPanelDelegate: TraceInputKeyPanel {
- id: traceInputKeyPanel
- traceMargins: keyBackgroundMargin
- Rectangle {
- id: traceInputKeyPanelBackground
- radius: 5
- color: "#35322f"
- anchors.fill: traceInputKeyPanel
- anchors.margins: keyBackgroundMargin
- Text {
- id: hwrInputModeIndicator
- visible: control.patternRecognitionMode === InputEngine.PatternRecognitionMode.Handwriting
- text: {
- switch (InputContext.inputEngine.inputMode) {
- case InputEngine.InputMode.Numeric:
- if (["ar", "fa"].indexOf(InputContext.locale.substring(0, 2)) !== -1)
- return "\u0660\u0661\u0662"
- // Fallthrough
- case InputEngine.InputMode.Dialable:
- return "123"
- case InputEngine.InputMode.Greek:
- return "ΑΒΓ"
- case InputEngine.InputMode.Cyrillic:
- return "АБВ"
- case InputEngine.InputMode.Arabic:
- if (InputContext.locale.substring(0, 2) === "fa")
- return "\u0627\u200C\u0628\u200C\u067E"
- return "\u0623\u200C\u0628\u200C\u062C"
- case InputEngine.InputMode.Hebrew:
- return "\u05D0\u05D1\u05D2"
- case InputEngine.InputMode.ChineseHandwriting:
- return "中文"
- case InputEngine.InputMode.JapaneseHandwriting:
- return "日本語"
- case InputEngine.InputMode.KoreanHandwriting:
- return "한국어"
- case InputEngine.InputMode.Thai:
- return "กขค"
- default:
- return "Abc"
- }
- }
- color: "white"
- anchors.left: parent.left
- anchors.top: parent.top
- anchors.margins: keyContentMargin
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 44 * scaleHint
- capitalization: {
- if (InputContext.capsLockActive)
- return Font.AllUppercase
- if (InputContext.shiftActive)
- return Font.MixedCase
- return Font.AllLowercase
- }
- }
- }
- }
- Canvas {
- id: traceInputKeyGuideLines
- anchors.fill: traceInputKeyPanelBackground
- opacity: 0.1
- onPaint: {
- var ctx = getContext("2d")
- ctx.lineWidth = 1
- ctx.strokeStyle = Qt.rgba(0xFF, 0xFF, 0xFF)
- ctx.clearRect(0, 0, width, height)
- var i
- var margin = Math.round(30 * scaleHint)
- if (control.horizontalRulers) {
- for (i = 0; i < control.horizontalRulers.length; i++) {
- ctx.beginPath()
- var y = Math.round(control.horizontalRulers[i])
- var rightMargin = Math.round(width - margin)
- if (i + 1 === control.horizontalRulers.length) {
- ctx.moveTo(margin, y)
- ctx.lineTo(rightMargin, y)
- } else {
- var dashLen = Math.round(20 * scaleHint)
- for (var dash = margin, dashCount = 0;
- dash < rightMargin; dash += dashLen, dashCount++) {
- if ((dashCount & 1) === 0) {
- ctx.moveTo(dash, y)
- ctx.lineTo(Math.min(dash + dashLen, rightMargin), y)
- }
- }
- }
- ctx.stroke()
- }
- }
- if (control.verticalRulers) {
- for (i = 0; i < control.verticalRulers.length; i++) {
- ctx.beginPath()
- ctx.moveTo(control.verticalRulers[i], margin)
- ctx.lineTo(control.verticalRulers[i], Math.round(height - margin))
- ctx.stroke()
- }
- }
- }
- Connections {
- target: control
- onHorizontalRulersChanged: traceInputKeyGuideLines.requestPaint()
- onVerticalRulersChanged: traceInputKeyGuideLines.requestPaint()
- }
- }
- }
-
- traceCanvasDelegate: TraceCanvas {
- id: traceCanvas
- onAvailableChanged: {
- if (!available)
- return
- var ctx = getContext("2d")
- if (parent.canvasType === "fullscreen") {
- ctx.lineWidth = 10
- ctx.strokeStyle = Qt.rgba(0, 0, 0)
- } else {
- ctx.lineWidth = 10 * scaleHint
- ctx.strokeStyle = Qt.rgba(0xFF, 0xFF, 0xFF)
- }
- ctx.lineCap = "round"
- ctx.fillStyle = ctx.strokeStyle
- }
- autoDestroyDelay: 800
- onTraceChanged: if (trace === null) opacity = 0
- Behavior on opacity { PropertyAnimation { easing.type: Easing.OutCubic; duration: 150 } }
- }
-
- popupListDelegate: SelectionListItem {
- property real cursorAnchor: popupListLabel.x + popupListLabel.width
- id: popupListItem
- width: popupListLabel.width + popupListLabel.anchors.leftMargin * 2
- height: popupListLabel.height + popupListLabel.anchors.topMargin * 2
- Text {
- id: popupListLabel
- anchors.left: parent.left
- anchors.top: parent.top
- anchors.leftMargin: popupListLabel.height / 2
- anchors.topMargin: popupListLabel.height / 3
- text: decorateText(display, wordCompletionLength)
- color: "#5CAA15"
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: Qt.inputMethod.cursorRectangle.height * 0.8
- }
- function decorateText(text, wordCompletionLength) {
- if (wordCompletionLength > 0) {
- return text.slice(0, -wordCompletionLength) + '<u>' + text.slice(-wordCompletionLength) + '</u>'
- }
- return text
- }
- }
- states: State {
- name: "current"
- when: popupListItem.ListView.isCurrentItem
- PropertyChanges {
- target: popupListLabel
- color: "black"
- }
- }
- }
-
- popupListBackground: Item {
- Rectangle {
- width: parent.width
- height: parent.height
- color: "white"
- border {
- width: 1
- color: "#929495"
- }
- }
- }
-
- popupListAdd: Transition {
- NumberAnimation { property: "opacity"; from: 0; to: 1.0; duration: 200 }
- }
-
- popupListRemove: Transition {
- NumberAnimation { property: "opacity"; to: 0; duration: 200 }
- }
-
- languagePopupListEnabled: true
-
- languageListDelegate: SelectionListItem {
- id: languageListItem
- width: languageNameTextMetrics.width * 17
- height: languageNameTextMetrics.height + languageListLabel.anchors.topMargin + languageListLabel.anchors.bottomMargin
- Text {
- id: languageListLabel
- anchors.left: parent.left
- anchors.top: parent.top
- anchors.leftMargin: languageNameTextMetrics.height / 2
- anchors.rightMargin: anchors.leftMargin
- anchors.topMargin: languageNameTextMetrics.height / 3
- anchors.bottomMargin: anchors.topMargin
- text: languageNameFormatter.elidedText
- color: "#5CAA15"
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 44 * scaleHint
- }
- }
- TextMetrics {
- id: languageNameTextMetrics
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 44 * scaleHint
- }
- text: "X"
- }
- TextMetrics {
- id: languageNameFormatter
- font {
- family: fontFamily
- weight: Font.Normal
- pixelSize: 44 * scaleHint
- }
- elide: Text.ElideRight
- elideWidth: languageListItem.width - languageListLabel.anchors.leftMargin - languageListLabel.anchors.rightMargin
- text: displayName
- }
- states: State {
- name: "current"
- when: languageListItem.ListView.isCurrentItem
- PropertyChanges {
- target: languageListLabel
- color: "black"
- }
- }
- }
-
- languageListBackground: Rectangle {
- color: "white"
- border {
- width: 1
- color: "#929495"
- }
- }
-
- languageListAdd: Transition {
- NumberAnimation { property: "opacity"; from: 0; to: 1.0; duration: 200 }
- }
-
- languageListRemove: Transition {
- NumberAnimation { property: "opacity"; to: 0; duration: 200 }
- }
-
- selectionHandle: Image {
- sourceSize.width: 20
- source: resourcePrefix + "images/selectionhandle-bottom.svg"
- }
-
- fullScreenInputContainerBackground: Rectangle {
- color: "#FFF"
- }
-
- fullScreenInputBackground: Rectangle {
- color: "#FFF"
- }
-
- fullScreenInputMargins: Math.round(15 * scaleHint)
-
- fullScreenInputPadding: Math.round(30 * scaleHint)
-
- fullScreenInputCursor: Rectangle {
- width: 1
- color: "#000"
- visible: parent.blinkStatus
- }
-
- fullScreenInputFont.pixelSize: 58 * scaleHint
-}
diff --git a/src/virtualkeyboard/content/styles/default/virtualkeyboard_default_style.qrc b/src/virtualkeyboard/content/styles/default/virtualkeyboard_default_style.qrc
deleted file mode 100644
index 277e8cde..00000000
--- a/src/virtualkeyboard/content/styles/default/virtualkeyboard_default_style.qrc
+++ /dev/null
@@ -1,17 +0,0 @@
-<RCC>
- <qresource prefix="/QtQuick/VirtualKeyboard/content/styles/default">
- <file>style.qml</file>
- <file>images/backspace-868482.svg</file>
- <file>images/check-868482.svg</file>
- <file>images/enter-868482.svg</file>
- <file>images/globe-868482.svg</file>
- <file>images/handwriting-868482.svg</file>
- <file>images/hidekeyboard-868482.svg</file>
- <file>images/search-868482.svg</file>
- <file>images/shift-80c342.svg</file>
- <file>images/shift-868482.svg</file>
- <file>images/shift-c5d6b6.svg</file>
- <file>images/textmode-868482.svg</file>
- <file>images/selectionhandle-bottom.svg</file>
- </qresource>
-</RCC>
diff --git a/src/virtualkeyboard/content/styles/retro/images/backspace-c5a96f.svg b/src/virtualkeyboard/content/styles/retro/images/backspace-c5a96f.svg
deleted file mode 100644
index a242531a..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/backspace-c5a96f.svg
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="159px" height="88px" viewBox="0 0 159 88" enable-background="new 0 0 159 88" xml:space="preserve">
-<g>
- <rect fill="none" width="159" height="88"/>
- <g>
- <g>
- <path fill="#C5A96F" d="M158.8,88H44L0,44L44,0h114.8V88z M48.7,76.7h98.8V11.3H48.7L16,44L48.7,76.7z"/>
- </g>
- <g>
- <g>
-
- <rect x="87.3" y="16.2" transform="matrix(-0.7071 -0.7071 0.7071 -0.7071 127.5895 140.8497)" fill="#C5A96F" width="11.3" height="55.7"/>
- </g>
- <g>
-
- <rect x="65.1" y="38.4" transform="matrix(-0.7071 -0.7071 0.7071 -0.7071 127.5954 140.8499)" fill="#C5A96F" width="55.7" height="11.3"/>
- </g>
- </g>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/check-c5a96f.svg b/src/virtualkeyboard/content/styles/retro/images/check-c5a96f.svg
deleted file mode 100644
index e45b41ab..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/check-c5a96f.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="170px" height="119px" viewBox="0 0 170 119" enable-background="new 0 0 170 119" xml:space="preserve">
-<g>
- <polygon fill="#C5A96F" points="62.3,119 0,56.7 11.3,45.3 62.3,96.3 158.7,0 170,11.3 "/>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/enter-c5a96f.svg b/src/virtualkeyboard/content/styles/retro/images/enter-c5a96f.svg
deleted file mode 100644
index ddbd86e8..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/enter-c5a96f.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="211px" height="80px" viewBox="0 0 211 80" enable-background="new 0 0 211 80" xml:space="preserve">
-<g>
- <rect fill="none" width="211" height="80"/>
- <g>
- <rect x="9.2" y="33.8" fill="#C5A96F" width="201.8" height="12.3"/>
- <rect x="198.7" y="10.7" fill="#C5A96F" width="12.3" height="35.3"/>
- <polygon fill="#C5A96F" points="44.5,0 44.5,79.8 0,40.7 "/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/globe-110b05.svg b/src/virtualkeyboard/content/styles/retro/images/globe-110b05.svg
deleted file mode 100644
index 591ab50f..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/globe-110b05.svg
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="144px" viewBox="0 0 144 144" enable-background="new 0 0 144 144" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="144"/>
- <g>
- <path fill="#110B05" d="M72,144c-39.5,0-71.8-32.1-72-71.6C-0.2,32.7,31.9,0.2,71.6,0h0.7c19.1,0.1,37.1,7.6,50.6,21.1
- s21,31.5,21.1,50.5c0.1,19.2-7.3,37.4-20.8,51c-13.5,13.7-31.6,21.3-50.8,21.4C72.2,144,72.1,144,72,144z M76.3,101.3v32.3
- c9-8.1,16-17.9,20.6-28.7C90.2,102.9,83.3,101.7,76.3,101.3z M47,104.9c3.2,7.4,7.5,14.3,12.8,20.6c2.4,2.9,5.1,5.6,7.9,8.1v-32.3
- C60.7,101.7,53.8,102.9,47,104.9z M105.2,107.9c-3.9,9.2-9.2,17.6-15.9,25.1c10.4-2.9,19.9-8.5,27.8-16.4c0.5-0.5,1-1.1,1.6-1.6
- C114.3,112.1,109.8,109.8,105.2,107.9z M25.5,114.9c7.8,8.5,17.9,14.8,29.3,18c-0.5-0.6-1.1-1.2-1.6-1.8
- c-6-7.1-10.8-14.9-14.3-23.3C34.2,109.8,29.8,112.1,25.5,114.9z M108.1,99.7c5.5,2.3,10.8,5.1,15.9,8.4
- c6.5-9.4,10.4-20.3,11.2-31.8h-22.9c-0.1,1.2-0.1,2.4-0.2,3.7C111.4,86.8,110.1,93.4,108.1,99.7z M8.8,76.3
- C9.6,88.1,13.6,99,20,108.1c5.1-3.3,10.4-6.1,15.8-8.4c-2.4-7.5-3.7-15.4-4.1-23.4L8.8,76.3L8.8,76.3z M40.4,76.3
- c0.3,7,1.5,13.8,3.6,20.4c7.7-2.4,15.7-3.8,23.7-4.1V76.3H40.4z M76.3,92.6c8,0.4,15.9,1.7,23.6,4.1c1.7-5.6,2.9-11.5,3.4-17.5
- c0.1-1,0.1-2,0.2-2.9H76.3V92.6z M112.2,67.7h23c-0.8-11.5-4.6-22.4-11.2-31.8c-5.1,3.4-10.5,6.2-16.1,8.5
- C110.4,51.9,111.8,59.7,112.2,67.7z M76.3,67.7h27.2c-0.4-7-1.6-13.8-3.7-20.4c-7.7,2.4-15.5,3.7-23.5,4.1V67.7z M40.5,67.7h27.2
- V51.4c-7.9-0.4-15.8-1.7-23.4-4.1c-1.8,5.8-3,11.9-3.6,18.1C40.6,66.2,40.5,66.9,40.5,67.7z M8.8,67.7h23c0.1-1,0.1-2,0.2-3
- c0.6-7,2-13.8,4-20.3c-5.5-2.3-10.9-5.1-16-8.5C13.6,45,9.6,55.9,8.8,67.7z M76.3,11.1v31.6c6.9-0.3,13.7-1.5,20.4-3.5
- c-3.1-7.1-7.3-13.9-12.5-20C81.8,16.3,79.1,13.6,76.3,11.1z M47.3,39.2c6.7,2,13.5,3.2,20.4,3.5V11.1C58.8,19,51.9,28.6,47.3,39.2
- z M88.4,10.8c0.8,0.9,1.6,1.8,2.4,2.8c5.9,6.9,10.6,14.6,14.1,22.7c4.7-2,9.3-4.3,13.7-7.2c-0.6-0.6-1.2-1.2-1.8-1.9
- C108.8,19.2,99,13.6,88.4,10.8z M25.5,29.1c4.4,2.8,8.9,5.2,13.6,7.1c4-9.3,9.5-17.9,16.5-25.4C43.8,14,33.5,20.4,25.5,29.1z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/handwriting-110b05.svg b/src/virtualkeyboard/content/styles/retro/images/handwriting-110b05.svg
deleted file mode 100644
index d19c4da7..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/handwriting-110b05.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="156px" height="104px" viewBox="0 0 156 104" enable-background="new 0 0 156 104" xml:space="preserve">
-<g>
- <rect fill="none" width="156" height="104"/>
- <g>
- <path fill="#110B05" d="M37.6,103.3c-10.1,0-18.9-5-23.1-13.6C4.4,68.7,19.9,52.3,36.2,35c1.2-1.2,2.4-2.5,3.6-3.8
- c5.3-5.7,5.2-11.5,3.5-14.8c-1.8-3.4-5.5-4.9-10.2-4.2c-16.5,2.6-21.2,26.4-21.2,26.6L0,36.6C0.3,35.3,6.4,4.3,31.2,0.3
- c9.8-1.6,18.5,2.4,22.7,10.4c4.7,8.9,2.6,20.1-5.3,28.6c-1.2,1.3-2.4,2.6-3.6,3.8C28.3,60.9,19.1,71.6,25.4,84.5
- c3.3,6.8,11.1,7.6,16.9,6.3c9.2-2.1,19.8-11.1,19.7-29.5c-0.2-28.1,16.2-41.8,30.2-44.9c14.5-3.2,28.4,3.6,34.7,17
- c1.3,2.8,2.3,5.4,3.1,8.1c13.3,0.7,25.5,4.3,26,4.4l-3.4,11.5c-0.1,0-9.7-2.8-20.6-3.8c0.5,16.5-8.6,28.9-20.1,34.7
- c-11.9,6-24,3.8-28.9-5.2c-3.1-5.6-1.9-14.7,2.9-22.5c7.9-13,21.3-17.4,31.5-18.8c-0.4-1.2-0.9-2.4-1.4-3.4
- c-3.9-8.3-12.2-12.4-21.1-10.4c-9.7,2.2-21,12.1-20.8,33.1c0.2,25.5-15.6,38.1-29,41.3C42.5,103,40,103.3,37.6,103.3z M119.8,53.7
- c-14,1.5-20.6,8.5-23.4,12.9c-3.3,5.2-3.4,9.8-2.9,10.9c1.6,2.9,7.3,3,13,0.2C117.3,72.2,120.3,62.6,119.8,53.7z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/hidekeyboard-c5a96f.svg b/src/virtualkeyboard/content/styles/retro/images/hidekeyboard-c5a96f.svg
deleted file mode 100644
index a4019bf3..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/hidekeyboard-c5a96f.svg
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="127px" viewBox="0 0 144 127" enable-background="new 0 0 144 127" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="127"/>
- <g>
- <g>
- <path fill="#C5A96F" d="M144,90.3H0V0h144V90.3z M10.9,79.4h122.2V10.9H10.9V79.4z"/>
- </g>
- <g>
- <rect x="19.5" y="20.2" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="38.1" y="20.2" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="56.8" y="20.2" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="75.5" y="20.2" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="94.2" y="20.2" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="112.9" y="20.2" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="19.5" y="39.7" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="38.1" y="39.7" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="56.8" y="39.7" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="75.5" y="39.7" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="94.2" y="39.7" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="112.9" y="39.7" fill="#C5A96F" width="11.7" height="11.7"/>
- </g>
- <g>
- <rect x="38.1" y="59.2" fill="#C5A96F" width="67.7" height="11.7"/>
- </g>
- <g>
- <polygon fill="#C5A96F" points="72,115.2 62.2,108.2 45.9,108.2 72,126.9 98.1,108.2 81.8,108.2 "/>
- </g>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_black.png b/src/virtualkeyboard/content/styles/retro/images/key154px_black.png
deleted file mode 100644
index d9bf8e72..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_black.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_black_long.png b/src/virtualkeyboard/content/styles/retro/images/key154px_black_long.png
deleted file mode 100644
index 492c718a..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_black_long.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_capslock.png b/src/virtualkeyboard/content/styles/retro/images/key154px_capslock.png
deleted file mode 100644
index 7cb0bd4a..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_capslock.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_capslock_long.png b/src/virtualkeyboard/content/styles/retro/images/key154px_capslock_long.png
deleted file mode 100644
index 429d4bb5..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_capslock_long.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_colorA.png b/src/virtualkeyboard/content/styles/retro/images/key154px_colorA.png
deleted file mode 100644
index 778384cd..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_colorA.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_colorA.svg b/src/virtualkeyboard/content/styles/retro/images/key154px_colorA.svg
deleted file mode 100644
index 13af8a63..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_colorA.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- viewBox="0 0 154 154" enable-background="new 0 0 154 154" xml:space="preserve">
-<g>
- <radialGradient id="SVGID_1_" cx="77" cy="77" r="73" gradientUnits="userSpaceOnUse">
- <stop offset="0" style="stop-color:#CFBE90"/>
- <stop offset="1" style="stop-color:#B2945A"/>
- </radialGradient>
- <path fill="url(#SVGID_1_)" d="M77,150c-40.3,0-73-32.7-73-73C4,36.7,36.7,4,77,4c40.3,0,73,32.7,73,73C150,117.3,117.3,150,77,150
- z"/>
- <path fill="#C2B49B" d="M77,8c38,0,69,31,69,69s-31,69-69,69S8,115,8,77S39,8,77,8 M77,0C34.5,0,0,34.5,0,77s34.5,77,77,77
- s77-34.5,77-77S119.5,0,77,0L77,0z"/>
-</g>
-<g opacity="8.000000e-02">
- <path d="M77,16c33.6,0,61,27.4,61,61s-27.4,61-61,61s-61-27.4-61-61S43.4,16,77,16 M77,8C38.9,8,8,38.9,8,77s30.9,69,69,69
- s69-30.9,69-69S115.1,8,77,8L77,8z"/>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_colorA_long.png b/src/virtualkeyboard/content/styles/retro/images/key154px_colorA_long.png
deleted file mode 100644
index e1b6e5b8..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_colorA_long.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_colorB.png b/src/virtualkeyboard/content/styles/retro/images/key154px_colorB.png
deleted file mode 100644
index cef9fd29..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_colorB.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_shiftcase.png b/src/virtualkeyboard/content/styles/retro/images/key154px_shiftcase.png
deleted file mode 100644
index 58bf8282..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_shiftcase.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key154px_shiftcase_long.png b/src/virtualkeyboard/content/styles/retro/images/key154px_shiftcase_long.png
deleted file mode 100644
index bfcba5fd..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key154px_shiftcase_long.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key156px_black_long.png b/src/virtualkeyboard/content/styles/retro/images/key156px_black_long.png
deleted file mode 100644
index a22109bd..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key156px_black_long.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key156px_black_medium_long.png b/src/virtualkeyboard/content/styles/retro/images/key156px_black_medium_long.png
deleted file mode 100644
index 8c92d3b1..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key156px_black_medium_long.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key156px_colorA.png b/src/virtualkeyboard/content/styles/retro/images/key156px_colorA.png
deleted file mode 100644
index 6da57d60..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key156px_colorA.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key156px_colorB.png b/src/virtualkeyboard/content/styles/retro/images/key156px_colorB.png
deleted file mode 100644
index af0912e3..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key156px_colorB.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key160px_black.png b/src/virtualkeyboard/content/styles/retro/images/key160px_black.png
deleted file mode 100644
index 565c4bf7..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key160px_black.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key160px_colorA.png b/src/virtualkeyboard/content/styles/retro/images/key160px_colorA.png
deleted file mode 100644
index e2125cf8..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key160px_colorA.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key160px_colorB.png b/src/virtualkeyboard/content/styles/retro/images/key160px_colorB.png
deleted file mode 100644
index 9b543b05..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key160px_colorB.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/key_preview.png b/src/virtualkeyboard/content/styles/retro/images/key_preview.png
deleted file mode 100644
index 3e9e9557..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/key_preview.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/search-c5a96f.svg b/src/virtualkeyboard/content/styles/retro/images/search-c5a96f.svg
deleted file mode 100644
index a1f7c903..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/search-c5a96f.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="148px" height="148px" viewBox="0 0 148 148" enable-background="new 0 0 148 148" xml:space="preserve">
-<g>
- <rect fill="none" width="148" height="148"/>
- <g>
- <path fill="#C5A96F" d="M146.8,132.7c1.6,1.6,1.6,4.1,0,5.7l-8.5,8.5c-1.6,1.6-4.1,1.6-5.7,0l-44.6-44.6c-1.6-1.6-1.6-4.1,0-5.7
- l8.5-8.5c1.6-1.6,4.1-1.6,5.7,0L146.8,132.7z"/>
- <path fill="#C5A96F" d="M58,12c25.4,0,46,20.6,46,46s-20.6,46-46,46c-25.4,0-46-20.6-46-46S32.6,12,58,12 M58,0C26,0,0,26,0,58
- s26,58,58,58c32,0,58-26,58-58S90,0,58,0L58,0z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/selectionhandle-bottom.svg b/src/virtualkeyboard/content/styles/retro/images/selectionhandle-bottom.svg
deleted file mode 100644
index 1a45a736..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/selectionhandle-bottom.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="54px" height="94px" viewBox="0 0 54 94" enable-background="new 0 0 54 94" xml:space="preserve">
-<rect x="24" y="0" opacity="0.85" fill="#37260B" width="6" height="55"/>
-<path opacity="0.85" fill="#37260B" d="M54,67c0,14.912-12.088,27-27,27S0,81.912,0,67c0-19.758,27-30,27-30S54,47.25,54,67z"/>
-<rect x="24" y="0" fill="#B57C47" width="6" height="55"/>
-<path fill="#B57C47" d="M54,63c0,14.912-12.088,27-27,27S0,77.912,0,63c0-19.758,27-30,27-30S54,43.25,54,63z"/>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/shift-c5a96f.svg b/src/virtualkeyboard/content/styles/retro/images/shift-c5a96f.svg
deleted file mode 100644
index 3da185d2..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/shift-c5a96f.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="134px" viewBox="0 0 144 134" enable-background="new 0 0 144 134" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="134"/>
- <g>
- <path fill="#C5A96F" d="M103.6,134H40.2V77.5H0L71.9,0l71.9,77.5h-40.2V134L103.6,134z M51.7,122.5h40.5V66.1h25.4L71.9,16.8
- L26.2,66.1h25.4L51.7,122.5L51.7,122.5z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/shift-cd8865.svg b/src/virtualkeyboard/content/styles/retro/images/shift-cd8865.svg
deleted file mode 100644
index 09eba7cd..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/shift-cd8865.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="134px" viewBox="0 0 144 134" enable-background="new 0 0 144 134" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="134"/>
- <g>
- <path fill="#CD8865" d="M103.6,134H40.2V77.5H0L71.9,0l71.9,77.5h-40.2V134L103.6,134z M51.7,122.5h40.5V66.1h25.4L71.9,16.8
- L26.2,66.1h25.4L51.7,122.5L51.7,122.5z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/shift-dc4f28.svg b/src/virtualkeyboard/content/styles/retro/images/shift-dc4f28.svg
deleted file mode 100644
index d1a5d5ee..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/shift-dc4f28.svg
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="144px" height="134px" viewBox="0 0 144 134" enable-background="new 0 0 144 134" xml:space="preserve">
-<g>
- <rect fill="none" width="144" height="134"/>
- <g>
- <path fill="#DC4F28" d="M103.6,134H40.2V77.5H0L71.9,0l71.9,77.5h-40.2L103.6,134L103.6,134z M51.7,122.5h40.5V66.1h25.4
- L71.9,16.8L26.2,66.1h25.4L51.7,122.5L51.7,122.5z"/>
- </g>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/textmode-110b05.svg b/src/virtualkeyboard/content/styles/retro/images/textmode-110b05.svg
deleted file mode 100644
index b891d960..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/textmode-110b05.svg
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="124px" height="96px" viewBox="0 0 124 96" enable-background="new 0 0 124 96" xml:space="preserve">
-<g>
- <g>
- <g>
- <path fill="#110B05" d="M55.4,70.8L46.9,49H19.4L11,70.8H2.9L30,2h6.7l27,68.8H55.4z M44.4,41.8l-8-21.2c-1-2.7-2.1-6-3.2-9.9
- c-0.7,3-1.7,6.3-3,9.9l-8.1,21.2H44.4z"/>
- <path fill="#110B05" d="M66.6,72.8H54.1L45.5,51H20.8l-8.4,21.8H0L28.7,0h9.4L66.6,72.8z M56.8,68.8h4L35.4,4h-1.9l1.7,6.2
- c1.1,3.8,2.1,7.1,3.1,9.7l9,24h-28l9.1-23.9c1.2-3.5,2.2-6.7,2.9-9.6L32.8,4h-1.4L5.9,68.8h3.8L18.1,47h30.2L56.8,68.8z
- M25.1,39.8h16.4l-7-18.5c-0.4-1.1-0.8-2.2-1.2-3.4c-0.4,1.1-0.7,2.2-1.2,3.4L25.1,39.8z"/>
- </g>
- <g>
- <path fill="#110B05" d="M116.2,70.8l-1.5-7.3h-0.4c-2.6,3.2-5.1,5.4-7.7,6.5s-5.7,1.7-9.5,1.7c-5.1,0-9.1-1.3-12-3.9
- s-4.3-6.4-4.3-11.2c0-10.4,8.3-15.8,24.9-16.3l8.7-0.3v-3.2c0-4-0.9-7-2.6-8.9s-4.5-2.9-8.3-2.9c-4.3,0-9.1,1.3-14.5,3.9l-2.4-6
- c2.5-1.4,5.3-2.5,8.3-3.2s6-1.2,9.1-1.2c6.1,0,10.7,1.4,13.6,4.1s4.4,7.1,4.4,13.1v35.1H116.2z M98.7,65.3c4.8,0,8.6-1.3,11.4-4
- s4.1-6.4,4.1-11.2v-4.6l-7.8,0.3c-6.2,0.2-10.6,1.2-13.4,2.9S89,53.1,89,56.7c0,2.8,0.9,5,2.6,6.4S95.6,65.3,98.7,65.3z"/>
- <path fill="#110B05" d="M97.1,73.8c-5.6,0-10.1-1.5-13.3-4.5c-3.3-3-5-7.3-5-12.7c0-11.6,9-17.8,26.8-18.3l6.8-0.2v-1.3
- c0-3.5-0.7-6.1-2.1-7.6c-1.3-1.5-3.6-2.2-6.8-2.2c-4,0-8.6,1.3-13.7,3.7l-1.9,0.9L84,22.1l1.6-0.8c2.7-1.4,5.6-2.6,8.8-3.4
- c3.2-0.8,6.4-1.2,9.6-1.2c6.6,0,11.7,1.6,15,4.6c3.4,3.1,5.1,8,5.1,14.5v37.1h-9.4l-1.1-5.3c-2,2-4,3.5-6,4.4
- C104.7,73.1,101.2,73.8,97.1,73.8z M103.5,23c4.4,0,7.7,1.2,9.8,3.5c2.1,2.3,3.1,5.7,3.1,10.3V42l-10.7,0.3
- c-23,0.7-23,10.9-23,14.3c0,4.3,1.2,7.5,3.7,9.7c2.5,2.3,6.1,3.4,10.6,3.4c3.5,0,6.4-0.5,8.7-1.5c2.2-1,4.6-3,6.9-6l0.6-0.8h2.6
- l0.7,1.6l1.2,5.7h2.1V35.8c0-5.4-1.3-9.3-3.8-11.6c-2.6-2.4-6.7-3.5-12.3-3.5c-2.8,0-5.7,0.4-8.6,1.1c-2.2,0.6-4.3,1.3-6.3,2.3
- l0.9,2.3C94.9,24.1,99.4,23,103.5,23z M98.7,67.3c-3.5,0-6.4-0.9-8.5-2.7C88,62.8,87,60.1,87,56.7c0-4.3,1.7-7.6,5-9.6
- c3.1-1.9,7.8-3,14.4-3.2l9.9-0.4v6.7c0,5.3-1.6,9.6-4.8,12.6C108.3,65.8,104,67.3,98.7,67.3z M112.2,47.6l-5.7,0.2
- c-5.8,0.2-10,1.1-12.4,2.6C92,51.8,91,53.8,91,56.7c0,2.2,0.6,3.8,1.9,4.9c1.3,1.1,3.3,1.7,5.8,1.7c4.3,0,7.6-1.1,10-3.4
- c2.4-2.3,3.5-5.5,3.5-9.7V47.6z"/>
- </g>
- </g>
- <rect y="88" fill="#110B05" width="124" height="8"/>
-</g>
-</svg>
diff --git a/src/virtualkeyboard/content/styles/retro/images/triangle_black.png b/src/virtualkeyboard/content/styles/retro/images/triangle_black.png
deleted file mode 100644
index a45e733b..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/triangle_black.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/images/triangle_highlight.png b/src/virtualkeyboard/content/styles/retro/images/triangle_highlight.png
deleted file mode 100644
index 34853263..00000000
--- a/src/virtualkeyboard/content/styles/retro/images/triangle_highlight.png
+++ /dev/null
Binary files differ
diff --git a/src/virtualkeyboard/content/styles/retro/style.qml b/src/virtualkeyboard/content/styles/retro/style.qml
deleted file mode 100644
index 17d2581e..00000000
--- a/src/virtualkeyboard/content/styles/retro/style.qml
+++ /dev/null
@@ -1,1079 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.0
-import QtQuick.VirtualKeyboard 2.1
-import QtQuick.VirtualKeyboard.Styles 2.1
-
-KeyboardStyle {
- id: currentStyle
- readonly property bool compactSelectionList: [InputEngine.InputMode.Pinyin, InputEngine.InputMode.Cangjie, InputEngine.InputMode.Zhuyin].indexOf(InputContext.inputEngine.inputMode) !== -1
- readonly property string fontFamily: "Courier"
- readonly property real keyBackgroundMargin: Math.round(9 * scaleHint)
- readonly property real keyContentMargin: Math.round(30 * scaleHint)
- readonly property real keyIconScale: scaleHint * 0.6
- readonly property string resourcePath: "QtQuick/VirtualKeyboard/content/styles/retro/"
- readonly property string resourcePrefix: "qrc:/" + resourcePath
-
- readonly property string inputLocale: InputContext.locale
- property color inputLocaleIndicatorColor: "#110b05"
- property Timer inputLocaleIndicatorHighlightTimer: Timer {
- interval: 1000
- onTriggered: inputLocaleIndicatorColor = "#413828"
- }
- onInputLocaleChanged: {
- inputLocaleIndicatorColor = "#110b05"
- inputLocaleIndicatorHighlightTimer.restart()
- }
-
- keyboardDesignWidth: 2560
- keyboardDesignHeight: 800
- keyboardRelativeLeftMargin: 114 / keyboardDesignWidth
- keyboardRelativeRightMargin: 114 / keyboardDesignWidth
- keyboardRelativeTopMargin: 9 / keyboardDesignHeight
- keyboardRelativeBottomMargin: 88 / keyboardDesignHeight
-
- keyboardBackground: Rectangle {
- gradient: Gradient {
- GradientStop { position: 0.0; color: "#272727" }
- GradientStop { position: 1.0; color: "black" }
- }
- }
-
- keyPanel: KeyPanel {
- id: keyPanel
- Image {
- id: keyBackground
- source: resourcePrefix + "images/key154px_colorA.png"
- fillMode: Image.PreserveAspectFit
- anchors.fill: keyPanel
- anchors.margins: keyBackgroundMargin
- states: [
- State {
- name: "key154px_colorB"
- when: ['q', 'r', 'y', 'p', 's', 'd', 'j', 'l', 'v', 'b', '\'',
- '1', '4', '6', '0', '#', '%', '+', ')', '>',
- '~', '·', '÷', '}', '€', '£', '§', ']', '«', '»'].indexOf(control.displayText.toLowerCase()) >= 0
- PropertyChanges {
- target: keyBackground
- source: resourcePrefix + "images/key154px_colorB.png"
- }
- },
- State {
- name: "key154px_black"
- when: control.displayText.length > 2
- PropertyChanges {
- target: keyBackground
- source: resourcePrefix + "images/key154px_black.png"
- }
- }
- ]
- }
- Text {
- id: keyText
- text: control.displayText
- color: "#110b05"
- anchors.fill: keyPanel
- anchors.margins: keyContentMargin
- fontSizeMode: Text.Fit
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- font {
- family: fontFamily
- weight: Font.Bold
- pixelSize: 82 * scaleHint
- capitalization: control.uppercased ? Font.AllUppercase : Font.MixedCase
- }
- states: [
- State {
- name: "fontB"
- when: control.displayText.length > 2
- PropertyChanges {
- target: keyText
- color: "#c5a96f"
- font.pixelSize: 74 * scaleHint
- font.letterSpacing: -5 * scaleHint
- }
- }
- ]
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: keyBackground
- opacity: 0.70
- }
- PropertyChanges {
- target: keyText
- opacity: 0.75
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: keyBackground
- opacity: 0.30
- }
- PropertyChanges {
- target: keyText
- opacity: 0.50
- }
- }
- ]
- }
-
- backspaceKeyPanel: KeyPanel {
- id: backspaceKeyPanel
- BorderImage {
- id: backspaceKeyBackground
- source: resourcePrefix + "images/key154px_black.png"
- width: (parent.width - 2 * keyBackgroundMargin) / scale
- height: sourceSize.height
- anchors.centerIn: backspaceKeyPanel
- border.left: 76
- border.top: 76
- border.right: 76
- border.bottom: 76
- horizontalTileMode: BorderImage.Stretch
- scale: (parent.height - 2 * keyBackgroundMargin) / sourceSize.height
- }
- Image {
- id: backspaceKeyIcon
- anchors.centerIn: backspaceKeyPanel
- sourceSize.width: 159 * keyIconScale
- sourceSize.height: 88 * keyIconScale
- smooth: false
- source: resourcePrefix + "images/backspace-c5a96f.svg"
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: backspaceKeyBackground
- opacity: 0.70
- }
- PropertyChanges {
- target: backspaceKeyIcon
- opacity: 0.70
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: backspaceKeyBackground
- opacity: 0.20
- }
- PropertyChanges {
- target: backspaceKeyIcon
- opacity: 0.20
- }
- }
- ]
- }
-
- languageKeyPanel: KeyPanel {
- id: languageKeyPanel
- Image {
- id: languageKeyBackground
- source: resourcePrefix + "images/key154px_colorB.png"
- fillMode: Image.PreserveAspectFit
- anchors.fill: languageKeyPanel
- anchors.margins: keyBackgroundMargin
- }
- Image {
- id: languageKeyIcon
- anchors.centerIn: languageKeyPanel
- sourceSize.width: 144 * keyIconScale
- sourceSize.height: 144 * keyIconScale
- smooth: false
- source: resourcePrefix + "images/globe-110b05.svg"
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: languageKeyBackground
- opacity: 0.70
- }
- PropertyChanges {
- target: languageKeyIcon
- opacity: 0.30
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: languageKeyBackground
- opacity: 0.75
- }
- PropertyChanges {
- target: languageKeyIcon
- opacity: 0.50
- }
- }
- ]
- }
-
- enterKeyPanel: KeyPanel {
- id: enterKeyPanel
- BorderImage {
- id: enterKeyBackground
- source: resourcePrefix + "images/key154px_black.png"
- width: (parent.width - 2 * keyBackgroundMargin) / scale
- height: sourceSize.height
- anchors.centerIn: enterKeyPanel
- border.left: 76
- border.top: 76
- border.right: 76
- border.bottom: 76
- horizontalTileMode: BorderImage.Stretch
- scale: (parent.height - 2 * keyBackgroundMargin) / sourceSize.height
- }
- Image {
- id: enterKeyIcon
- visible: enterKeyText.text.length === 0
- anchors.centerIn: enterKeyPanel
- readonly property size enterKeyIconSize: {
- switch (control.actionId) {
- case EnterKeyAction.Go:
- case EnterKeyAction.Send:
- case EnterKeyAction.Next:
- case EnterKeyAction.Done:
- return Qt.size(170, 119)
- case EnterKeyAction.Search:
- return Qt.size(148, 148)
- default:
- return Qt.size(211, 80)
- }
- }
- sourceSize.width: enterKeyIconSize.width * keyIconScale
- sourceSize.height: enterKeyIconSize.height * keyIconScale
- smooth: false
- source: {
- switch (control.actionId) {
- case EnterKeyAction.Go:
- case EnterKeyAction.Send:
- case EnterKeyAction.Next:
- case EnterKeyAction.Done:
- return resourcePrefix + "images/check-c5a96f.svg"
- case EnterKeyAction.Search:
- return resourcePrefix + "images/search-c5a96f.svg"
- default:
- return resourcePrefix + "images/enter-c5a96f.svg"
- }
- }
- }
- Text {
- id: enterKeyText
- visible: text.length !== 0
- text: control.actionId !== EnterKeyAction.None ? control.displayText : ""
- clip: true
- fontSizeMode: Text.HorizontalFit
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- anchors.fill: enterKeyPanel
- anchors.leftMargin: keyContentMargin
- anchors.topMargin: Math.round(50 * scaleHint)
- anchors.rightMargin: keyContentMargin
- anchors.bottomMargin: Math.round(30 * scaleHint)
- color: "#c5a96f"
- font {
- family: fontFamily
- weight: Font.Bold
- pixelSize: 74 * scaleHint
- capitalization: Font.AllUppercase
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: enterKeyBackground
- opacity: 0.70
- }
- PropertyChanges {
- target: enterKeyIcon
- opacity: 0.70
- }
- PropertyChanges {
- target: enterKeyText
- opacity: 0.70
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: enterKeyBackground
- opacity: 0.20
- }
- PropertyChanges {
- target: enterKeyIcon
- opacity: 0.20
- }
- PropertyChanges {
- target: enterKeyText
- opacity: 0.20
- }
- }
- ]
- }
-
- hideKeyPanel: KeyPanel {
- id: hideKeyPanel
- BorderImage {
- id: hideKeyBackground
- source: resourcePrefix + "images/key154px_black.png"
- width: (parent.width - 2 * keyBackgroundMargin) / scale
- height: sourceSize.height
- anchors.centerIn: hideKeyPanel
- border.left: 76
- border.top: 76
- border.right: 76
- border.bottom: 76
- horizontalTileMode: BorderImage.Stretch
- scale: (parent.height - 2 * keyBackgroundMargin) / sourceSize.height
- }
- Image {
- id: hideKeyIcon
- anchors.centerIn: hideKeyPanel
- sourceSize.width: 144 * keyIconScale
- sourceSize.height: 127 * keyIconScale
- smooth: false
- source: resourcePrefix + "images/hidekeyboard-c5a96f.svg"
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: hideKeyBackground
- opacity: 0.70
- }
- PropertyChanges {
- target: hideKeyIcon
- opacity: 0.70
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: hideKeyBackground
- opacity: 0.20
- }
- PropertyChanges {
- target: hideKeyIcon
- opacity: 0.20
- }
- }
- ]
- }
-
- shiftKeyPanel: KeyPanel {
- id: shiftKeyPanel
- BorderImage {
- id: shiftKeyBackground
- source: resourcePrefix + "images/key154px_black.png"
- width: (parent.width - 2 * keyBackgroundMargin) / scale
- height: sourceSize.height
- anchors.centerIn: shiftKeyPanel
- border.left: 76
- border.top: 76
- border.right: 76
- border.bottom: 76
- horizontalTileMode: BorderImage.Stretch
- scale: (parent.height - 2 * keyBackgroundMargin) / sourceSize.height
- states: [
- State {
- name: "capsLockActive"
- when: InputContext.capsLockActive
- PropertyChanges {
- target: shiftKeyBackground
- source: resourcePrefix + "images/key154px_capslock.png"
- }
- PropertyChanges {
- target: shiftKeyIcon
- source: resourcePrefix + "images/shift-cd8865.svg"
- }
- },
- State {
- name: "shiftActive"
- when: InputContext.shiftActive
- PropertyChanges {
- target: shiftKeyBackground
- source: resourcePrefix + "images/key154px_shiftcase.png"
- }
- PropertyChanges {
- target: shiftKeyIcon
- source: resourcePrefix + "images/shift-dc4f28.svg"
- }
- }
- ]
- }
- Image {
- id: shiftKeyIcon
- anchors.centerIn: shiftKeyPanel
- sourceSize.width: 144 * keyIconScale
- sourceSize.height: 134 * keyIconScale
- smooth: false
- source: resourcePrefix + "images/shift-c5a96f.svg"
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: shiftKeyBackground
- opacity: 0.70
- }
- PropertyChanges {
- target: shiftKeyIcon
- opacity: 0.70
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: shiftKeyBackground
- opacity: 0.20
- }
- PropertyChanges {
- target: shiftKeyIcon
- opacity: 0.20
- }
- }
- ]
- }
-
- spaceKeyPanel: KeyPanel {
- id: spaceKeyPanel
- BorderImage {
- id: spaceKeyBackground
- source: resourcePrefix + "images/key154px_colorA.png"
- width: (parent.width - 2 * keyBackgroundMargin) / scale
- height: sourceSize.height
- anchors.centerIn: spaceKeyPanel
- border.left: 76
- border.top: 76
- border.right: 76
- border.bottom: 76
- horizontalTileMode: BorderImage.Stretch
- scale: (parent.height - 2 * keyBackgroundMargin) / sourceSize.height
- }
- Text {
- id: spaceKeyText
- text: Qt.locale(InputContext.locale).nativeLanguageName
- color: currentStyle.inputLocaleIndicatorColor
- Behavior on color { PropertyAnimation { duration: 250 } }
- anchors.centerIn: spaceKeyPanel
- font {
- family: fontFamily
- weight: Font.Bold
- pixelSize: 72 * scaleHint
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: spaceKeyBackground
- opacity: 0.70
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: spaceKeyBackground
- opacity: 0.30
- }
- }
- ]
- }
-
- symbolKeyPanel: KeyPanel {
- id: symbolKeyPanel
- BorderImage {
- id: symbolKeyBackground
- source: resourcePrefix + "images/key154px_black.png"
- width: (parent.width - 2 * keyBackgroundMargin) / scale
- height: sourceSize.height
- anchors.centerIn: symbolKeyPanel
- border.left: 76
- border.top: 76
- border.right: 76
- border.bottom: 76
- horizontalTileMode: BorderImage.Stretch
- scale: (parent.height - 2 * keyBackgroundMargin) / sourceSize.height
- }
- Text {
- id: symbolKeyText
- text: control.displayText
- color: "#c5a96f"
- anchors.centerIn: symbolKeyPanel
- font {
- family: fontFamily
- weight: Font.DemiBold
- pixelSize: 74 * scaleHint
- letterSpacing: -5 * scaleHint
- capitalization: Font.AllUppercase
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: symbolKeyBackground
- opacity: 0.70
- }
- PropertyChanges {
- target: symbolKeyText
- opacity: 0.70
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: symbolKeyBackground
- opacity: 0.20
- }
- PropertyChanges {
- target: symbolKeyText
- opacity: 0.20
- }
- }
- ]
- }
-
- modeKeyPanel: KeyPanel {
- id: modeKeyPanel
- BorderImage {
- id: modeKeyBackground
- source: resourcePrefix + "images/key154px_black.png"
- width: (parent.width - 2 * keyBackgroundMargin) / scale
- height: sourceSize.height
- anchors.centerIn: modeKeyPanel
- border.left: 76
- border.top: 76
- border.right: 76
- border.bottom: 76
- horizontalTileMode: BorderImage.Stretch
- scale: (parent.height - 2 * keyBackgroundMargin) / sourceSize.height
- states: [
- State {
- name: "mode"
- when: control.mode
- PropertyChanges {
- target: modeKeyBackground
- source: resourcePrefix + "images/key154px_capslock.png"
- }
- }
- ]
- }
- Text {
- id: modeKeyText
- text: control.displayText
- color: "#c5a96f"
- anchors.fill: modeKeyPanel
- anchors.margins: keyContentMargin
- fontSizeMode: Text.Fit
- horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
- font {
- family: fontFamily
- weight: Font.DemiBold
- pixelSize: 74 * scaleHint
- letterSpacing: -5 * scaleHint
- capitalization: Font.AllUppercase
- }
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: modeKeyBackground
- opacity: 0.70
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: modeKeyBackground
- opacity: 0.20
- }
- }
- ]
- }
-
- handwritingKeyPanel: KeyPanel {
- id: handwritingKeyPanel
- BorderImage {
- id: hwrKeyBackground
- source: resourcePrefix + "images/key154px_colorB.png"
- width: (parent.width - 2 * hwrKeyBackground) / scale
- height: sourceSize.height
- anchors.centerIn: handwritingKeyPanel
- border.left: 76
- border.top: 76
- border.right: 76
- border.bottom: 76
- horizontalTileMode: BorderImage.Stretch
- scale: (parent.height - 2 * keyBackgroundMargin) / sourceSize.height
- }
- Image {
- id: hwrKeyIcon
- anchors.centerIn: handwritingKeyPanel
- readonly property size hwrKeyIconSize: keyboard.handwritingMode ? Qt.size(124, 96) : Qt.size(156, 104)
- sourceSize.width: hwrKeyIconSize.width * keyIconScale
- sourceSize.height: hwrKeyIconSize.height * keyIconScale
- smooth: false
- source: resourcePrefix + (keyboard.handwritingMode ? "images/textmode-110b05.svg" : "images/handwriting-110b05.svg")
- }
- states: [
- State {
- name: "pressed"
- when: control.pressed
- PropertyChanges {
- target: hwrKeyBackground
- opacity: 0.70
- }
- PropertyChanges {
- target: hwrKeyIcon
- opacity: 0.70
- }
- },
- State {
- name: "disabled"
- when: !control.enabled
- PropertyChanges {
- target: hwrKeyBackground
- opacity: 0.20
- }
- PropertyChanges {
- target: hwrKeyIcon
- opacity: 0.20
- }
- }
- ]
- }
-
- characterPreviewMargin: Math.round(20 * scaleHint)
- characterPreviewDelegate: Item {
- property string text
- id: characterPreview
- Image {
- id: characterPreviewBackground
- source: resourcePrefix + "images/key_preview.png"
- fillMode: Image.PreserveAspectFit
- anchors.fill: parent
- }
- Text {
- id: characterPreviewText
- color: "#c5a96f"
- text: characterPreview.text
- anchors.centerIn: characterPreviewBackground
- font {
- family: fontFamily
- weight: Font.Bold
- pixelSize: 85 * scaleHint
- }
- states: [
- State {
- name: "fit"
- when: text.length > 1
- PropertyChanges {
- target: characterPreviewText
- font.letterSpacing: -5 * scaleHint
- }
- }
- ]
- }
- }
-
- alternateKeysListItemWidth: Math.round(111 * scaleHint)
- alternateKeysListItemHeight: Math.round(154 * scaleHint)
- alternateKeysListBottomMargin: Math.round(15 * scaleHint)
- alternateKeysListLeftMargin: Math.round(79 * scaleHint)
- alternateKeysListRightMargin: Math.round(79 * scaleHint)
- alternateKeysListDelegate: Item {
- id: alternateKeysListItem
- width: alternateKeysListItemWidth
- height: alternateKeysListItemHeight
- Text {
- id: listItemText
- text: model.text
- color: "#868482"
- font {
- family: fontFamily
- weight: Font.DemiBold
- pixelSize: 52 * scaleHint
- letterSpacing: -6 * scaleHint
- }
- anchors.centerIn: parent
- }
- states: State {
- name: "current"
- when: alternateKeysListItem.ListView.isCurrentItem
- PropertyChanges {
- target: listItemText
- color: "white"
- }
- }
- }
- alternateKeysListHighlight: Item {
- Rectangle {
- anchors.fill: parent
- anchors.topMargin: Math.round(8 * scaleHint)
- anchors.bottomMargin: Math.round(8 * scaleHint)
- gradient: Gradient {
- GradientStop { position: 0.0; color: "#64462a" }
- GradientStop { position: 0.18; color: "#a37648" }
- GradientStop { position: 0.5; color: "#c4a47c" }
- GradientStop { position: 0.82; color: "#a37648" }
- GradientStop { position: 1.0; color: "#64462a" }
- }
- }
- }
- alternateKeysListBackground: Item {
- property real currentItemOffset
- property bool currentItemHighlight: false
- BorderImage {
- cache: false
- source: resourcePrefix + "images/key160px_black.png"
- width: sourceSize.width + parent.width / scale
- height: sourceSize.height
- anchors.centerIn: parent
- border.left: 79
- border.top: 79
- border.right: 79
- border.bottom: 79
- horizontalTileMode: BorderImage.Stretch
- scale: parent.height / sourceSize.height
- }
- Image {
- visible: currentItemOffset !== undefined
- source: currentItemHighlight ? resourcePrefix + "images/triangle_highlight.png" : resourcePrefix + "images/triangle_black.png"
- fillMode: Image.PreserveAspectFit
- width: sourceSize.width * scaleHint
- height: sourceSize.height * scaleHint
- anchors.top: parent.bottom
- anchors.topMargin: Math.round(-8 * scaleHint)
- anchors.left: parent.left
- anchors.leftMargin: Math.round(currentItemOffset - width / 2)
- }
- }
-
- selectionListHeight: 85 * scaleHint
- selectionListDelegate: SelectionListItem {
- id: selectionListItem
- width: Math.round(selectionListLabel.width + selectionListLabel.anchors.leftMargin * 2)
- Text {
- id: selectionListLabel
- anchors.left: parent.left
- anchors.leftMargin: Math.round((compactSelectionList ? 50 : 140) * scaleHint)
- anchors.verticalCenter: parent.verticalCenter
- text: decorateText(display, wordCompletionLength)
- color: "white"
- font {
- family: fontFamily
- weight: Font.Bold
- pixelSize: 44 * scaleHint
- }
- function decorateText(text, wordCompletionLength) {
- if (wordCompletionLength > 0) {
- return text.slice(0, -wordCompletionLength) + '<u>' + text.slice(-wordCompletionLength) + '</u>'
- }
- return text
- }
- }
- Rectangle {
- id: selectionListSeparator
- width: 4 * scaleHint
- height: 36 * scaleHint
- color: "#35322f"
- anchors.verticalCenter: parent.verticalCenter
- anchors.right: parent.left
- }
- states: State {
- name: "current"
- when: selectionListItem.ListView.isCurrentItem
- PropertyChanges {
- target: selectionListLabel
- color: "#c5a96f"
- }
- }
- }
- selectionListBackground: Rectangle {
- color: "#222222"
- }
- selectionListAdd: Transition {
- NumberAnimation { property: "y"; from: wordCandidateView.height; duration: 200 }
- NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 200 }
- }
- selectionListRemove: Transition {
- NumberAnimation { property: "y"; to: -wordCandidateView.height; duration: 200 }
- NumberAnimation { property: "opacity"; to: 0; duration: 200 }
- }
-
- navigationHighlight: Rectangle {
- color: "transparent"
- border.color: "yellow"
- border.width: 5
- }
-
- traceInputKeyPanelDelegate: TraceInputKeyPanel {
- traceMargins: keyBackgroundMargin
- BorderImage {
- id: traceInputKeyPanelBackground
- readonly property int traceInputKeyPanelSvgImageHeight: Math.round(height / 12)
- readonly property real traceInputKeyPanelSvgImageScale: traceInputKeyPanelSvgImageHeight / 154
- source: "image://qtvkbsvg/%1/images/key154px_colorA.svg?height=%2".arg(resourcePath).arg(traceInputKeyPanelSvgImageHeight)
- anchors.fill: parent
- anchors.margins: keyBackgroundMargin
- border.left: 76 * traceInputKeyPanelSvgImageScale
- border.top: 76 * traceInputKeyPanelSvgImageScale
- border.right: 78 * traceInputKeyPanelSvgImageScale
- border.bottom: 78 * traceInputKeyPanelSvgImageScale
- horizontalTileMode: BorderImage.Stretch
- verticalTileMode: BorderImage.Stretch
- }
- Text {
- id: hwrInputModeIndicator
- visible: control.patternRecognitionMode === InputEngine.PatternRecognitionMode.Handwriting
- text: {
- switch (InputContext.inputEngine.inputMode) {
- case InputEngine.InputMode.Numeric:
- if (["ar", "fa"].indexOf(InputContext.locale.substring(0, 2)) !== -1)
- return "\u0660\u0661\u0662"
- // Fallthrough
- case InputEngine.InputMode.Dialable:
- return "123"
- case InputEngine.InputMode.Greek:
- return "ΑΒΓ"
- case InputEngine.InputMode.Cyrillic:
- return "АБВ"
- case InputEngine.InputMode.Arabic:
- if (InputContext.locale.substring(0, 2) === "fa")
- return "\u0627\u200C\u0628\u200C\u067E"
- return "\u0623\u200C\u0628\u200C\u062C"
- case InputEngine.InputMode.Hebrew:
- return "\u05D0\u05D1\u05D2"
- case InputEngine.InputMode.ChineseHandwriting:
- return "中文"
- case InputEngine.InputMode.JapaneseHandwriting:
- return "日本語"
- case InputEngine.InputMode.KoreanHandwriting:
- return "한국어"
- case InputEngine.InputMode.Thai:
- return "กขค"
- default:
- return "Abc"
- }
- }
- color: "black"
- anchors.left: parent.left
- anchors.top: parent.top
- anchors.margins: keyContentMargin * 1.5
- font {
- family: fontFamily
- weight: Font.Bold
- pixelSize: 72 * scaleHint
- capitalization: {
- if (InputContext.capsLockActive)
- return Font.AllUppercase
- if (InputContext.shiftActive)
- return Font.MixedCase
- return Font.AllLowercase
- }
- }
- }
- Canvas {
- id: traceInputKeyGuideLines
- anchors.fill: traceInputKeyPanelBackground
- opacity: 0.4
- onPaint: {
- var ctx = getContext("2d")
- ctx.lineWidth = 1
- ctx.strokeStyle = Qt.rgba(0, 0, 0)
- ctx.clearRect(0, 0, width, height)
- var i
- var margin = Math.round(30 * scaleHint)
- if (control.horizontalRulers) {
- for (i = 0; i < control.horizontalRulers.length; i++) {
- ctx.beginPath()
- var y = Math.round(control.horizontalRulers[i])
- var rightMargin = Math.round(width - margin)
- if (i + 1 === control.horizontalRulers.length) {
- ctx.moveTo(margin, y)
- ctx.lineTo(rightMargin, y)
- } else {
- var dashLen = Math.round(20 * scaleHint)
- for (var dash = margin, dashCount = 0;
- dash < rightMargin; dash += dashLen, dashCount++) {
- if ((dashCount & 1) === 0) {
- ctx.moveTo(dash, y)
- ctx.lineTo(Math.min(dash + dashLen, rightMargin), y)
- }
- }
- }
- ctx.stroke()
- }
- }
- if (control.verticalRulers) {
- for (i = 0; i < control.verticalRulers.length; i++) {
- ctx.beginPath()
- ctx.moveTo(control.verticalRulers[i], 0)
- ctx.lineTo(control.verticalRulers[i], height)
- ctx.stroke()
- }
- }
- }
- Connections {
- target: control
- onHorizontalRulersChanged: traceInputKeyGuideLines.requestPaint()
- onVerticalRulersChanged: traceInputKeyGuideLines.requestPaint()
- }
- }
- }
-
- traceCanvasDelegate: TraceCanvas {
- id: traceCanvas
- onAvailableChanged: {
- if (!available)
- return
- var ctx = getContext("2d")
- ctx.lineWidth = parent.canvasType === "fullscreen" ? 10 : 10 * scaleHint
- ctx.lineCap = "round"
- ctx.strokeStyle = Qt.rgba(0, 0, 0)
- ctx.fillStyle = ctx.strokeStyle
- }
- autoDestroyDelay: 800
- onTraceChanged: if (trace === null) opacity = 0
- Behavior on opacity { PropertyAnimation { easing.type: Easing.OutCubic; duration: 150 } }
- }
-
- popupListDelegate: SelectionListItem {
- property real cursorAnchor: popupListLabel.x + popupListLabel.width
- id: popupListItem
- width: popupListLabel.width + popupListLabel.anchors.leftMargin * 2
- height: popupListLabel.height + popupListLabel.anchors.topMargin * 2
- Text {
- id: popupListLabel
- anchors.left: parent.left
- anchors.top: parent.top
- anchors.leftMargin: popupListLabel.height / 2
- anchors.topMargin: popupListLabel.height / 3
- text: decorateText(display, wordCompletionLength)
- color: "#5CAA15"
- font {
- family: "Sans"
- weight: Font.Normal
- pixelSize: Qt.inputMethod.cursorRectangle.height * 0.8
- }
- function decorateText(text, wordCompletionLength) {
- if (wordCompletionLength > 0) {
- return text.slice(0, -wordCompletionLength) + '<u>' + text.slice(-wordCompletionLength) + '</u>'
- }
- return text
- }
- }
- states: State {
- name: "current"
- when: popupListItem.ListView.isCurrentItem
- PropertyChanges {
- target: popupListLabel
- color: "black"
- }
- }
- }
-
- popupListBackground: Item {
- Rectangle {
- width: parent.width
- height: parent.height
- color: "white"
- border {
- width: 1
- color: "#929495"
- }
- }
- }
-
- popupListAdd: Transition {
- NumberAnimation { property: "opacity"; from: 0; to: 1.0; duration: 200 }
- }
-
- popupListRemove: Transition {
- NumberAnimation { property: "opacity"; to: 0; duration: 200 }
- }
-
- selectionHandle: Image {
- sourceSize.width: 20
- source: resourcePrefix + "images/selectionhandle-bottom.svg"
- }
-
- fullScreenInputContainerBackground: Rectangle {
- color: "#FFF"
- }
-
- fullScreenInputBackground: Rectangle {
- color: "#FFF"
- }
-
- fullScreenInputMargins: Math.round(15 * scaleHint)
-
- fullScreenInputPadding: Math.round(30 * scaleHint)
-
- fullScreenInputCursor: Rectangle {
- width: 1
- color: "#000"
- visible: parent.blinkStatus
- }
-
- fullScreenInputFont.pixelSize: 58 * scaleHint
-
- fullScreenInputPasswordCharacter: "*"
-
- fullScreenInputSelectionColor: "#B57C47"
-}
diff --git a/src/virtualkeyboard/content/styles/retro/virtualkeyboard_retro_style.qrc b/src/virtualkeyboard/content/styles/retro/virtualkeyboard_retro_style.qrc
deleted file mode 100644
index 881755ef..00000000
--- a/src/virtualkeyboard/content/styles/retro/virtualkeyboard_retro_style.qrc
+++ /dev/null
@@ -1,37 +0,0 @@
-<RCC>
- <qresource prefix="/QtQuick/VirtualKeyboard/content/styles/retro">
- <file>style.qml</file>
- <file>images/key154px_black.png</file>
- <file>images/key154px_black_long.png</file>
- <file>images/key154px_capslock_long.png</file>
- <file>images/key154px_capslock.png</file>
- <file>images/key154px_colorA_long.png</file>
- <file>images/key154px_colorA.png</file>
- <file>images/key154px_colorA.svg</file>
- <file>images/key154px_colorB.png</file>
- <file>images/key154px_shiftcase_long.png</file>
- <file>images/key154px_shiftcase.png</file>
- <file>images/key156px_black_long.png</file>
- <file>images/key156px_black_medium_long.png</file>
- <file>images/key156px_colorA.png</file>
- <file>images/key156px_colorB.png</file>
- <file>images/key160px_black.png</file>
- <file>images/key160px_colorA.png</file>
- <file>images/key160px_colorB.png</file>
- <file>images/key_preview.png</file>
- <file>images/triangle_black.png</file>
- <file>images/triangle_highlight.png</file>
- <file>images/backspace-c5a96f.svg</file>
- <file>images/check-c5a96f.svg</file>
- <file>images/enter-c5a96f.svg</file>
- <file>images/globe-110b05.svg</file>
- <file>images/handwriting-110b05.svg</file>
- <file>images/hidekeyboard-c5a96f.svg</file>
- <file>images/search-c5a96f.svg</file>
- <file>images/shift-c5a96f.svg</file>
- <file>images/shift-cd8865.svg</file>
- <file>images/shift-dc4f28.svg</file>
- <file>images/textmode-110b05.svg</file>
- <file>images/selectionhandle-bottom.svg</file>
- </qresource>
-</RCC>
diff --git a/src/virtualkeyboard/content/virtualkeyboard_content.qrc b/src/virtualkeyboard/content/virtualkeyboard_content.qrc
deleted file mode 100644
index 1e6392f4..00000000
--- a/src/virtualkeyboard/content/virtualkeyboard_content.qrc
+++ /dev/null
@@ -1,35 +0,0 @@
-<RCC>
- <qresource prefix="/QtQuick/VirtualKeyboard/content">
- <file>InputPanel.qml</file>
- <file>HandwritingInputPanel.qml</file>
- <file>components/AlternativeKeys.qml</file>
- <file>components/BackspaceKey.qml</file>
- <file>components/BaseKey.qml</file>
- <file>components/ChangeLanguageKey.qml</file>
- <file>components/CharacterPreviewBubble.qml</file>
- <file>components/EnterKey.qml</file>
- <file>components/FillerKey.qml</file>
- <file>components/HideKeyboardKey.qml</file>
- <file>components/Key.qml</file>
- <file>components/Keyboard.qml</file>
- <file>components/KeyboardColumn.qml</file>
- <file>components/KeyboardLayout.qml</file>
- <file>components/KeyboardLayoutLoader.qml</file>
- <file>components/KeyboardRow.qml</file>
- <file>components/ModeKey.qml</file>
- <file>components/MultiSoundEffect.qml</file>
- <file>components/MultitapInputMethod.qml</file>
- <file>components/NumberKey.qml</file>
- <file>components/ShiftKey.qml</file>
- <file>components/SpaceKey.qml</file>
- <file>components/SymbolModeKey.qml</file>
- <file>components/TraceInputKey.qml</file>
- <file>components/TraceInputArea.qml</file>
- <file>components/HandwritingModeKey.qml</file>
- <file>components/WordCandidatePopupList.qml</file>
- <file>components/PopupList.qml</file>
- <file>components/SelectionControl.qml</file>
- <file>components/ShadowInputControl.qml</file>
- <file>components/InputModeKey.qml</file>
- </qresource>
-</RCC>