aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/BackspaceKey.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/BackspaceKey.qml')
-rw-r--r--src/components/BackspaceKey.qml28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/components/BackspaceKey.qml b/src/components/BackspaceKey.qml
new file mode 100644
index 00000000..cb018be0
--- /dev/null
+++ b/src/components/BackspaceKey.qml
@@ -0,0 +1,28 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+import QtQuick
+import QtQuick.VirtualKeyboard
+
+/*!
+ \qmltype BackspaceKey
+ \inqmlmodule QtQuick.VirtualKeyboard.Components
+ \ingroup qmlclass
+ \ingroup qtvirtualkeyboard-components-qml
+ \ingroup qtvirtualkeyboard-key-types
+ \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
+ keyType: QtVirtualKeyboard.KeyType.BackspaceKey
+ repeat: true
+ functionKey: true
+ highlighted: true
+ keyPanelDelegate: keyboard.style ? keyboard.style.backspaceKeyPanel : undefined
+}