diff --git a/share/qtcreator/qmldesigner/connectionseditor/BindingsDialogForm.qml b/share/qtcreator/qmldesigner/connectionseditor/BindingsDialogForm.qml index c444512967f..749add63c43 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/BindingsDialogForm.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/BindingsDialogForm.qml @@ -25,13 +25,13 @@ Column { PopupLabel { width: root.columnWidth text: qsTr("From") - tooltip: qsTr("The Property to assign from.") + tooltip: qsTr("Sets the component and its property from which the value is copied.") } PopupLabel { width: root.columnWidth text: qsTr("To") - tooltip: qsTr("The Property to assign to.") + tooltip: qsTr("Sets the property of the selected component to which the copied value is assigned.") } } diff --git a/share/qtcreator/qmldesigner/connectionseditor/BindingsListView.qml b/share/qtcreator/qmldesigner/connectionseditor/BindingsListView.qml index acebb0e0bf9..83db20646e0 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/BindingsListView.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/BindingsListView.qml @@ -199,7 +199,7 @@ ListView { HelperWidgets.ToolTipArea { id: toolTipArea - tooltip: qsTr("This is a test.") + tooltip: qsTr("Removes the binding.") anchors.fill: parent onClicked: { if (itemDelegate.ListView.isCurrentItem) diff --git a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialog.qml b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialog.qml index 53eaad0adf4..c7f0034b211 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialog.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialog.qml @@ -21,7 +21,7 @@ PopupDialog { anchors.verticalCenter: parent.verticalCenter HelperWidgets.ToolTipArea { anchors.fill: parent - tooltip: qsTr("Choose the target for the signal.") + tooltip: qsTr("Sets the Component that is connected to a Signal.") } } diff --git a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialogForm.qml b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialogForm.qml index 57e34e81c9c..038ab46f86f 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialogForm.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialogForm.qml @@ -30,13 +30,13 @@ Column { PopupLabel { width: root.columnWidth text: qsTr("Signal") - tooltip: qsTr("The name of the signal.") + tooltip: qsTr("Sets an interaction method that connects to the Target component.") } PopupLabel { width: root.columnWidth text: qsTr("Action") - tooltip: qsTr("The type of the action.") + tooltip: qsTr("Sets an action that is associated with the selected Target component's Signal.") } } @@ -115,6 +115,7 @@ Column { style: StudioTheme.Values.connectionPopupButtonStyle width: 160 buttonIcon: qsTr("Add Condition") + tooltip: qsTr("Sets a logical condition for the selected Signal. It works with the properties of the Target component.") iconSize: StudioTheme.Values.baseFontSize iconFont: StudioTheme.Constants.font anchors.horizontalCenter: parent.horizontalCenter @@ -127,6 +128,7 @@ Column { style: StudioTheme.Values.connectionPopupButtonStyle width: 160 buttonIcon: qsTr("Remove Condition") + tooltip: qsTr("Removes the logical condition for the Target component.") iconSize: StudioTheme.Values.baseFontSize iconFont: StudioTheme.Constants.font anchors.horizontalCenter: parent.horizontalCenter @@ -177,6 +179,7 @@ Column { style: StudioTheme.Values.connectionPopupButtonStyle width: 160 buttonIcon: qsTr("Add Else Statement") + tooltip: qsTr("Sets an alternate condition for the previously defined logical condition.") iconSize: StudioTheme.Values.baseFontSize iconFont: StudioTheme.Constants.font anchors.horizontalCenter: parent.horizontalCenter @@ -190,6 +193,7 @@ Column { style: StudioTheme.Values.connectionPopupButtonStyle width: 160 buttonIcon: qsTr("Remove Else Statement") + tooltip: qsTr("Removes the alternate logical condition for the previously defined logical condition.") iconSize: StudioTheme.Values.baseFontSize iconFont: StudioTheme.Constants.font anchors.horizontalCenter: parent.horizontalCenter @@ -237,6 +241,22 @@ Column { horizontalAlignment: code.lineCount === 1 ? Text.AlignHCenter : Text.AlignLeft verticalAlignment: Text.AlignVCenter elide: Text.ElideRight + + } + + HelperWidgets.AbstractButton { + id: editorButton + + anchors.top: parent.top + anchors.right: parent.right + anchors.margins: 4 + + style: StudioTheme.Values.viewBarButtonStyle + buttonIcon: StudioTheme.Constants.edit_medium + tooltip: qsTr("Write the conditions for the components and the signals manually.") + onClicked: { + expressionDialogLoader.show() + } } Loader { diff --git a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsListView.qml b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsListView.qml index 1827b4f8f43..b783627c827 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsListView.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsListView.qml @@ -195,7 +195,7 @@ ListView { HelperWidgets.ToolTipArea { id: toolTipArea - tooltip: qsTr("This is a test.") + tooltip: qsTr("Removes the connection.") anchors.fill: parent onClicked: { if (itemDelegate.ListView.isCurrentItem) diff --git a/share/qtcreator/qmldesigner/connectionseditor/PropertiesDialogForm.qml b/share/qtcreator/qmldesigner/connectionseditor/PropertiesDialogForm.qml index 1c1f8db76bf..8d62daacf8d 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/PropertiesDialogForm.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/PropertiesDialogForm.qml @@ -21,7 +21,7 @@ Column { PopupLabel { text: qsTr("Type") - tooltip: qsTr("The type of the property") + tooltip: qsTr("Sets the category of the Local Custom Property.") } StudioControls.TopLevelComboBox { id: type @@ -41,13 +41,13 @@ Column { PopupLabel { width: root.columnWidth text: qsTr("Name") - tooltip: qsTr("The name of the property.") + tooltip: qsTr("Sets a name for the Local Custom Property.") } PopupLabel { width: root.columnWidth text: qsTr("Value") - tooltip: qsTr("The value of the property.") + tooltip: qsTr("Sets a valid Local Custom Property value.") } } diff --git a/share/qtcreator/qmldesigner/connectionseditor/PropertiesListView.qml b/share/qtcreator/qmldesigner/connectionseditor/PropertiesListView.qml index dc8baf9bdd7..53d1edea95a 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/PropertiesListView.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/PropertiesListView.qml @@ -203,7 +203,7 @@ ListView { HelperWidgets.ToolTipArea { id: toolTipArea - tooltip: qsTr("This is a test.") + tooltip: qsTr("Removes the property.") anchors.fill: parent onClicked: { if (itemDelegate.ListView.isCurrentItem) diff --git a/share/qtcreator/qmldesigner/connectionseditor/StatementEditor.qml b/share/qtcreator/qmldesigner/connectionseditor/StatementEditor.qml index c6f8a412b5b..f198d84a103 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/StatementEditor.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/StatementEditor.qml @@ -28,13 +28,13 @@ Column { PopupLabel { width: root.columnWidth text: qsTr("Item") - tooltip: qsTr("The target item of the function.") + tooltip: qsTr("Sets the component that is affected by the action of the Target component's Signal.") } PopupLabel { width: root.columnWidth text: qsTr("Method") - tooltip: qsTr("The name of the function.") + tooltip: qsTr("Sets the item component's method that is affected by the Target component's Signal.") } } @@ -74,12 +74,12 @@ Column { PopupLabel { width: root.columnWidth text: qsTr("From") - tooltip: qsTr("The Property to assign from.") + tooltip: qsTr("Sets the component and its property from which the value is copied when the Target component initiates the Signal.") } PopupLabel { width: root.columnWidth text: qsTr("To") - tooltip: qsTr("The Property to assign to.") + tooltip: qsTr("Sets the component and its property to which the copied value is assigned when the Target component initiates the Signal.") } } @@ -151,13 +151,13 @@ Column { PopupLabel { width: root.columnWidth text: qsTr("State Group") - tooltip: qsTr("The State Group.") + tooltip: qsTr("Sets a State Group that is accessed when the Target component initiates the Signal.") } PopupLabel { width: root.columnWidth text: qsTr("State") - tooltip: qsTr("The State .") + tooltip: qsTr("Sets a State within the assigned State Group that is accessed when the Target component initiates the Signal.") } } @@ -197,13 +197,13 @@ Column { PopupLabel { width: root.columnWidth text: qsTr("Item") - tooltip: qsTr("The Item.") + tooltip: qsTr("Sets the component that is affected by the action of the Target component's Signal.") } PopupLabel { width: root.columnWidth text: qsTr("Property") - tooltip: qsTr("The property of the item.") + tooltip: qsTr("Sets the property of the component that is affected by the action of the Target component's Signal.") } } @@ -240,6 +240,7 @@ Column { width: root.columnWidth visible: root.actionType === ConnectionModelStatementDelegate.SetProperty text: qsTr("Value") + tooltip: qsTr("Sets the value of the property of the component that is affected by the action of the Target component's Signal.") } StudioControls.TextField { @@ -260,7 +261,7 @@ Column { width: root.columnWidth visible: root.actionType === ConnectionModelStatementDelegate.PrintMessage text: qsTr("Message") - tooltip: qsTr("The message that is printed.") + tooltip: qsTr("Sets a text that is printed when the Signal of the Target component initiates.") } StudioControls.TextField {