测量功能完成
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user