测量功能完成

This commit is contained in:
hm
2022-04-07 11:20:58 +08:00
parent d104835752
commit 2c9e03c111
24 changed files with 81 additions and 26 deletions
+17
View File
@@ -142,6 +142,20 @@ QString WayPointButton::Text(void)
return text;
}
void WayPointButton::setHighLight(bool flag)
{
highlight = flag;
if(highlight)
{
opacity = 1;
}
else
{
opacity = 0.5;
}
}
@@ -209,6 +223,9 @@ void WayPointButton::hoverMoveEvent(QGraphicsSceneHoverEvent *event)
event->accept();
}
}