Commit 67fef997 authored by Tim Jenssen's avatar Tim Jenssen Committed by Thomas Hartmann
Browse files

QmlDesigner: toolTip -> tooltip and some qsTr fixes



 - "tooltip" is how it is in the component so use this everywhere

Change-Id: Ib8caa26365e50e1f68e04768b051941bbebe146e
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 4c737d71
......@@ -43,7 +43,7 @@ Item {
signal clicked()
property alias toolTip: toolTipArea.toolTip
property alias tooltip: toolTipArea.tooltip
width: 24 + leftPadding
height: 24
......
......@@ -199,7 +199,7 @@ Column {
colorEditor.backendValue.resetValue()
gradientLine.deleteGradient()
}
toolTip: qsTr("Solid Color")
tooltip: qsTr("Solid Color")
}
ButtonRowButton {
visible: supportGradient
......@@ -209,7 +209,7 @@ Column {
gradientLine.addGradient()
}
toolTip: qsTr("Gradient")
tooltip: qsTr("Gradient")
}
ButtonRowButton {
iconSource: "images/icon_color_none.png"
......@@ -217,7 +217,7 @@ Column {
colorEditor.color = "#00000000"
gradientLine.deleteGradient()
}
toolTip: qsTr("Transparent")
tooltip: qsTr("Transparent")
}
}
......
......@@ -98,7 +98,7 @@ Section {
Label {
text: qsTr("Behavior")
toolTip: qsTr("Bounds behavior")
tooltip: qsTr("Bounds behavior")
}
SecondColumnLayout {
......@@ -126,7 +126,7 @@ Section {
Label {
text: qsTr("Max. velocity")
toolTip: qsTr("Maximum flick velocity")
tooltip: qsTr("Maximum flick velocity")
}
SecondColumnLayout {
......@@ -143,7 +143,7 @@ Section {
Label {
text: qsTr("Deceleration")
toolTip: qsTr("Flick deceleration")
tooltip: qsTr("Flick deceleration")
}
SecondColumnLayout {
......
......@@ -36,7 +36,7 @@ import QtQuick.Controls.Private 1.0
Controls.Label {
id: label
property alias toolTip: toolTipArea.toolTip
property alias tooltip: toolTipArea.tooltip
width: Math.max(Math.min(240, parent.width - 220), 80)
color: "#eee"
......@@ -49,6 +49,6 @@ Controls.Label {
ToolTipArea {
id: toolTipArea
anchors.fill: parent
toolTip: label.text
tooltip: label.text
}
}
......@@ -41,11 +41,11 @@ MouseArea {
hoverEnabled: true
property string toolTip
property string tooltip
Timer {
interval: 1000
running: mouseArea.containsMouse && toolTip.length
onTriggered: Tooltip.showText(mouseArea, Qt.point(mouseArea.mouseX, mouseArea.mouseY), toolTip)
running: mouseArea.containsMouse && tooltip.length
onTriggered: Tooltip.showText(mouseArea, Qt.point(mouseArea.mouseX, mouseArea.mouseY), tooltip)
}
}
......@@ -50,7 +50,7 @@ Column {
Label {
text: qsTr("Cache")
toolTip: qsTr("Cache buffer")
tooltip: qsTr("Cache buffer")
}
SectionLayout {
......@@ -117,7 +117,7 @@ Column {
Label {
text: qsTr("Navigation wraps")
toolTip: qsTr("Determines whether the grid wraps key navigation.")
tooltip: qsTr("Determines whether the grid wraps key navigation.")
}
SectionLayout {
......@@ -145,7 +145,7 @@ Column {
Label {
text: qsTr("Snap mode")
toolTip: qsTr("Determines how the view scrolling will settle following a drag or flick.")
tooltip: qsTr("Determines how the view scrolling will settle following a drag or flick.")
}
SecondColumnLayout {
......@@ -169,7 +169,7 @@ Column {
Label {
text: qsTr("Range")
toolTip: qsTr("Highlight range")
tooltip: qsTr("Highlight range")
}
SecondColumnLayout {
......@@ -184,7 +184,7 @@ Column {
Label {
text: qsTr("Move duration")
toolTip: qsTr("Move animation duration of the highlight delegate.")
tooltip: qsTr("Move animation duration of the highlight delegate.")
}
SectionLayout {
......@@ -202,7 +202,7 @@ Column {
Label {
text: qsTr("Move speed")
toolTip: qsTr("Move animation speed of the highlight delegate.")
tooltip: qsTr("Move animation speed of the highlight delegate.")
}
SectionLayout {
......@@ -220,7 +220,7 @@ Column {
Label {
text: qsTr("Preferred begin")
toolTip: qsTr("Preferred highlight begin - must be smaller than Preferred end.")
tooltip: qsTr("Preferred highlight begin - must be smaller than Preferred end.")
}
SectionLayout {
......@@ -238,7 +238,7 @@ Column {
Label {
text: qsTr("Preferred end")
toolTip: qsTr("Preferred highlight end - must be larger than Preferred begin.")
tooltip: qsTr("Preferred highlight end - must be larger than Preferred begin.")
}
SectionLayout {
......@@ -256,7 +256,7 @@ Column {
Label {
text: qsTr("Follows current")
toolTip: qsTr("Determines whether the highlight is managed by the view.")
tooltip: qsTr("Determines whether the highlight is managed by the view.")
}
SectionLayout {
......
......@@ -50,7 +50,7 @@ Column {
Label {
text: qsTr("Cache")
toolTip: qsTr("Cache buffer")
tooltip: qsTr("Cache buffer")
}
SectionLayout {
......@@ -68,7 +68,7 @@ Column {
Label {
text: qsTr("Navigation wraps")
toolTip: qsTr("Determines whether the grid wraps key navigation.")
tooltip: qsTr("Determines whether the grid wraps key navigation.")
}
SectionLayout {
......@@ -83,7 +83,7 @@ Column {
Label {
text: qsTr("Orientation")
toolTip: qsTr("Orientation of the list.")
tooltip: qsTr("Orientation of the list.")
}
SecondColumnLayout {
......@@ -114,7 +114,7 @@ Column {
Label {
text: qsTr("Snap mode")
toolTip: qsTr("Determines how the view scrolling will settle following a drag or flick.")
tooltip: qsTr("Determines how the view scrolling will settle following a drag or flick.")
}
SecondColumnLayout {
......@@ -131,7 +131,7 @@ Column {
Label {
text: qsTr("Spacing")
toolTip: qsTr("Spacing between items.")
tooltip: qsTr("Spacing between items.")
}
SectionLayout {
......@@ -159,7 +159,7 @@ Column {
Label {
text: qsTr("Range")
toolTip: qsTr("Highlight range")
tooltip: qsTr("Highlight range")
}
SecondColumnLayout {
......@@ -178,7 +178,7 @@ Column {
Label {
text: qsTr("Move duration")
toolTip: qsTr("Move animation duration of the highlight delegate.")
tooltip: qsTr("Move animation duration of the highlight delegate.")
}
SectionLayout {
......@@ -196,7 +196,7 @@ Column {
Label {
text: qsTr("Move speed")
toolTip: qsTr("Move animation speed of the highlight delegate.")
tooltip: qsTr("Move animation speed of the highlight delegate.")
}
SectionLayout {
......@@ -214,7 +214,7 @@ Column {
Label {
text: qsTr("Resize duration")
toolTip: qsTr("Resize animation duration of the highlight delegate.")
tooltip: qsTr("Resize animation duration of the highlight delegate.")
}
SectionLayout {
......@@ -232,7 +232,7 @@ Column {
Label {
text: qsTr("Preferred begin")
toolTip: qsTr("Preferred highlight begin - must be smaller than Preferred end.")
tooltip: qsTr("Preferred highlight begin - must be smaller than Preferred end.")
}
SectionLayout {
......@@ -250,7 +250,7 @@ Column {
Label {
text: qsTr("Preferred end")
toolTip: qsTr("Preferred highlight end - must be larger than Preferred begin.")
tooltip: qsTr("Preferred highlight end - must be larger than Preferred begin.")
}
SectionLayout {
......@@ -268,7 +268,7 @@ Column {
Label {
text: qsTr("Follows current")
toolTip: qsTr("Determines whether the highlight is managed by the view.")
tooltip: qsTr("Determines whether the highlight is managed by the view.")
}
SectionLayout {
......
......@@ -44,7 +44,7 @@ Column {
SectionLayout {
Label {
text: qsTr("Enabled")
toolTip: qsTr("This property holds whether the item accepts mouse events.")
tooltip: qsTr("This property holds whether the item accepts mouse events.")
}
SecondColumnLayout {
......@@ -59,7 +59,7 @@ Column {
Label {
text: qsTr("Hover Enabled")
toolTip: qsTr("This property holds whether hover events are handled.")
tooltip: qsTr("This property holds whether hover events are handled.")
}
SecondColumnLayout {
......
......@@ -45,7 +45,7 @@ Column {
Label {
text: qsTr("Drag margin")
toolTip: qsTr("Drag margin")
tooltip: qsTr("Drag margin")
}
SecondColumnLayout {
......@@ -80,7 +80,7 @@ Column {
Label {
text: qsTr("Interactive")
toolTip: qsTr("A user cannot drag or flick a PathView that is not interactive.")
tooltip: qsTr("A user cannot drag or flick a PathView that is not interactive.")
}
SecondColumnLayout {
......@@ -95,7 +95,7 @@ Column {
Label {
text: qsTr("Offset")
toolTip: qsTr("Specifies how far along the path the items are from their initial positions. This is a real number that ranges from 0.0 to the count of items in the model.")
tooltip: qsTr("Specifies how far along the path the items are from their initial positions. This is a real number that ranges from 0.0 to the count of items in the model.")
}
SecondColumnLayout {
......@@ -113,7 +113,7 @@ Column {
Label {
text: qsTr("Item count")
toolTip: qsTr("pathItemCount: number of items visible on the path at any one time.")
tooltip: qsTr("pathItemCount: number of items visible on the path at any one time.")
}
SecondColumnLayout {
......@@ -139,7 +139,7 @@ Column {
Label {
text: qsTr("Range")
toolTip: qsTr("Highlight range")
tooltip: qsTr("Highlight range")
}
SecondColumnLayout {
......@@ -158,7 +158,7 @@ Column {
Label {
text: qsTr("Move duration")
toolTip: qsTr("Move animation duration of the highlight delegate.")
tooltip: qsTr("Move animation duration of the highlight delegate.")
}
SecondColumnLayout {
......@@ -176,7 +176,7 @@ Column {
Label {
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("Preferred highlight begin - must be smaller than Preferred end. Note that the user has to add a highlight component.")
}
SecondColumnLayout {
......@@ -194,7 +194,7 @@ Column {
Label {
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("Preferred highlight end - must be larger than Preferred begin. Note that the user has to add a highlight component.")
}
SecondColumnLayout {
......
......@@ -73,7 +73,7 @@ Section {
Label {
visible: textInputSection.isTextInput
text: qsTr("Pass. char")
toolTip: qsTr("Character displayed when users enter passwords.")
tooltip: qsTr("Character displayed when users enter passwords.")
}
LineEdit {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment