QmlDesigner: Update Tooltips for Layer Section

This patch update tooltip text for Layer section fields
in Property editor.

Fixes: QDS-9201
Change-Id: I179f6feba884f2bdc3cd85d7bd3bcbc982114d75
Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Pranta Dastider
2023-02-21 17:04:38 +01:00
committed by Pranta Ghosh Dastider
parent 9a55bb0fd0
commit 632027aa14

View File

@@ -15,7 +15,7 @@ Section {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Enabled") text: qsTr("Enabled")
tooltip: qsTr("Whether the component is layered or not.") tooltip: qsTr("Toggles if the component is layered.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -31,7 +31,7 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Sampler name") text: qsTr("Sampler name")
tooltip: qsTr("Name of the effect's source texture property.") tooltip: qsTr("Sets the name of the effect's source texture property.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -49,7 +49,7 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Samples") text: qsTr("Samples")
tooltip: qsTr("Allows requesting multisampled rendering in the layer.") tooltip: qsTr("Sets the number of multisample renderings in the layer.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -91,7 +91,7 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Effect") text: qsTr("Effect")
tooltip: qsTr("Applies the effect to this layer.") tooltip: qsTr("Sets which effect is applied.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -109,7 +109,7 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Format") text: qsTr("Format")
tooltip: qsTr("Internal OpenGL format of the texture.") tooltip: qsTr("Sets the internal OpenGL format for the texture.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -127,7 +127,7 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Texture size") text: qsTr("Texture size")
tooltip: qsTr("Requested pixel size of the layer's texture.") tooltip: qsTr("Sets the requested pixel size of the layer's texture.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -145,6 +145,7 @@ Section {
ControlLabel { ControlLabel {
//: The width of the object //: The width of the object
text: qsTr("W", "width") text: qsTr("W", "width")
tooltip: qsTr("Width.")
} }
Spacer { implicitWidth: StudioTheme.Values.controlGap } Spacer { implicitWidth: StudioTheme.Values.controlGap }
@@ -163,6 +164,7 @@ Section {
ControlLabel { ControlLabel {
//: The height of the object //: The height of the object
text: qsTr("H", "height") text: qsTr("H", "height")
tooltip: qsTr("Height.")
} }
ExpandingSpacer {} ExpandingSpacer {}
@@ -188,7 +190,7 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Wrap mode") text: qsTr("Wrap mode")
tooltip: qsTr("OpenGL wrap modes associated with the texture.") tooltip: qsTr("Sets the OpenGL wrap modes associated with the texture.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -206,7 +208,7 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Mipmap") text: qsTr("Mipmap")
tooltip: qsTr("Generates mipmaps for the texture.") tooltip: qsTr("Toggles if mipmaps are generated for the texture.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -222,7 +224,7 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Smooth") text: qsTr("Smooth")
tooltip: qsTr("Transforms the layer smoothly.") tooltip: qsTr("Toggles if the layer transforms smoothly.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -238,7 +240,8 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Source rectangle") text: qsTr("Source rectangle")
tooltip: qsTr("Sets the rectangular area of the component that should be rendered into the texture.") tooltip: qsTr("Sets the rectangular area of the component that should\n"
+ "be rendered into the texture.")
} }
SecondColumnLayout { SecondColumnLayout {