summaryrefslogtreecommitdiffstats
path: root/tests/manual/qt-shell/qml/Keyboard.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qt-shell/qml/Keyboard.qml')
-rw-r--r--tests/manual/qt-shell/qml/Keyboard.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/qt-shell/qml/Keyboard.qml b/tests/manual/qt-shell/qml/Keyboard.qml
new file mode 100644
index 000000000..a6e1bec30
--- /dev/null
+++ b/tests/manual/qt-shell/qml/Keyboard.qml
@@ -0,0 +1,12 @@
+// Copyright (C) 2021 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+import QtQuick
+import QtQuick.VirtualKeyboard
+
+InputPanel {
+ visible: active
+ y: active ? parent.height - height : parent.height
+ anchors.left: parent.left
+ anchors.right: parent.right
+}