7#ifndef GRAPHICS_LINES_FOR_CURVES_H
8#define GRAPHICS_LINES_FOR_CURVES_H
22typedef QHash<QString, GraphicsLinesForCurve*> GraphicsLinesContainer;
33 void addPoint (
const QString &curveName,
34 const QString &pointIdentifier,
40 const QStringList &curveNames);
53 QTextStream &str)
const;
68 const QString &curveName,
83 GraphicsLinesContainer m_graphicsLinesForCurve;
Model for DlgSettingsCurveProperties and CmdSettingsCurveProperties.
This class stores the GraphicsLine objects for one Curve.
This class stores the GraphicsLinesForCurves objects, one per Curve.
GraphicsLinesForCurves()
Single constructor.
void updatePointOrdinalsAfterDrag(const CurveStyles &curveStyles, const Transformation &transformation)
See GraphicsScene::updateOrdinalsAfterDrag.
void removePoint(const QString &identifier)
Remove the specified point. The act of deleting it will automatically remove it from the GraphicsScen...
void updateCurveStyles(const CurveStyles &modelCurveStyles)
Update the curve style for every curve.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
void resetOnLoad()
Reset, when loading a document after the first, to same state that first document was at when loaded.
void removeTemporaryPointIfExists()
Remove temporary point if it exists.
void updateAfterCommand(GraphicsScene &scene, const CurveStyles &curveStyles, const QString &curveName, const Point &point)
Update the GraphicsScene with the specified Point from the Document. If it does not exist yet in the ...
void updateGraphicsLinesToMatchGraphicsPoints(const CurveStyles &curveStyles)
Calls to moveLinesWithDraggedPoint have finished so update the lines correspondingly.
void addRemoveCurves(GraphicsScene &scene, const QStringList &curveNames)
Add new curves and remove expired curves to match the specified list.
void addPoint(const QString &curveName, const QString &pointIdentifier, double ordinal, GraphicsPoint &point)
Add new point.
void lineMembershipReset()
Mark points as unwanted. Afterwards, lineMembershipPurge gets called.
void print() const
Debugging method for printing directly from symbolic debugger.
void lineMembershipPurge(const CurveStyles &curveStyles)
Mark the end of addPoint calls. Remove stale lines, insert missing lines, and draw the graphics lines...
Graphics item for drawing a circular or polygonal Point.
Add point and line handling to generic QGraphicsScene.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...