summaryrefslogtreecommitdiffstats
path: root/app/Settings.qml
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-12-12 23:02:37 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-12-13 00:35:37 -0800
commit9990ec3dfdbd159b2077a33aa62dd52f53f174b2 (patch)
tree5e815ff27df6d91a5300ca3d6e2e9ae468463f29 /app/Settings.qml
parent6f39d006ffbda744c7e5253332f60e40e3685629 (diff)
settings: switch keyboard to qtvirtualkeyboardplugin
Use qtvirtualkeyboardplugin for keyboard input since it supports internationalization and uses vector graphics which allows screen scaling. Bug-AGL: SPEC-1185 Change-Id: Ifddefe9b9884d1087683befc011b7172f5c2305f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/Settings.qml')
-rw-r--r--app/Settings.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/Settings.qml b/app/Settings.qml
index 56767f3..5862bd8 100644
--- a/app/Settings.qml
+++ b/app/Settings.qml
@@ -17,6 +17,7 @@
import QtQuick 2.6
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
+import QtQuick.VirtualKeyboard 2.1
import 'datetime'
import 'bluetooth'
@@ -32,6 +33,15 @@ ApplicationWindow {
stack.pop(settings)
}
+ InputPanel {
+ id: inputPanel
+ z: 1
+ visible: Qt.inputMethod.visible
+ y: Qt.inputMethod.visible ? parent.height - inputPanel.height : parent.height
+ anchors.left: parent.left
+ anchors.right: parent.right
+ }
+
StackView {
id: stack
anchors.fill: parent