aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qml/qmlpuppet/mockfiles/MoveGizmo.qml
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2019-10-24 17:22:49 +0300
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2019-10-25 08:12:28 +0000
commit0de98aa240b696d399ed7ed66856ff87f7e596af (patch)
treee45c3f09a4a05ac835056ff5e1c9d965ffbf0cd0 /share/qtcreator/qml/qmlpuppet/mockfiles/MoveGizmo.qml
parent362d65301d58eb9bcaec4909c876b1590847ebab (diff)
QmlDesigner: Add overlay display to show position in 3D edit view
When dragging using move gizmo, a label is displayed that shows the current position of the selected object. Change-Id: I2e03b363ce9dcb975bcfe198ffae2e98024d74c8 Fixes: QDS-1129 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share/qtcreator/qml/qmlpuppet/mockfiles/MoveGizmo.qml')
-rw-r--r--share/qtcreator/qml/qmlpuppet/mockfiles/MoveGizmo.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/mockfiles/MoveGizmo.qml b/share/qtcreator/qml/qmlpuppet/mockfiles/MoveGizmo.qml
index 62a4e9e7c7..73b80018a9 100644
--- a/share/qtcreator/qml/qmlpuppet/mockfiles/MoveGizmo.qml
+++ b/share/qtcreator/qml/qmlpuppet/mockfiles/MoveGizmo.qml
@@ -32,6 +32,7 @@ Node {
property View3D view3D
property bool highlightOnHover: false
property Node targetNode: null
+ readonly property bool isDragging: arrowX.isDragging || arrowY.isDragging || arrowZ.isDragging
scale: Qt.vector3d(5, 5, 5)