ShiftHandler QML 類型

管理 Shift 狀態。 更多...

import 語句: import QtQuick.VirtualKeyboard 2.2

特性

方法

詳細描述

特性文檔編製

autoCapitalizationEnabled : bool

This property provides the current state of the automatic capitalization feature.

This QML property was introduced in Qt 1.2.

sentenceEndingCharacters : string

This property specifies the sentence ending characters which will cause shift state change.

By default, the property is initialized to sentence ending characters found in the ASCII range (i.e. ".!?").

toggleShiftEnabled : bool

This property provides the current state of the toggleShift() method. When true, the current shift state can be changed by calling the toggleShift() 方法。

This QML property was introduced in Qt 1.2.


方法文檔編製

void toggleShift ()

Toggles the current shift state.

This method provides the functionality of the shift key.

This QML method was introduced in Qt 1.2.

另請參閱 toggleShiftEnabled .