summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2023-05-12 14:40:23 +0200
committerPranta Ghosh Dastider <pranta.dastider@qt.io>2023-05-16 15:44:29 +0000
commit4e2366550c64d491e9ca14f03e1ac27e55bd4c60 (patch)
tree14930fbd649dfbd6f632be98f3cf19ac00c48e2e
parent77b2c82f05955420fd600b68d392bc68156c8982 (diff)
downloadqt-creator-qds/dev.tar.gz
QmlDesigner: Add tooltips to statusbarqds/dev
Task-number: QDS-9851 Change-Id: If71410189422e577e0ea3540fbdef35803268ea4 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/statusbar/Main.qml10
1 files changed, 10 insertions, 0 deletions
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 {