blob: 9a8a15372d8f2ee3e6f330b24b5a75959340ddb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
import QtQuick.VirtualKeyboard
/*!
\qmltype HideKeyboardKey
\inqmlmodule QtQuick.VirtualKeyboard.Components
\ingroup qmlclass
\ingroup qtvirtualkeyboard-components-qml
\ingroup qtvirtualkeyboard-key-types
\inherits BaseKey
\brief Hide keyboard key for keyboard layouts.
This key hides the keyboard from the user when pressed.
*/
BaseKey {
keyType: QtVirtualKeyboard.HideKeyboardKey
functionKey: true
highlighted: true
onClicked: keyboard.doKeyboardFunction(QtVirtualKeyboard.HideInputPanel)
keyPanelDelegate: keyboard.style ? keyboard.style.hideKeyPanel : undefined
}
|