ShiftHandler QML Type (Uncreatable)
管理换档状态。更多...
| Import Statement: | import QtQuick.VirtualKeyboard |
注意:这是一个不可创建的类型。无法在 QML 中实例化。
属性
- autoCapitalizationEnabled : bool
- sentenceEndingCharacters : string
- toggleShiftEnabled : bool
方法
- void toggleShift()
详细说明
物业文件
autoCapitalizationEnabled : bool [read-only]
该属性返回自动大写功能的当前状态。
sentenceEndingCharacters : string
此属性指定会触发换行状态变化的句子结束字符。
默认情况下,该属性初始化为 ASCII 字符集中的句子结束字符(即 ".!?")。
toggleShiftEnabled : bool [read-only]
该属性提供toggleShift()方法的当前状态。当值为true时,可通过调用toggleShift()方法更改当前换班状态。
方法文档
void toggleShift()
切换当前的 Shift 状态。
此方法提供了 Shift 键的功能。
另请参阅 toggleShiftEnabled 。
© 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.