Latest tooltips updates

Change-Id: If970dd2da0130bc0181a656a075b9e71cd0bf0d7
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2023-02-23 13:18:08 +01:00
parent 00e1a73c8a
commit 542754a4ff
20 changed files with 110 additions and 76 deletions

View File

@@ -17,7 +17,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Text role") text: qsTr("Text role")
tooltip: qsTr("The model role used for displaying text.") tooltip: qsTr("Sets the model role for populating the combo box.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -33,7 +33,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Display text") text: qsTr("Display text")
tooltip: qsTr("Holds the text that is displayed on the combo box button.") tooltip: qsTr("Sets the initial display text for the combo box.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -49,7 +49,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Current index") text: qsTr("Current index")
tooltip: qsTr("The index of the current item.") tooltip: qsTr("Sets the current item.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -68,7 +68,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Flat") text: qsTr("Flat")
tooltip: qsTr("Whether the combo box button is flat.") tooltip: qsTr("Toggles if the combo box button is flat.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -84,7 +84,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Editable") text: qsTr("Editable")
tooltip: qsTr("Whether the combo box is editable.") tooltip: qsTr("Toggles if the combo box is editable.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -14,7 +14,7 @@ Section {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Current index") text: qsTr("Current index")
tooltip: qsTr("The index of the current item.") tooltip: qsTr("Sets the index of the current item.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -17,7 +17,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Value") text: qsTr("Value")
tooltip: qsTr("The current value of the dial and whether it provides live value updates.") tooltip: qsTr("Sets the value of the dial.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -46,7 +46,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("From") text: qsTr("From")
tooltip: qsTr("The starting value of the dial range.") tooltip: qsTr("Sets the minimum value of the dial.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -66,7 +66,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("To") text: qsTr("To")
tooltip: qsTr("The ending value of the dial range.") tooltip: qsTr("Sets the maximum value of the dial.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -86,7 +86,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Step size") text: qsTr("Step size")
tooltip: qsTr("The step size of the dial.") tooltip: qsTr("Sets the number by which the dial value changes.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -106,7 +106,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Snap mode") text: qsTr("Snap mode")
tooltip: qsTr("The snap mode of the dial.") tooltip: qsTr("Sets how the dial's handle snaps to the steps\n"
+ "defined in <b>Step size</b>.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -124,7 +125,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Input mode") text: qsTr("Input mode")
tooltip: qsTr("How the dial tracks movement.") tooltip: qsTr("Sets how the user can interact with the dial.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -142,7 +143,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Wrap") text: qsTr("Wrap")
tooltip: qsTr("Whether the dial wraps when dragged.") tooltip: qsTr("Toggles if the dial wraps around when it reaches the start or end.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -17,7 +17,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Title") text: qsTr("Title")
tooltip: qsTr("The title of the group box.") tooltip: qsTr("Sets the title for the group box.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -16,7 +16,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Count") text: qsTr("Count")
tooltip: qsTr("The number of pages.") tooltip: qsTr("Sets the number of pages.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -35,7 +35,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Current") text: qsTr("Current")
tooltip: qsTr("The index of the current page.") tooltip: qsTr("Sets the current page.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -54,7 +54,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Interactive") text: qsTr("Interactive")
tooltip: qsTr("Whether the control is interactive.") tooltip: qsTr("Toggles if the user can interact with the page indicator.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -17,7 +17,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Title") text: qsTr("Title")
tooltip: qsTr("Title of the page.") tooltip: qsTr("Sets the title of the page.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -33,7 +33,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Content size") text: qsTr("Content size")
tooltip: qsTr("Content width and height used for calculating the total implicit size.") tooltip: qsTr("Sets the size of the page. This is used to\n"
+ "calculate the total implicit size.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -14,7 +14,8 @@ Section {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Content size") text: qsTr("Content size")
tooltip: qsTr("Content width and height used for calculating the total implicit size.") tooltip: qsTr("Sets the size of the pane. This is used to calculate\n"
+ "the total implicit size.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -17,7 +17,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Value") text: qsTr("Value")
tooltip: qsTr("The current value of the progress.") tooltip: qsTr("Sets the value of the progress bar.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -37,7 +37,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("From") text: qsTr("From")
tooltip: qsTr("The starting value for the progress.") tooltip: qsTr("Sets the minimum value of the progress bar.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -57,7 +57,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("To") text: qsTr("To")
tooltip: qsTr("The ending value for the progress.") tooltip: qsTr("Sets the maximum value of the progress bar.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -77,7 +77,9 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Indeterminate") text: qsTr("Indeterminate")
tooltip: qsTr("Whether the progress is indeterminate.") tooltip: qsTr("Toggles if the progress bar is in indeterminate mode.\n"
+"A progress bar in indeterminate mode displays that an\n"
+ "operation is in progress.")
blockedByTemplate: !backendValues.indeterminate.isAvailable blockedByTemplate: !backendValues.indeterminate.isAvailable
} }

View File

@@ -17,7 +17,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Value 1") text: qsTr("Value 1")
tooltip: qsTr("The value of the first range slider handle.") tooltip: qsTr("Sets the value of the first range slider handle.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -38,7 +38,7 @@ Column {
implicitWidth: StudioTheme.Values.twoControlColumnWidth implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth + StudioTheme.Values.actionIndicatorWidth
backendValue: backendValues.live backendValue: backendValues.live
tooltip: qsTr("Whether the range slider provides live value updates.") tooltip: qsTr("Toggles if the range slider provides live value updates.")
} }
ExpandingSpacer {} ExpandingSpacer {}
@@ -47,7 +47,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Value 2") text: qsTr("Value 2")
tooltip: qsTr("The value of the second range slider handle.") tooltip: qsTr("Sets the value of the second range slider handle.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -66,7 +66,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("From") text: qsTr("From")
tooltip: qsTr("The starting value of the range slider range.") tooltip: qsTr("Sets the minimum value of the range slider.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -85,7 +85,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("To") text: qsTr("To")
tooltip: qsTr("The ending value of the range slider range.") tooltip: qsTr("Sets the maximum value of the range slider.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -104,7 +104,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Step size") text: qsTr("Step size")
tooltip: qsTr("The step size of the range slider.") tooltip: qsTr("Sets the interval between the steps.\n"
+ "This functions if <b>Snap mode</b> is selected.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -123,7 +124,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Drag threshold") text: qsTr("Drag threshold")
tooltip: qsTr("The threshold (in logical pixels) at which a drag event will be initiated.") tooltip: qsTr("Sets the threshold at which a drag event begins.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -141,7 +142,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Snap mode") text: qsTr("Snap mode")
tooltip: qsTr("The snap mode of the range slider.") tooltip: qsTr("Sets how the slider handles snaps to the steps\n"
+ "defined in step size.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -159,7 +161,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Orientation") text: qsTr("Orientation")
tooltip: qsTr("The orientation of the range slider.") tooltip: qsTr("Sets the orientation of the range slider.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -45,7 +45,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Radius") text: qsTr("Radius")
tooltip: qsTr("Radius of the button.") tooltip: qsTr("Sets the radius of the button.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -14,7 +14,11 @@ Column {
caption: qsTr("Scroll View") caption: qsTr("Scroll View")
SectionLayout { SectionLayout {
PropertyLabel { text: qsTr("Content size") } PropertyLabel {
text: qsTr("Content size")
tooltip: qsTr("Sets the width and height of the view.\n"
+ "This is used for calculating the total implicit size.")
}
SecondColumnLayout { SecondColumnLayout {
SpinBox { SpinBox {

View File

@@ -16,7 +16,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Value") text: qsTr("Value")
tooltip: qsTr("The current value of the spin box.") tooltip: qsTr("Sets the current value of the spin box.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -34,7 +34,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("From") text: qsTr("From")
tooltip: qsTr("The starting value of the spin box range.") tooltip: qsTr("Sets the lowest value of the spin box range.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -52,7 +52,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("To") text: qsTr("To")
tooltip: qsTr("The ending value of the spin box range.") tooltip: qsTr("Sets the highest value of the spin box range.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -70,7 +70,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Step size") text: qsTr("Step size")
tooltip: qsTr("The step size of the spin box.") tooltip: qsTr("Sets the number by which the spin box value changes.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -88,7 +88,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Editable") text: qsTr("Editable")
tooltip: qsTr("Whether the spin box is editable.") tooltip: qsTr("Toggles if the spin box is editable.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -104,7 +104,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Wrap") text: qsTr("Wrap")
tooltip: qsTr("Whether the spin box values wrap.") tooltip: qsTr("Toggles if the spin box wraps around when \n"
+ "it reaches the start or end.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -16,7 +16,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Interactive") text: qsTr("Interactive")
tooltip: qsTr("Whether the view is interactive.") tooltip: qsTr("Toggles if the user can interact with the view.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -32,7 +32,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Orientation") text: qsTr("Orientation")
tooltip: qsTr("Orientation of the view.") tooltip: qsTr("Sets the orientation of the view.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -17,7 +17,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Position") text: qsTr("Position")
tooltip: qsTr("Position of the tab bar.") tooltip: qsTr("Sets the position of the tab bar.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -35,7 +35,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Content size") text: qsTr("Content size")
tooltip: qsTr("Content width and height used for calculating the total implicit size.") tooltip: qsTr("Sets the width and height of the tab bar.\n"
+ "This is used for calculating the total implicit size.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -16,7 +16,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Orientation") text: qsTr("Orientation")
tooltip: qsTr("The orientation of the separator.") tooltip: qsTr("Sets the orientation of the separator.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -16,7 +16,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Visible count") text: qsTr("Visible count")
tooltip: qsTr("The count of visible items.") tooltip: qsTr("Sets the number of items in the model.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -34,7 +34,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Current index") text: qsTr("Current index")
tooltip: qsTr("The index of the current item.") tooltip: qsTr("Sets the index of the current item.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -52,7 +52,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Wrap") text: qsTr("Wrap")
tooltip: qsTr("Whether the tumbler values wrap.") tooltip: qsTr("Toggles if the tumbler wraps around when it reaches the\n"
+ "top or bottom.")
} }
SecondColumnLayout { SecondColumnLayout {

View File

@@ -174,7 +174,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Range") text: qsTr("Range")
tooltip: qsTr("Highlight range") tooltip: qsTr("Sets the highlight range mode.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -192,7 +192,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Move duration") text: qsTr("Move duration")
tooltip: qsTr("Move animation duration of the highlight delegate.") tooltip: qsTr("Sets the animation duration of the highlight delegate.")
} }
SectionLayout { SectionLayout {
@@ -210,7 +210,9 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Preferred begin") text: qsTr("Preferred begin")
tooltip: qsTr("Preferred highlight begin - must be smaller than Preferred end.") tooltip: qsTr("Sets the preferred highlight beginning. It must be smaller than\n"
+ "the <b>Preferred end</b>. Note that the user has to add a\n"
+ "highlight component.")
} }
SectionLayout { SectionLayout {
@@ -228,7 +230,9 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Preferred end") text: qsTr("Preferred end")
tooltip: qsTr("Preferred highlight end - must be larger than Preferred begin.") tooltip: qsTr("Sets the preferred highlight end. It must be larger than\n"
+ "the <b>Preferred begin</b>. Note that the user has to add\n"
+ "a highlight component.")
} }
SectionLayout { SectionLayout {
@@ -246,7 +250,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Follows current") text: qsTr("Follows current")
tooltip: qsTr("Whether the highlight is managed by the view.") tooltip: qsTr("Toggles if the view manages the highlight.")
} }
SectionLayout { SectionLayout {

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 warp 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 {

View File

@@ -144,7 +144,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Range") text: qsTr("Range")
tooltip: qsTr("Highlight range.") tooltip: qsTr("Sets the highlight range mode.")
blockedByTemplate: !backendValues.highlightRangeMode.isAvailable blockedByTemplate: !backendValues.highlightRangeMode.isAvailable
} }
@@ -164,7 +164,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Move duration") text: qsTr("Move duration")
tooltip: qsTr("Move animation duration of the highlight delegate.") tooltip: qsTr("Sets the animation duration of the highlight delegate when\n"
+ "it is moved.")
blockedByTemplate: !backendValues.highlightMoveDuration.isAvailable blockedByTemplate: !backendValues.highlightMoveDuration.isAvailable
} }
@@ -184,7 +185,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Move velocity") text: qsTr("Move velocity")
tooltip: qsTr("Move animation velocity of the highlight delegate.") tooltip: qsTr("Sets the animation velocity of the highlight delegate when\n"
+ "it is moved.")
blockedByTemplate: !backendValues.highlightMoveVelocity.isAvailable blockedByTemplate: !backendValues.highlightMoveVelocity.isAvailable
} }
@@ -204,7 +206,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Resize duration") text: qsTr("Resize duration")
tooltip: qsTr("Resize animation duration of the highlight delegate.") tooltip: qsTr("Sets the animation duration of the highlight delegate when\n"
+ "it is resized.")
blockedByTemplate: !backendValues.highlightResizeDuration.isAvailable blockedByTemplate: !backendValues.highlightResizeDuration.isAvailable
} }
@@ -224,7 +227,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Resize velocity") text: qsTr("Resize velocity")
tooltip: qsTr("Resize animation velocity of the highlight delegate.") tooltip: qsTr("Sets the animation velocity of the highlight delegate when\n"
+ "it is resized.")
blockedByTemplate: !backendValues.highlightResizeVelocity.isAvailable blockedByTemplate: !backendValues.highlightResizeVelocity.isAvailable
} }
@@ -244,7 +248,9 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Preferred begin") text: qsTr("Preferred begin")
tooltip: qsTr("Preferred highlight begin - must be smaller than Preferred end.") tooltip: qsTr("Sets the preferred highlight beginning. It must be smaller than\n"
+ "the <b>Preferred end</b>. Note that the user has to add\n"
+ "a highlight component.")
blockedByTemplate: !backendValues.preferredHighlightBegin.isAvailable blockedByTemplate: !backendValues.preferredHighlightBegin.isAvailable
} }
@@ -264,7 +270,9 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Preferred end") text: qsTr("Preferred end")
tooltip: qsTr("Preferred highlight end - must be larger than Preferred begin.") tooltip: qsTr("Sets the preferred highlight end. It must be larger than\n"
+ "the <b>Preferred begin</b>. Note that the user has to add\n"
+ "a highlight component.")
blockedByTemplate: !backendValues.preferredHighlightEnd.isAvailable blockedByTemplate: !backendValues.preferredHighlightEnd.isAvailable
} }
@@ -284,7 +292,7 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Follows current") text: qsTr("Follows current")
tooltip: qsTr("Whether the highlight is managed by the view.") tooltip: qsTr("Toggles if the view manages the highlight.")
blockedByTemplate: !backendValues.highlightFollowsCurrentItem.isAvailable blockedByTemplate: !backendValues.highlightFollowsCurrentItem.isAvailable
} }

