diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-11-29 14:27:47 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-11-29 15:19:32 +0000 |
commit | 0b189ba2eac70185f052840267572f52380e8f22 (patch) | |
tree | 89a21263e9d49e36c3f7a399823341db18751f33 /src/imports/controls/SpinBox.qml | |
parent | b216ab66d82cd183028bffaa018566dd6d29b275 (diff) |
SpinBox: add inputMethodHints and inputMethodComposing
Needed for controlling the input method. Editors and editable ComboBox
have these also.
[ChangeLog][Controls][SpinBox] Added inputMethodHints and
inputMethodComposing properties for controlling the input
method when using editable spin boxes.
Task-number: QTBUG-56837
Change-Id: I1df21341c9a10c1baa1eaa259a5bbab7145e87c8
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/SpinBox.qml')
-rw-r--r-- | src/imports/controls/SpinBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/SpinBox.qml b/src/imports/controls/SpinBox.qml index 80b19839..09d59264 100644 --- a/src/imports/controls/SpinBox.qml +++ b/src/imports/controls/SpinBox.qml @@ -76,7 +76,7 @@ T.SpinBox { readOnly: !control.editable validator: control.validator - inputMethodHints: Qt.ImhFormattedNumbersOnly + inputMethodHints: control.inputMethodHints Rectangle { x: -6 - (down.indicator ? 1 : 0) |