10 #include "LineStyle.h" 11 #include "PointStyle.h" 14 class QXmlStreamReader;
15 class QXmlStreamWriter;
32 QString
loadXml (QXmlStreamReader &reader);
39 QTextStream &str)
const;
42 void saveXml(QXmlStreamWriter &writer,
43 const QString &curveName)
const;
78 #endif // CURVE_STYLE_H void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
CurveStyle()
Default constructor.
PointStyle pointStyle() const
Get method for PointStyle.
void setPointShape(PointShape shape)
Set method for curve point shape in specified curve.
void setLineConnectAs(CurveConnectAs curveConnectAs)
Set method for connect as method for lines in specified curve.
void setLineStyle(const LineStyle &lineStyle)
Set method for LineStyle.
void setPointRadius(int radius)
Set method for curve point radius.
void setPointLineWidth(int width)
Set method for curve point perimeter line width.
Details for a specific Point.
QString loadXml(QXmlStreamReader &reader)
Load from serialized xml. Returns the curve name.
LineStyle lineStyle() const
Get method for LineStyle.
Container for LineStyle and PointStyle for one Curve.
Details for a specific Line.
void setLineColor(ColorPalette lineColor)
Set method for line color in specified curve.
void saveXml(QXmlStreamWriter &writer, const QString &curveName) const
Serialize to xml.
void setPointColor(ColorPalette curveColor)
Set method curve point color in specified curve.
void setLineWidth(int width)
Set method for line width in specified curve.
void setPointStyle(const PointStyle &pointStyle)
Set method for PointStyle.