ShiftHandler QML Type

管理移位状态。更多

Import Statement: import QtQuick.VirtualKeyboard

属性

方法

详细说明

属性文档

autoCapitalizationEnabled : bool [read-only]

该属性提供自动大写功能的当前状态。


sentenceEndingCharacters : string

该属性指定了将导致转换状态改变的句尾字符。

默认情况下,该属性初始化为 ASCII 范围内的句尾字符(即".!?")。


toggleShiftEnabled : bool [read-only]

该属性提供了toggleShift() 方法的当前状态。为真时,可以通过调用toggleShift() 方法改变当前的移位状态。


方法文档

void toggleShift()

切换当前移位状态。

该方法提供移位键的功能。

另请参阅 toggleShiftEnabled


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