diff options
Diffstat (limited to 'src/controls/TextField.qml')
| -rw-r--r-- | src/controls/TextField.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml index 1a8a3503d..f25b8195d 100644 --- a/src/controls/TextField.qml +++ b/src/controls/TextField.qml @@ -236,6 +236,18 @@ Control { property alias inputMask: textInput.inputMask /*! + \qmlproperty bool TextField::inputMethodComposing + \since QtQuick.Controls 1.3 + + This property holds whether the TextField has partial text input from an input method. + + While it is composing an input method may rely on mouse or key events from the TextField + to edit or commit the partial text. This property can be used to determine when to disable + events handlers that may interfere with the correct operation of an input method. + */ + readonly property bool inputMethodComposing: !!textInput.inputMethodComposing + + /*! \qmlproperty enumeration TextField::inputMethodHints Provides hints to the input method about the expected content of the |
