From 17e69ab9686df38ec02715c08e54b120865ca2e7 Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Wed, 15 May 2024 16:45:34 +0200 Subject: [PATCH] QmlDesigner: Update EffectsSection tooltips MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib0cf243f84d125ab488ff4f597bbc4dd1637c1d3 Reviewed-by: Tim Jenssen Reviewed-by: Henning Gründl --- .../QtQuick/EffectsSection.qml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/EffectsSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/EffectsSection.qml index c7121127d5e..3e9a79f8e04 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/EffectsSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/EffectsSection.qml @@ -78,7 +78,6 @@ Section { } PropertyLabel { - text: qsTr("Visible") tooltip: qsTr("Toggles the visibility of visual effects on the component.") visible: root.hasDesignerEffect @@ -260,8 +259,8 @@ Section { PropertyLabel { text: qsTr("Blur") tooltip: qsTr("Sets the intensity of blur on the selected background component.\n" - + "The foreground component should be transparent, and the background " - + "component should be solid.") + + "The foreground component should be transparent, and the background " + + "component should be opaque.") } SecondColumnLayout { @@ -402,7 +401,8 @@ Section { PropertyLabel { text: qsTr("Blur") - tooltip: qsTr("Sets the intensity of the component shadow.") + tooltip: qsTr("Sets the softness of the component shadow. A larger value" + + " causes the edges of the shadow to appear more blurry.") } SecondColumnLayout { @@ -419,7 +419,9 @@ Section { PropertyLabel { text: qsTr("Spread") - tooltip: qsTr("Resizes the base shadow of the component by pixels.") + tooltip: modelNodeBackend.isInstanceOf("Rectangle") + ? qsTr("Resizes the base shadow of the component by pixels.") + : qsTr("Only supported for Rectangles.") enabled: modelNodeBackend.isInstanceOf("Rectangle") }