diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-07-18 10:06:43 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@digia.com> | 2014-07-18 10:18:48 +0200 |
commit | 62babdaa5810c575215565dcc9086e869d272517 (patch) | |
tree | 87f04fc21dd1f244890b4667a6fe3edf3db9c1bb /src/controls/ComboBox.qml | |
parent | a118f68ba8600e5c5b472e3bac6a0e320ed4fdb4 (diff) | |
download | qtquickcontrols-62babdaa5810c575215565dcc9086e869d272517.tar.gz |
Add ComboBox::inputMethodComposing
Change-Id: I3701a28721252bc3cca46a223bb665faf38002f7
Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'src/controls/ComboBox.qml')
-rw-r--r-- | src/controls/ComboBox.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/controls/ComboBox.qml b/src/controls/ComboBox.qml index 7da3c522..51694e73 100644 --- a/src/controls/ComboBox.qml +++ b/src/controls/ComboBox.qml @@ -238,6 +238,18 @@ Control { readonly property alias acceptableInput: input.acceptableInput /*! + \qmlproperty bool ComboBox::inputMethodComposing + \since QtQuick.Controls 1.3 + + This property holds whether an editable ComboBox has partial text input from an input method. + + While it is composing an input method may rely on mouse or key events from the ComboBox + 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: !!input.inputMethodComposing + + /*! \qmlsignal ComboBox::accepted() \since QtQuick.Controls 1.1 |