[AttributePin] Add tooltip to display type of attribute

This commit is contained in:
Aurore LAFAURIE 2024-09-10 14:52:49 +02:00
parent 9c33c57305
commit de5ca552f7
2 changed files with 7 additions and 2 deletions

View file

@ -35,6 +35,11 @@ RowLayout {
layoutDirection: Qt.LeftToRight
spacing: 3
ToolTip.text: attribute.name + ": " + attribute.type
ToolTip.visible: nameLabel.hovered
ToolTip.toolTip.y: nameLabel.y + nameLabel.height
ToolTip.toolTip.x: nameLabel.x
function updatePin(isSrc, isVisible)
{
if (isSrc) {