forked from qt-creator/qt-creator
QmlDesigner: Update Tooltips for Component Section
This patch update tooltip text for Componemt Section fields. Fixes: QDS-8724 Change-Id: Id3fed9163c4ad6e61b762a5760cd5f2d7c079183 Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Pranta Ghosh Dastider
parent
df3ace009a
commit
20cbf4d34b
@@ -19,7 +19,10 @@ Section {
|
|||||||
property bool showState: false
|
property bool showState: false
|
||||||
|
|
||||||
SectionLayout {
|
SectionLayout {
|
||||||
PropertyLabel { text: qsTr("Type") }
|
PropertyLabel {
|
||||||
|
text: qsTr("Type")
|
||||||
|
tooltip: qsTr("Sets the QML type of the component.")
|
||||||
|
}
|
||||||
|
|
||||||
SecondColumnLayout {
|
SecondColumnLayout {
|
||||||
z: 2
|
z: 2
|
||||||
@@ -44,7 +47,7 @@ Section {
|
|||||||
typeLineEdit.visible = !typeLineEdit.visible
|
typeLineEdit.visible = !typeLineEdit.visible
|
||||||
typeLineEdit.forceActiveFocus()
|
typeLineEdit.forceActiveFocus()
|
||||||
}
|
}
|
||||||
tooltip: qsTr("Changes the type of this component.")
|
tooltip: qsTr("Sets the QML type of the component.")
|
||||||
enabled: !modelNodeBackend.multiSelection
|
enabled: !modelNodeBackend.multiSelection
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -83,7 +86,10 @@ Section {
|
|||||||
ExpandingSpacer {}
|
ExpandingSpacer {}
|
||||||
}
|
}
|
||||||
|
|
||||||
PropertyLabel { text: qsTr("ID") }
|
PropertyLabel {
|
||||||
|
text: qsTr("ID")
|
||||||
|
tooltip: qsTr("Sets a unique identification or name.")
|
||||||
|
}
|
||||||
|
|
||||||
SecondColumnLayout {
|
SecondColumnLayout {
|
||||||
Spacer { implicitWidth: StudioTheme.Values.actionIndicatorWidth }
|
Spacer { implicitWidth: StudioTheme.Values.actionIndicatorWidth }
|
||||||
@@ -167,7 +173,10 @@ Section {
|
|||||||
ExpandingSpacer {}
|
ExpandingSpacer {}
|
||||||
}
|
}
|
||||||
|
|
||||||
PropertyLabel { text: qsTr("Name") }
|
PropertyLabel {
|
||||||
|
text: qsTr("Name")
|
||||||
|
tooltip: qsTr("Adds a note with a title to explain the component.")
|
||||||
|
}
|
||||||
|
|
||||||
SecondColumnLayout {
|
SecondColumnLayout {
|
||||||
enabled: !modelNodeBackend.multiSelection
|
enabled: !modelNodeBackend.multiSelection
|
||||||
@@ -247,6 +256,7 @@ Section {
|
|||||||
PropertyLabel {
|
PropertyLabel {
|
||||||
visible: root.showState
|
visible: root.showState
|
||||||
text: qsTr("State")
|
text: qsTr("State")
|
||||||
|
tooltip: qsTr("Sets the state of the component.")
|
||||||
}
|
}
|
||||||
|
|
||||||
SecondColumnLayout {
|
SecondColumnLayout {
|
||||||
|
Reference in New Issue
Block a user