QmlDesigner: Update EffectsSection tooltips

Change-Id: Ib0cf243f84d125ab488ff4f597bbc4dd1637c1d3
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Henning Gruendl
2024-05-15 16:45:34 +02:00
committed by Henning Gründl
parent 379933cb39
commit a7913d5430

View File

@@ -78,7 +78,6 @@ Section {
} }
PropertyLabel { PropertyLabel {
text: qsTr("Visible") text: qsTr("Visible")
tooltip: qsTr("Toggles the visibility of visual effects on the component.") tooltip: qsTr("Toggles the visibility of visual effects on the component.")
visible: root.hasDesignerEffect visible: root.hasDesignerEffect
@@ -261,7 +260,7 @@ Section {
text: qsTr("Blur") text: qsTr("Blur")
tooltip: qsTr("Sets the intensity of blur on the selected background component.\n" tooltip: qsTr("Sets the intensity of blur on the selected background component.\n"
+ "The foreground component should be transparent, and the background " + "The foreground component should be transparent, and the background "
+ "component should be solid.") + "component should be opaque.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -402,7 +401,8 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Blur") 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 { SecondColumnLayout {
@@ -419,7 +419,9 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Spread") 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") enabled: modelNodeBackend.isInstanceOf("Rectangle")
} }