Little fix tools visuzlization.
(grafted from 7ef2dcf85f7b9da986105ad524382ba47efb177f) --HG-- branch : develop
This commit is contained in:
parent
7deed94604
commit
6b4b79a1b5
|
@ -37,6 +37,8 @@ VisToolPointOfIntersectionArcs::VisToolPointOfIntersectionArcs(const VContainer
|
|||
point(nullptr),
|
||||
arc1Path(nullptr), arc2Path(nullptr)
|
||||
{
|
||||
this->setPen(QPen(Qt::NoPen)); // don't use parent this time
|
||||
|
||||
arc1Path = InitItem<QGraphicsPathItem>(Qt::darkGreen, this);
|
||||
arc1Path->setFlag(QGraphicsItem::ItemStacksBehindParent, false);
|
||||
arc2Path = InitItem<QGraphicsPathItem>(Qt::darkRed, this);
|
||||
|
|
|
@ -37,6 +37,8 @@ VisToolPointOfIntersectionCircles::VisToolPointOfIntersectionCircles(const VCont
|
|||
crossPoint(CrossCirclesPoint::FirstPoint), point(nullptr), c1Center(nullptr), c2Center(nullptr), c1Path(nullptr),
|
||||
c2Path(nullptr)
|
||||
{
|
||||
this->setPen(QPen(Qt::NoPen)); // don't use parent this time
|
||||
|
||||
c1Path = InitItem<QGraphicsEllipseItem>(Qt::darkGreen, this);
|
||||
c2Path = InitItem<QGraphicsEllipseItem>(Qt::darkRed, this);
|
||||
point = InitPoint(mainColor, this);
|
||||
|
|
Loading…
Reference in New Issue
Block a user