diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/CharacterSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/CharacterSection.qml index 7979dcbd2b8..d80bbf34eb2 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/CharacterSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/CharacterSection.qml @@ -38,7 +38,10 @@ Section { onPixelSizeChanged: sizeWidget.setPointPixelSize() SectionLayout { - PropertyLabel { text: qsTr("Text") } + PropertyLabel { + text: qsTr("Text") + tooltip: qsTr("Sets the text to display.") + } SecondColumnLayout { LineEdit { @@ -103,7 +106,10 @@ Section { } } - PropertyLabel { text: qsTr("Font") } + PropertyLabel { + text: qsTr("Font") + tooltip: qsTr("Sets the font of the text.") + } SecondColumnLayout { FontComboBox { @@ -120,7 +126,7 @@ Section { PropertyLabel { text: qsTr("Style name") - tooltip: qsTr("Font's style.") + tooltip: qsTr("Sets the style of the selected font. This is prioritized over Weight and Emphasis.") enabled: styleNameComboBox.model.length blockedByTemplate: !styleNameComboBox.backendValue.isAvailable } @@ -141,7 +147,10 @@ Section { ExpandingSpacer {} } - PropertyLabel { text: qsTr("Size") } + PropertyLabel { + text: qsTr("Size") + tooltip: qsTr("Sets the font size in pixels or points.") + } SecondColumnLayout { id: sizeWidget @@ -220,7 +229,10 @@ Section { ExpandingSpacer {} } - PropertyLabel { text: qsTr("Text color") } + PropertyLabel { + text: qsTr("Text color") + tooltip: qsTr("Sets the text color.") + } ColorEditor { backendValue: backendValues.color @@ -229,7 +241,7 @@ Section { PropertyLabel { text: qsTr("Weight") - tooltip: qsTr("Font's weight.") + tooltip: qsTr("Sets the overall thickness of the font.") enabled: !styleNameComboBox.styleSet } @@ -249,6 +261,7 @@ Section { PropertyLabel { text: qsTr("Emphasis") + tooltip: qsTr("Sets the text to bold, italic, underlined, or strikethrough.") enabled: !styleNameComboBox.styleSet } @@ -260,7 +273,10 @@ Section { enabled: !styleNameComboBox.styleSet } - PropertyLabel { text: qsTr("Alignment H") } + PropertyLabel { + text: qsTr("Alignment H") + tooltip: qsTr("Sets the horizontal alignment position.") + } SecondColumnLayout { AlignmentHorizontalButtons {} @@ -268,7 +284,10 @@ Section { ExpandingSpacer {} } - PropertyLabel { text: qsTr("Alignment V") } + PropertyLabel { + text: qsTr("Alignment V") + tooltip: qsTr("Sets the vertical alignment position.") + } SecondColumnLayout { AlignmentVerticalButtons { visible: root.showVerticalAlignment } @@ -278,7 +297,7 @@ Section { PropertyLabel { text: qsTr("Letter spacing") - tooltip: qsTr("Letter spacing for the font.") + tooltip: qsTr("Sets the letter spacing for the text.") blockedByTemplate: !root.getBackendValue("letterSpacing").isAvailable } @@ -299,7 +318,7 @@ Section { PropertyLabel { text: qsTr("Word spacing") - tooltip: qsTr("Word spacing for the font.") + tooltip: qsTr("Sets the word spacing for the text.") blockedByTemplate: !root.getBackendValue("wordSpacing").isAvailable } @@ -321,7 +340,7 @@ Section { PropertyLabel { visible: root.showLineHeight text: qsTr("Line height") - tooltip: qsTr("Line height for the text.") + tooltip: qsTr("Sets the line height for the text.") blockedByTemplate: !lineHeightSpinBox.enabled } diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/FontSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/FontSection.qml index 1530594f961..af26211a1a9 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/FontSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/FontSection.qml @@ -34,7 +34,10 @@ Section { onPixelSizeChanged: sizeWidget.setPointPixelSize() SectionLayout { - PropertyLabel { text: qsTr("Font") } + PropertyLabel { + text: qsTr("Font") + tooltip: qsTr("Sets the font of the text.") + } SecondColumnLayout { FontComboBox { @@ -49,7 +52,10 @@ Section { ExpandingSpacer {} } - PropertyLabel { text: qsTr("Size") } + PropertyLabel { + text: qsTr("Size") + tooltip: qsTr("Sets the font size in pixels or points.") + } SecondColumnLayout { id: sizeWidget @@ -129,6 +135,7 @@ Section { PropertyLabel { text: qsTr("Emphasis") + tooltip: qsTr("Sets the text to bold, italic, underlined, or strikethrough.") blockedByTemplate: !fontSection.boldStyle.isAvailable && !fontSection.italicStyle.isAvailable && !fontSection.underlineStyle.isAvailable @@ -165,7 +172,7 @@ Section { PropertyLabel { text: qsTr("Weight") - tooltip: qsTr("Font's weight.") + tooltip: qsTr("Sets the overall thickness of the font.") blockedByTemplate: styleNameComboBox.styleSet } @@ -185,7 +192,7 @@ Section { PropertyLabel { text: qsTr("Style name") - tooltip: qsTr("Font's style.") + tooltip: qsTr("Sets the style of the selected font. This is prioritized over Weight and Emphasis.") blockedByTemplate: !styleNameComboBox.enabled } @@ -263,7 +270,7 @@ Section { PropertyLabel { text: qsTr("Letter spacing") - tooltip: qsTr("Letter spacing for the font.") + tooltip: qsTr("Sets the letter spacing for the text.") blockedByTemplate: !getBackendValue("letterSpacing").isAvailable } @@ -284,7 +291,7 @@ Section { PropertyLabel { text: qsTr("Word spacing") - tooltip: qsTr("Word spacing for the font.") + tooltip: qsTr("Sets the word spacing for the text.") blockedByTemplate: !getBackendValue("wordSpacing").isAvailable }