diff options
Diffstat (limited to 'src/layouts/sr_SP/handwriting.qml')
-rw-r--r-- | src/layouts/sr_SP/handwriting.qml | 79 |
1 files changed, 39 insertions, 40 deletions
diff --git a/src/layouts/sr_SP/handwriting.qml b/src/layouts/sr_SP/handwriting.qml index 0c4f5847..3a75a2ce 100644 --- a/src/layouts/sr_SP/handwriting.qml +++ b/src/layouts/sr_SP/handwriting.qml @@ -13,46 +13,45 @@ KeyboardLayout { sharedLayouts: ['symbols'] KeyboardRow { - Layout.preferredHeight: 3 - 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] - } - } - KeyboardRow { - id: bottomRow - Layout.preferredHeight: 1 - keyWeight: 160 - ShiftKey { - weight: 240 - } - InputModeKey { - } - Key { - key: Qt.Key_Comma - text: "," - smallText: "\u2699" - smallTextVisible: true - highlighted: true - } - SpaceKey { - weight: 10 * 160 - 4 * 160 - 2 * 240 - } - Key { - key: Qt.Key_Period - text: "." - alternativeKeys: "<>()/\\\"'=+-_:;.?!" - smallText: "!?" - smallTextVisible: true - highlighted: true - } - BackspaceKey { - } - EnterKey { - weight: 240 + KeyboardColumn { + Layout.preferredWidth: 1 + InputModeKey { + } + ChangeLanguageKey { + visible: true + } + ShiftKey { + } + HandwritingModeKey { + } + } + KeyboardColumn { + Layout.preferredWidth: 8 + 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: 1 + Key { + key: Qt.Key_Period + text: "." + alternativeKeys: "<>()/\\\"'=+-_:;,.?! " + smallText: "!?" + smallTextVisible: true + highlighted: true + } + HideKeyboardKey { + visible: true + } + BackspaceKey { + } + EnterKey { + } } } } |