Engauge Digitizer 2
|
Container for LineStyle and PointStyle for one Curve. More...
#include <CurveStyle.h>
Public Member Functions | |
CurveStyle () | |
Default constructor. | |
CurveStyle (const LineStyle &lineStyle, const PointStyle &pointStyle) | |
Constructor with styles. | |
LineStyle | lineStyle () const |
Get method for LineStyle. | |
QString | loadXml (QXmlStreamReader &reader) |
Load from serialized xml. Returns the curve name. | |
PointStyle | pointStyle () const |
Get method for PointStyle. | |
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 QString &curveName) const |
Serialize to xml. | |
void | setLineColor (ColorPalette lineColor) |
Set method for line color 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 | setLineWidth (int width) |
Set method for line width in specified curve. | |
void | setPointColor (ColorPalette curveColor) |
Set method curve point color in specified curve. | |
void | setPointLineWidth (int width) |
Set method for curve point perimeter line width. | |
void | setPointRadius (int radius) |
Set method for curve point radius. | |
void | setPointShape (PointShape shape) |
Set method for curve point shape in specified curve. | |
void | setPointStyle (const PointStyle &pointStyle) |
Set method for PointStyle. | |
Container for LineStyle and PointStyle for one Curve.
Definition at line 18 of file CurveStyle.h.
CurveStyle::CurveStyle | ( | ) |
CurveStyle::CurveStyle | ( | const LineStyle & | lineStyle, |
const PointStyle & | pointStyle ) |
Constructor with styles.
Definition at line 19 of file CurveStyle.cpp.
LineStyle CurveStyle::lineStyle | ( | ) | const |
Get method for LineStyle.
Definition at line 26 of file CurveStyle.cpp.
QString CurveStyle::loadXml | ( | QXmlStreamReader & | reader | ) |
Load from serialized xml. Returns the curve name.
Definition at line 31 of file CurveStyle.cpp.
PointStyle CurveStyle::pointStyle | ( | ) | const |
Get method for PointStyle.
Definition at line 75 of file CurveStyle.cpp.
void CurveStyle::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 80 of file CurveStyle.cpp.
void CurveStyle::saveXml | ( | QXmlStreamWriter & | writer, |
const QString & | curveName ) const |
Serialize to xml.
Definition at line 93 of file CurveStyle.cpp.
void CurveStyle::setLineColor | ( | ColorPalette | lineColor | ) |
Set method for line color in specified curve.
Definition at line 105 of file CurveStyle.cpp.
void CurveStyle::setLineConnectAs | ( | CurveConnectAs | curveConnectAs | ) |
Set method for connect as method for lines in specified curve.
Definition at line 110 of file CurveStyle.cpp.
Set method for LineStyle.
Definition at line 115 of file CurveStyle.cpp.
Set method for line width in specified curve.
Definition at line 120 of file CurveStyle.cpp.
void CurveStyle::setPointColor | ( | ColorPalette | curveColor | ) |
Set method curve point color in specified curve.
Definition at line 125 of file CurveStyle.cpp.
Set method for curve point perimeter line width.
Definition at line 130 of file CurveStyle.cpp.
Set method for curve point radius.
Definition at line 135 of file CurveStyle.cpp.
void CurveStyle::setPointShape | ( | PointShape | shape | ) |
Set method for curve point shape in specified curve.
Definition at line 140 of file CurveStyle.cpp.
void CurveStyle::setPointStyle | ( | const PointStyle & | pointStyle | ) |
Set method for PointStyle.
Definition at line 145 of file CurveStyle.cpp.