Fix visualization for tool Point from circle and tangent.
This commit is contained in:
parent
851e8cf5e5
commit
7d6ad602f5
|
@ -1,5 +1,6 @@
|
||||||
# Valentina 0.7.53 (unreleased)
|
# Valentina 0.7.53 (unreleased)
|
||||||
- Fix layout sheet export with empty name.
|
- Fix layout sheet export with empty name.
|
||||||
|
- Fix visualization for tool Point from circle and tangent.
|
||||||
|
|
||||||
# Valentina 0.7.52 September 12, 2022
|
# Valentina 0.7.52 September 12, 2022
|
||||||
- Fix crash when default locale is ru.
|
- Fix crash when default locale is ru.
|
||||||
|
|
|
@ -47,7 +47,8 @@
|
||||||
VisToolPointFromCircleAndTangent::VisToolPointFromCircleAndTangent(const VContainer *data, QGraphicsItem *parent)
|
VisToolPointFromCircleAndTangent::VisToolPointFromCircleAndTangent(const VContainer *data, QGraphicsItem *parent)
|
||||||
: VisLine(data, parent)
|
: VisLine(data, parent)
|
||||||
{
|
{
|
||||||
m_cPath = InitItem<QGraphicsEllipseItem>(Qt::darkGreen, this);
|
m_cPath = InitItem<VScaledEllipse>(Qt::darkGreen, this);
|
||||||
|
m_cPath->SetPointMode(false);
|
||||||
m_point = InitPoint(Color(VColor::MainColor), this);
|
m_point = InitPoint(Color(VColor::MainColor), this);
|
||||||
m_tangent = InitPoint(Color(VColor::SupportColor), this);
|
m_tangent = InitPoint(Color(VColor::SupportColor), this);
|
||||||
m_cCenter = InitPoint(Color(VColor::SupportColor), this); //-V656
|
m_cCenter = InitPoint(Color(VColor::SupportColor), this); //-V656
|
||||||
|
|
|
@ -67,7 +67,7 @@ private:
|
||||||
VScaledEllipse *m_point{nullptr};
|
VScaledEllipse *m_point{nullptr};
|
||||||
VScaledEllipse *m_tangent{nullptr};
|
VScaledEllipse *m_tangent{nullptr};
|
||||||
VScaledEllipse *m_cCenter{nullptr};
|
VScaledEllipse *m_cCenter{nullptr};
|
||||||
QGraphicsEllipseItem *m_cPath{nullptr};
|
VScaledEllipse *m_cPath{nullptr};
|
||||||
VScaledLine *m_tangent2{nullptr};
|
VScaledLine *m_tangent2{nullptr};
|
||||||
quint32 m_pointId{NULL_ID};
|
quint32 m_pointId{NULL_ID};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user