mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 08:48:40 +02:00
[AttributePin] Add tooltip to display type of attribute
This commit is contained in:
parent
9c33c57305
commit
de5ca552f7
2 changed files with 7 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue