15#include <QGraphicsScene>
31 switch (pointStyle.
shape ())
const int INNER_RADIUS_MIN
QColor ColorPaletteToQColor(ColorPalette color)
Window that displays the geometry information, as a table, for the current curve.
GraphicsPointFactory()
Single constructor.
GraphicsPoint * createPoint(QGraphicsScene &scene, const QString &identifier, const QPointF &posScreen, const PointStyle &pointStyle, GeometryWindow *geometryWindow)
Create circle or polygon point according to the PointStyle.
Graphics item for drawing a circular or polygonal Point.
Details for a specific Point.
unsigned int radius() const
Radius of point. For a circle this is all that is needed to draw a circle. For a polygon,...
QPolygonF polygon() const
Return the polygon for creating a QGraphicsPolygonItem. The size is determined by the radius.
PointShape shape() const
Get method for point shape.
ColorPalette paletteColor() const
Get method for point color.
int lineWidth() const
Get method for line width.