QmlDesigner: Update EffectsSection tooltips

Change-Id: Ib0cf243f84d125ab488ff4f597bbc4dd1637c1d3
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Henning Gruendl
2024-05-15 16:45:34 +02:00
committed by Tim Jenssen
parent 90faaf8efe
commit 17e69ab968

View File

@@ -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")
}