16class QXmlStreamReader;
17class QXmlStreamWriter;
53 int lineWidth (
const QString &curveName)
const;
56 void loadXml (QXmlStreamReader &reader);
80 void saveXml(QXmlStreamWriter &writer)
const;
QHash< QString, CurveStyle > CurveStylesInternal
Storage of data belonging to one coordinate system.
Container for LineStyle and PointStyle for one Curve.
Model for DlgSettingsCurveProperties and CmdSettingsCurveProperties.
ColorPalette pointColor(const QString &curveName) const
Get method for curve point color in specified curve.
bool pointIsCircle(const QString &curveName) const
Get method for curve point is circle in specified curve.
void setPointIsCircle(const QString &curveName, bool pointIsCircle)
Set method for curve point is circle in specified curve.
const LineStyle lineStyle(const QString &curveName) const
Get method for copying one line style in one step.
void setPointRadius(const QString &curveName, int radius)
Set method for curve point radius.
void setPointLineWidth(const QString &curveName, int width)
Set method for curve point perimeter line width.
void setPointColor(const QString &curveName, ColorPalette curveColor)
Set method curve point color in specified curve.
ColorPalette lineColor(const QString &curveName) const
Get method for line color in specified curve.
int pointRadius(const QString &curveName) const
Get method for curve point radius.
void saveXml(QXmlStreamWriter &writer) const
Serialize to xml.
void loadXml(QXmlStreamReader &reader)
Load from serialized xml.
int pointLineWidth(const QString &curveName) const
Get method for curve point line width.
CurveStyle curveStyle(const QString &curveName) const
CurveStyle in specified curve.
CurveConnectAs lineConnectAs(const QString &curveName) const
Get method for connect as method for lines in specified curve.
void setLineColor(const QString &curveName, ColorPalette lineColor)
Set method for line color in specified curve.
QPolygonF pointPolygon(const QString &curveName) const
Get method for curve point polygon in specified curve.
const PointStyle pointStyle(const QString &curveName) const
Get method for copying one point style. Cannot return just a reference or else there is a warning abo...
QStringList curveNames() const
List of all curve names.
int lineWidth(const QString &curveName) const
Get method for line width in specified curve.
void setCurveStyle(const QString &curveName, const CurveStyle &curveStyle)
Set method for curve style.
CurveStyles()
Default constructor.
void setPointShape(const QString &curveName, PointShape shape)
Set method for curve point shape in specified curve.
void setLineWidth(const QString &curveName, int width)
Set method for line width in specified curve.
CurveStyles & operator=(const CurveStyles &other)
Assignment constructor.
PointShape pointShape(const QString &curveName) const
Get method for curve point shape.
void setLineConnectAs(const QString &curveName, CurveConnectAs curveConnectAs)
Set method for connect as method for lines in specified curve.
Details for a specific Line.
Details for a specific Point.