Re-add tooltips for intent profile selection in recommended.

They where skipped over when transferring the radio bar to the current large button based setup.

CURA-9746
This commit is contained in:
Remco Burema 2022-10-12 14:43:55 +02:00
parent 74f864e285
commit 8db3f02a4f
2 changed files with 9 additions and 1 deletions

View file

@ -19,6 +19,7 @@ Rectangle
property bool selected: false
property string profileName: ""
property string icon: ""
property alias tooltipText: tooltip.text
signal clicked()
@ -30,6 +31,13 @@ Rectangle
onClicked: base.clicked()
}
UM.ToolTip
{
id: tooltip
visible: mouseArea.containsMouse
targetPoint: Qt.point(base.x + (base.width / 2), base.y + (base.height / 2))
}
Item
{
width: intentIcon.width