From 4e2366550c64d491e9ca14f03e1ac27e55bd4c60 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Fri, 12 May 2023 14:40:23 +0200 Subject: QmlDesigner: Add tooltips to statusbar Task-number: QDS-9851 Change-Id: If71410189422e577e0ea3540fbdef35803268ea4 Reviewed-by: Tim Jenssen Reviewed-by: Pranta Ghosh Dastider --- share/qtcreator/qmldesigner/statusbar/Main.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/share/qtcreator/qmldesigner/statusbar/Main.qml b/share/qtcreator/qmldesigner/statusbar/Main.qml index db1a125e10..16b687abc0 100644 --- a/share/qtcreator/qmldesigner/statusbar/Main.qml +++ b/share/qtcreator/qmldesigner/statusbar/Main.qml @@ -6,6 +6,7 @@ import QtQuick.Controls import StudioControls 1.0 as StudioControls import StudioTheme 1.0 as StudioTheme import "../toolbar" +import HelperWidgets 2.0 import ToolBar 1.0 @@ -35,6 +36,7 @@ Item { buttonIcon: StudioTheme.Constants.settings_medium onClicked: backend.triggerProjectSettings() enabled: backend.isInDesignMode || (backend.isInEditMode && backend.projectOpened) + tooltip: qsTr("Set runtime configuration for the project.") } Text { @@ -45,6 +47,10 @@ Item { horizontalAlignment: Text.AlignRight verticalAlignment: Text.AlignVCenter elide: Text.ElideRight + ToolTipArea { + anchors.fill: parent + tooltip: qsTr("Choose a predefined kit for the runtime configuration of the project.") + } } StudioControls.TopLevelComboBox { @@ -67,6 +73,10 @@ Item { horizontalAlignment: Text.AlignRight verticalAlignment: Text.AlignVCenter elide: Text.ElideRight + ToolTipArea { + anchors.fill: parent + tooltip: qsTr("Choose a style for the Qt Quick Controls of the project.") + } } StudioControls.TopLevelComboBox { -- cgit v1.2.1