diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-07-02 11:09:36 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-07-03 07:49:40 +0000 |
commit | 7cd504511cc89ea8addbbf5f8295ba7505ea0df4 (patch) | |
tree | 784f63f62b75eebd2acdd02b60b56473e0bb18cf /share | |
parent | 572a3c893710f3952655067f525d84c6ac550b58 (diff) |
QmlDesigner: Hide the cursor when dragging in SpinBox
Change-Id: I3900c510bc5510eaba51ea2ae8700aa9ca72f59a
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml index 8411e8d1733..2ec1052877a 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/SpinBox.qml @@ -47,6 +47,9 @@ Item { StudioControls.RealSpinBox { id: spinBox + onDragStarted: hideCursor(); + onDragEnded: restoreCursor(); + property variant backendValue property bool hasSlider: wrapper.sliderIndicatorVisible |