Obsolete Members for InputContext

The following members of QML type InputContext are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Property Documentation

anchorPosition : int

This property is changed when the anchor position changes.

This property was introduced in QtQuick.VirtualKeyboard 2.2.


[read-only] anchorRectIntersectsClipRect : bool

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

See also 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 is changed when the caps lock status changes.

This property was introduced in QtQuick.VirtualKeyboard 2.4.


cursorPosition : int

This property is changed when the cursor position changes.


[read-only] cursorRectIntersectsClipRect : bool

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

See also 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

Holds 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

This property is true when either shiftActive or capsLockActive is true.

This property was introduced in QtQuick.VirtualKeyboard 2.2.


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