このページでは

ModeKey QML Type

キーボードレイアウト用の汎用モードキー。詳細...

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

Key

プロパティ

詳細な説明

このキーは、汎用モードボタンの機能を提供します。

キーを押すと、入力方式の処理のためのキーイベントを発行することなく、現在のモードを切り替えます。

ModeKey は、特定のモードを「ON / OFF」に切り替える場合や、モードの変更にキーボードレイアウトの変更を必要としない状況で使用できます。このコンポーネントを使用する場合、キーボードスタイルがステータスを視覚的に示すため、モードに関係なく displayText は同じままにする必要があります。

プロパティのドキュメント

mode : bool

このプロパティは現在のモードを指定します。

デフォルト値は false です。

© 2026 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.