7#ifndef GRAPHICS_POINT_H
8#define GRAPHICS_POINT_H
10#include "GraphicsPointAbstractBase.h"
11#include "GraphicsPoint.h"
44 const QString &identifier,
45 const QPointF &posScreen,
52 const QString &identifier,
53 const QPointF &posScreen,
55 const QPolygonF &polygon,
62 QVariant
data (
int key)
const;
70 double ordinalKey)
const;
99 void createPointEllipse (
unsigned int radius);
100 void createPointPolygon (
const QPolygonF &polygon);
102 QGraphicsScene &m_scene;
113 const QString m_identifier;
114 const QPointF m_posScreen;
115 const QColor m_color;
Container for LineStyle and PointStyle for one 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 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(...
void setToolTip(const QString &toolTip)
Proxy method for QGraphicsItem::setToolTip.
~GraphicsPoint()
Destructor. This remove the graphics item from the scene.
void setPos(const QPointF pos)
Update the position.
QVariant data(int key) const
Proxy method for QGraphicsItem::data.
Details for a specific Point.