ChangeLanguageKey QML Type
更改键盘布局的语言键。更多
Import Statement: | import QtQuick.VirtualKeyboard.Components |
Inherits: |
属性
- customLayoutsOnly : bool
详细说明
该键可更改支持语言列表中的当前输入语言。该键有两种功能模式:
- 弹出模式
- 切换模式
弹出模式由KeyboardStyle::languagePopupListEnabled 属性启用。如果启用,按键将弹出可用语言列表。否则,它将循环到下一个可用的输入语言。
属性文档
customLayoutsOnly : bool |
如果该属性为 true,输入语言只会在提供自定义布局的语言之间改变。
例如,如果只有英语和阿拉伯语提供数字布局,那么其他使用共享默认布局的本地语言将被忽略。
默认值为 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.