Added tooltips to UI elements

This commit is contained in:
Stephan Roos
2026-03-01 13:44:59 +02:00
parent d946ec55fb
commit 9220b0d439

View File

@ -1216,6 +1216,9 @@ MuseScore {
Layout.fillWidth: true Layout.fillWidth: true
model: profiles.map(p => p.name) model: profiles.map(p => p.name)
currentIndex: currentProfileIndex currentIndex: currentProfileIndex
ToolTip.visible: hovered
ToolTip.delay: 500
ToolTip.text: "Select dictionary for fingering diagrams and sounding frequency"
onActivated: { onActivated: {
profileChanged(index) profileChanged(index)
} }
@ -1397,6 +1400,9 @@ MuseScore {
color: sysPal.text color: sysPal.text
selectionColor: sysPal.highlight selectionColor: sysPal.highlight
selectedTextColor: sysPal.highlightedText selectedTextColor: sysPal.highlightedText
ToolTip.visible: hovered
ToolTip.delay: 500
ToolTip.text: "Font families, separated as CSV, to try to use for the staff text. List order reflects priority."
background: Rectangle { background: Rectangle {
color: backgroundColor color: backgroundColor
border.color: textColor border.color: textColor
@ -1601,6 +1607,9 @@ MuseScore {
Label { Label {
id: previewLabel id: previewLabel
text: getPreviewText() text: getPreviewText()
ToolTip.visible: hovered
ToolTip.delay: 1000
ToolTip.text: "Due to a limitation, the preview font does not reflect the selected font"
//font.family: getFontStack() //font.family: getFontStack()
//font.pointSize: userFontSize //font.pointSize: userFontSize
color: textColor color: textColor