15 class QXmlStreamReader;
16 class QXmlStreamWriter;
46 void loadXml(QXmlStreamReader &reader);
53 QTextStream &str)
const;
56 void saveXml(QXmlStreamWriter &writer)
const;
68 unsigned int width ()
const;
77 #endif // LINE_STYLE_H
void loadXml(QXmlStreamReader &reader)
Load model from serialized xml. Returns the curve name.
static LineStyle defaultGraphCurve(int index)
Initial default for index'th graph curve.
unsigned int width() const
Width of line.
LineStyle & operator=(const LineStyle &other)
Assignment operator.
static LineStyle defaultAxesCurve()
Initial default for axes curve.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
Details for a specific Line.
ColorPalette paletteColor() const
Line color.
void setCurveConnectAs(CurveConnectAs curveConnectAs)
Set connect as.
CurveConnectAs curveConnectAs() const
Get method for connect type.
void setPaletteColor(ColorPalette paletteColor)
Set method for line color.
void saveXml(QXmlStreamWriter &writer) const
Serialize to stream.
void setWidth(int width)
Set width of line.
LineStyle()
Default constructor only for use when this class is being stored by a container that requires the def...