10 #include "ColorPalette.h" 11 #include "CurveConnectAs.h" 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;
73 ColorPalette m_paletteColor;
74 CurveConnectAs m_curveConnectAs;
77 #endif // LINE_STYLE_H CurveConnectAs curveConnectAs() const
Get method for connect type.
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 saveXml(QXmlStreamWriter &writer) const
Serialize to stream.
ColorPalette paletteColor() const
Line color.
Details for a specific 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 setCurveConnectAs(CurveConnectAs curveConnectAs)
Set connect as.
void setPaletteColor(ColorPalette paletteColor)
Set method for line color.
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...