ModeKey QML Type

用于键盘布局的通用模式键。更多

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

Key

属性

详细说明

此键提供通用模式按钮功能。

按下此键可切换当前模式,而无需发出用于处理输入法的按键事件。

ModeKey 可用于特定模式 "开/关 "切换的情况,且模式切换无需更改键盘布局。使用该组件时,无论模式如何, displayText 都应保持不变,因为键盘样式将状态可视化。

属性文档

mode : bool

该属性提供当前模式。

默认为 false。


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.