7#ifndef GRAPHICS_POINT_H
8#define GRAPHICS_POINT_H
114 void createPointEllipse (
unsigned int radius);
115 void createPointPolygon (
const QPolygonF &polygon);
117 QGraphicsScene &m_scene;
136 double m_highlightOpacity;
const int INNER_RADIUS_MIN
const double DEFAULT_HIGHLIGHT_OPACITY
Container for LineStyle and PointStyle for one Curve.
Window that displays the geometry information, as a table, for the current curve.
Base class for adding identifiers to graphics items that represent Points.
This class add event handling to QGraphicsEllipseItem.
This class add event handling to QGraphicsPolygonItem.
Graphics item for drawing a circular or polygonal Point.
QPointF pos() const
Proxy method for QGraphicsItem::pos.
void setWanted()
Mark point as wanted. Marking as unwanted is done by the reset function.
void setData(int key, const QVariant &data)
Proxy method for QGraphicsItem::setData.
void setPointStyle(const PointStyle &pointStyle)
Update the point style.
void updateCurveStyle(const CurveStyle &curveStyle)
Update point and line styles that comprise the curve style.
void setPassive()
Prevent automatic focus on point (=make it passive) for scale bar so drags can be made to work proper...
void reset()
Mark point as unwanted, and unbind any bound lines.
bool wanted() const
Identify point as wanted//unwanted.
void printStream(QString indentation, QTextStream &str, double ordinalKey) const
Debugging method that supports print method of this class and printStream method of some other class(...
~GraphicsPoint()
Destructor. This remove the graphics item from the scene.
QRectF boundingRect() const
Proxy method for QGraphicsItem::boundingRect.
void setHighlightOpacity(double highlightOpacity)
Set method for highlight opacity.
double highlightOpacity() const
Get method for highlight opacity.
void setPos(const QPointF pos)
Update the position.
QVariant data(int key) const
Proxy method for QGraphicsItem::data.
Details for a specific Point.