W3cubDocs

/Qt 5.11

ModeKey QML Type

Generic mode key for keyboard layouts. More...

Import Statement: import QtQuick.VirtualKeyboard 2.3
Since: QtQuick.VirtualKeyboard 2.0
Inherits:

Key

Properties

Detailed Description

This key provides generic mode button functionality.

A key press toggles the current mode without emitting key event for input method processing.

ModeKey can be used in situations where a particular mode is switched "ON / OFF", and where the mode change does not require changing the keyboard layout. When this component is used, the displayText should remain the same regardless of the mode, because the keyboard style visualizes the status.

Property Documentation

mode : bool

This property provides the current mode.

The default is false.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qml-qtquick-virtualkeyboard-modekey.html