[TD]detail highlight color/style

This commit is contained in:
wandererfan
2020-03-25 20:30:18 -04:00
committed by WandererFan
parent ebc6536ce8
commit fcf5ec0270
7 changed files with 485 additions and 340 deletions

View File

@@ -1016,6 +1016,8 @@ void QGIViewPart::drawHighlight(TechDraw::DrawViewDetail* viewDetail, bool b)
addToGroup(highlight);
highlight->setPos(0.0,0.0); //sb setPos(center.x,center.y)?
highlight->setReference(const_cast<char*>(viewDetail->Reference.getValue()));
highlight->setStyle((Qt::PenStyle)vp->HighlightLineStyle.getValue());
highlight->setColor(vp->HighlightLineColor.getValue().asValue<QColor>());
Base::Vector3d center = viewDetail->AnchorPoint.getValue() * viewPart->getScale();