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