このページでは

ChangeLanguageKey QML Type

キーボードレイアウトの言語キーを変更します。詳細...

Import Statement: import QtQuick.VirtualKeyboard.Components
Inherits:

BaseKey

プロパティ

詳細説明

このキーは、サポートされている言語のリストから現在の入力言語を変更します。このキーには2つの機能モードがあります:

  • ポップアップモード
  • トグルモード

ポップアップモードは、KeyboardStyle::languagePopupListEnabled プロパティによって有効化されます。有効化されている場合、キーを押すと利用可能な言語の一覧が表示されるポップアップリストが開きます。有効化されていない場合は、利用可能な次の入力言語に切り替わります。

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

customLayoutsOnly : bool

このプロパティが true の場合、入力言語の変更は、カスタムレイアウトを提供する言語間でのみ行われます。

たとえば、英語とアラビア語のみが数字のレイアウトを提供している場合、共有のデフォルトレイアウトを使用している他のロケールは無視されます。

デフォルトは 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.