53 #include "../vwidgets/vsimplepoint.h"
54 #include "../vgeometry/vpointf.h"
55 #include "../vwidgets/scalesceneitems.h"
57 #include <QGraphicsSceneMouseEvent>
81 for (
int i = 0; i < nodes.size(); ++i)
86 point->setVisible(
true);
92 if (points.size() > 0)
124 m_line->setVisible(
false);
127 for (
int i=0; i <
m_points.size(); ++i)
129 if (QGraphicsEllipseItem *item =
m_points.at(i))
131 item->setVisible(
false);
The VContainer class container of all variables.
QVector< QPointF > PathPoints(const VContainer *data) const
qint32 CountNodes() const
QVector< VPointF > PathNodePoints(const VContainer *data, bool showExcluded=true) const
Qt::PenStyle GetPenType() const
QPainterPath PainterPath(const VContainer *data) const
virtual void refreshPointGeometry(const VPointF &point)
void setOnlyPoint(bool value)
VSimplePoint * GetPoint(QVector< VSimplePoint * > &points, quint32 i, const QColor &color)
void DrawPath(VCurvePathItem *pathItem, const QPainterPath &path, const QColor &color, Qt::PenStyle style=Qt::SolidLine, const qreal &weight=0.35, Qt::PenCapStyle cap=Qt::SquareCap)
virtual void DrawLine(VScaledLine *lineItem, const QLineF &line, const QColor &color, const qreal &lineWeight, Qt::PenStyle style=Qt::SolidLine)