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