forked from qt-creator/qt-creator
QmlDesigner: Add tooltips to statusbar
Task-number: QDS-9851 Change-Id: If71410189422e577e0ea3540fbdef35803268ea4 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
This commit is contained in:
committed by
Pranta Ghosh Dastider
parent
77b2c82f05
commit
4e2366550c
@@ -6,6 +6,7 @@ import QtQuick.Controls
|
|||||||
import StudioControls 1.0 as StudioControls
|
import StudioControls 1.0 as StudioControls
|
||||||
import StudioTheme 1.0 as StudioTheme
|
import StudioTheme 1.0 as StudioTheme
|
||||||
import "../toolbar"
|
import "../toolbar"
|
||||||
|
import HelperWidgets 2.0
|
||||||
|
|
||||||
import ToolBar 1.0
|
import ToolBar 1.0
|
||||||
|
|
||||||
@@ -35,6 +36,7 @@ Item {
|
|||||||
buttonIcon: StudioTheme.Constants.settings_medium
|
buttonIcon: StudioTheme.Constants.settings_medium
|
||||||
onClicked: backend.triggerProjectSettings()
|
onClicked: backend.triggerProjectSettings()
|
||||||
enabled: backend.isInDesignMode || (backend.isInEditMode && backend.projectOpened)
|
enabled: backend.isInDesignMode || (backend.isInEditMode && backend.projectOpened)
|
||||||
|
tooltip: qsTr("Set runtime configuration for the project.")
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
@@ -45,6 +47,10 @@ Item {
|
|||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
ToolTipArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
tooltip: qsTr("Choose a predefined kit for the runtime configuration of the project.")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StudioControls.TopLevelComboBox {
|
StudioControls.TopLevelComboBox {
|
||||||
@@ -67,6 +73,10 @@ Item {
|
|||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
ToolTipArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
tooltip: qsTr("Choose a style for the Qt Quick Controls of the project.")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StudioControls.TopLevelComboBox {
|
StudioControls.TopLevelComboBox {
|
||||||
|
|||||||
Reference in New Issue
Block a user