Obsolete Members for InputContext

The following members of QML type InputContext 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

特性

特性文档编制

anchorPosition : int

此特性被改变,当锚点位置改变时。

This property was introduced in QtQuick.VirtualKeyboard 2.2.

[read-only] anchorRectIntersectsClipRect : bool

保持 true if the bounding rectangle of the selection anchor intersects the exposed input item rectangle.

另请参阅 Qt::ImAnchorRectangle and Qt::ImInputItemClipRectangle .

anchorRectangle : rect

This property is changed when the anchor rectangle changes.

This property was introduced in QtQuick.VirtualKeyboard 2.1.

animating : bool

Use this property to set the animating status, for example during UI transitioning states.

capsLockActive : bool

此特性被改变,当大写锁定状态改变时。

This property was introduced in QtQuick.VirtualKeyboard 2.4.

cursorPosition : int

此特性被改变,当光标位置改变时。

[read-only] cursorRectIntersectsClipRect : bool

保持 true if the bounding rectangle of the input cursor intersects the exposed input item rectangle.

另请参阅 Qt::ImCursorRectangle and Qt::ImInputItemClipRectangle .

cursorRectangle : rect

This property is changed when the cursor rectangle changes.

inputEngine : InputEngine

This property stores the input engine.

inputMethodHints : int

This property is changed when the input method hints changes.

locale : string

This property is changed when the input locale changes.

preeditText : string

This property sets the pre-edit text.

selectedText : string

This property is changed when the selected text changes.

[read-only] selectionControlVisible : bool

保持 true if the selection control is currently visible.

shiftActive : bool

This property is changed when the shift status changes.

This property was introduced in QtQuick.VirtualKeyboard 2.4.

surroundingText : string

This property is changed when the surrounding text around the cursor changes.

uppercase : bool

此特性是 true shiftActive or capsLockActive is true .

This property was introduced in QtQuick.VirtualKeyboard 2.2.