View File

@@ -117,7 +117,7 @@ Column {
SectionLayout { SectionLayout {
PropertyLabel { PropertyLabel {
text: qsTr("Range") text: qsTr("Range")
tooltip: qsTr("Highlight range") tooltip: qsTr("Sets the highlight range mode.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -135,7 +135,8 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Move duration") text: qsTr("Move duration")
tooltip: qsTr("Move animation duration of the highlight delegate.") tooltip: qsTr("Sets the animation duration of the highlight delegate when\n"
+ "it is moved.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -153,7 +154,9 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Preferred begin") text: qsTr("Preferred begin")
tooltip: qsTr("Preferred highlight begin - must be smaller than Preferred end. Note that the user has to add a highlight component.") tooltip: qsTr("Sets the preferred highlight beginning. It must be smaller than\n"
+ "the <b>Preferred end</b>. Note that the user has to add\n"
+ "a highlight component.")
} }
SecondColumnLayout { SecondColumnLayout {
@@ -172,7 +175,9 @@ Column {
PropertyLabel { PropertyLabel {
text: qsTr("Preferred end") text: qsTr("Preferred end")
tooltip: qsTr("Preferred highlight end - must be larger than Preferred begin. Note that the user has to add a highlight component.") tooltip: qsTr("Sets the preferred highlight end. It must be larger than\n"
+ "the <b>Preferred begin</b>. Note that the user has to add\n"
+ "a highlight component.")
} }
SecondColumnLayout { SecondColumnLayout {