Engauge Digitizer 2
|
Details for a specific Line. More...
#include <LineStyle.h>
Public Member Functions | |
LineStyle () | |
Default constructor only for use when this class is being stored by a container that requires the default constructor. | |
LineStyle (unsigned int width, ColorPalette paletteColor, CurveConnectAs curveConnectAs) | |
Normal constructor. | |
LineStyle (const LineStyle &other) | |
Copy constructor. | |
LineStyle & | operator= (const LineStyle &other) |
Assignment operator. | |
CurveConnectAs | curveConnectAs () const |
Get method for connect type. | |
void | loadXml (QXmlStreamReader &reader) |
Load model from serialized xml. Returns the curve name. | |
ColorPalette | paletteColor () const |
Line color. | |
void | printStream (QString indentation, QTextStream &str) const |
Debugging method that supports print method of this class and printStream method of some other class(es) | |
void | saveXml (QXmlStreamWriter &writer) const |
Serialize to stream. | |
void | setCurveConnectAs (CurveConnectAs curveConnectAs) |
Set connect as. | |
void | setPaletteColor (ColorPalette paletteColor) |
Set method for line color. | |
void | setWidth (int width) |
Set width of line. | |
unsigned int | width () const |
Width of line. | |
Static Public Member Functions | |
static LineStyle | defaultAxesCurve () |
Initial default for axes curve. | |
static LineStyle | defaultGraphCurve (int index) |
Initial default for index'th graph curve. | |
Details for a specific Line.
Definition at line 19 of file LineStyle.h.
LineStyle::LineStyle | ( | ) |
Default constructor only for use when this class is being stored by a container that requires the default constructor.
Definition at line 26 of file LineStyle.cpp.
LineStyle::LineStyle | ( | unsigned int | width, |
ColorPalette | paletteColor, | ||
CurveConnectAs | curveConnectAs ) |
Normal constructor.
Definition at line 38 of file LineStyle.cpp.
Copy constructor.
Definition at line 47 of file LineStyle.cpp.
CurveConnectAs LineStyle::curveConnectAs | ( | ) | const |
Get method for connect type.
Definition at line 63 of file LineStyle.cpp.
|
static |
Initial default for axes curve.
Definition at line 68 of file LineStyle.cpp.
Initial default for index'th graph curve.
Definition at line 84 of file LineStyle.cpp.
void LineStyle::loadXml | ( | QXmlStreamReader & | reader | ) |
Load model from serialized xml. Returns the curve name.
Definition at line 104 of file LineStyle.cpp.
Assignment operator.
Definition at line 54 of file LineStyle.cpp.
ColorPalette LineStyle::paletteColor | ( | ) | const |
void LineStyle::printStream | ( | QString | indentation, |
QTextStream & | str ) const |
Debugging method that supports print method of this class and printStream method of some other class(es)
Definition at line 133 of file LineStyle.cpp.
void LineStyle::saveXml | ( | QXmlStreamWriter & | writer | ) | const |
Serialize to stream.
Definition at line 145 of file LineStyle.cpp.
void LineStyle::setCurveConnectAs | ( | CurveConnectAs | curveConnectAs | ) |
Set connect as.
Definition at line 158 of file LineStyle.cpp.
void LineStyle::setPaletteColor | ( | ColorPalette | paletteColor | ) |
Set method for line color.
Definition at line 163 of file LineStyle.cpp.
Set width of line.
Definition at line 168 of file LineStyle.cpp.