ChangeLanguageKey QML Type
更改键盘布局的语言键。更多...
| Import Statement: | import QtQuick.VirtualKeyboard.Components |
| Inherits: |
属性
- customLayoutsOnly : bool
详细说明
此键可在支持的语言列表中切换当前输入语言。该键具有两种功能模式:
- 弹出模式
- 切换模式
通过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.