diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml index 2bd89a133b330d6c0b7810a124ee55c18b435a15..575ffd0791df999b00bf2fe11ae622f5db24a325 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/DoubleSpinBox.qml @@ -80,6 +80,7 @@ QWidget { //This is a special doubleSpinBox that does color coding for states decimals: 1; keyboardTracking: false; enabled: !backendValue.isBound && doubleSpinBox.enabled; + toolTip: backendValue.isBound ? backendValue.expression : "" property bool readingFromBackend: false; property real valueFromBackend: doubleSpinBox.backendValue.value; diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml index bbb98da0b32535b9c3edbea60831f2889c70bfe0..e1bb4c72384a8f8ff60ad5a0cd294fdc343f18fc 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml @@ -57,6 +57,7 @@ QWidget { styleSheet: "QLineEdit { padding-left: 32; }" width: lineEdit.width height: lineEdit.height + toolTip: backendValue.isBound ? backendValue.expression : "" property string valueFromBackend: (backendValue === undefined || backendValue.value === undefined) ? "" : backendValue.value; diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml index 733008e48568dbed4378ee94eae31d6869cdf7c1..6ceb50f461d99766f755d09fb2fc5d4ae249746d 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml @@ -65,6 +65,7 @@ QWidget { //This is a special spinBox that does color coding for states spacing: 4 QSpinBox { property alias backendValue: spinBox.backendValue + toolTip: backendValue.isBound ? backendValue.expression : "" enabled: !backendValue.isBound && spinBox.enabled;