Code style.
This commit is contained in:
parent
92c9160bea
commit
1ba202e550
|
@ -43,7 +43,7 @@
|
|||
VisLine::VisLine(const VContainer *data, QGraphicsItem *parent)
|
||||
:Visualization(data), VScaledLine(parent)
|
||||
{
|
||||
this->setZValue(1);// Show on top real tool
|
||||
this->setZValue(1);// Show on top of a real tool
|
||||
InitPen();
|
||||
}
|
||||
|
||||
|
|
|
@ -45,8 +45,7 @@
|
|||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VisToolHeight::VisToolHeight(const VContainer *data, QGraphicsItem *parent)
|
||||
: VisLine(data, parent), lineP1Id(NULL_ID), lineP2Id(NULL_ID), point(nullptr), base_point(nullptr), lineP1(nullptr),
|
||||
lineP2(nullptr), line(nullptr), line_intersection(nullptr)
|
||||
: VisLine(data, parent)
|
||||
{
|
||||
base_point = InitPoint(supportColor, this);
|
||||
lineP1 = InitPoint(supportColor, this);
|
||||
|
|
|
@ -56,14 +56,14 @@ public:
|
|||
private:
|
||||
Q_DISABLE_COPY(VisToolHeight)
|
||||
//base point in parent class
|
||||
quint32 lineP1Id;//first point of line
|
||||
quint32 lineP2Id;//second point of line
|
||||
VScaledEllipse *point;
|
||||
VScaledEllipse *base_point;
|
||||
VScaledEllipse *lineP1;
|
||||
VScaledEllipse *lineP2;
|
||||
VScaledLine *line;
|
||||
VScaledLine *line_intersection;
|
||||
quint32 lineP1Id{NULL_ID};//first point of line
|
||||
quint32 lineP2Id{NULL_ID};//second point of line
|
||||
VScaledEllipse *point{nullptr};
|
||||
VScaledEllipse *base_point{nullptr};
|
||||
VScaledEllipse *lineP1{nullptr};
|
||||
VScaledEllipse *lineP2{nullptr};
|
||||
VScaledLine *line{nullptr};
|
||||
VScaledLine *line_intersection{nullptr};
|
||||
void ShowIntersection(const QLineF &height_line, const QLineF &base_line);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user