Engauge Digitizer  2
Public Member Functions | List of all members
CurveStyles Class Reference

Model for DlgSettingsCurveProperties and CmdSettingsCurveProperties. More...

#include <CurveStyles.h>

Public Member Functions

 CurveStyles ()
 Default constructor.
 
 CurveStyles (const CoordSystem &coordSystem)
 Initial constructor from Document.
 
 CurveStyles (const CurveStyles &other)
 Copy constructor.
 
CurveStylesoperator= (const CurveStyles &other)
 Assignment constructor.
 
QStringList curveNames () const
 List of all curve names.
 
CurveStyle curveStyle (const QString &curveName) const
 CurveStyle in specified curve.
 
ColorPalette lineColor (const QString &curveName) const
 Get method for line color in specified curve.
 
CurveConnectAs lineConnectAs (const QString &curveName) const
 Get method for connect as method for lines in specified curve.
 
const LineStyle lineStyle (const QString &curveName) const
 Get method for copying one line style in one step.
 
int lineWidth (const QString &curveName) const
 Get method for line width in specified curve.
 
void loadXml (QXmlStreamReader &reader)
 Load from serialized xml.
 
ColorPalette pointColor (const QString &curveName) const
 Get method for curve point color in specified curve.
 
bool pointIsCircle (const QString &curveName) const
 Get method for curve point is circle in specified curve.
 
int pointLineWidth (const QString &curveName) const
 Get method for curve point line width.
 
QPolygonF pointPolygon (const QString &curveName) const
 Get method for curve point polygon in specified curve.
 
int pointRadius (const QString &curveName) const
 Get method for curve point radius.
 
PointShape pointShape (const QString &curveName) const
 Get method for curve point shape.
 
const PointStyle pointStyle (const QString &curveName) const
 Get method for copying one point style. Cannot return just a reference or else there is a warning about returning reference to temporary.
 
void saveXml (QXmlStreamWriter &writer) const
 Serialize to xml.
 
void setCurveStyle (const QString &curveName, const CurveStyle &curveStyle)
 Set method for curve style.
 
void setLineColor (const QString &curveName, ColorPalette lineColor)
 Set method for line color in specified curve.
 
void setLineConnectAs (const QString &curveName, CurveConnectAs curveConnectAs)
 Set method for connect as method for lines in specified curve.
 
void setLineWidth (const QString &curveName, int width)
 Set method for line width in specified curve.
 
void setPointColor (const QString &curveName, ColorPalette curveColor)
 Set method curve point color in specified curve.
 
void setPointIsCircle (const QString &curveName, bool pointIsCircle)
 Set method for curve point is circle in specified curve.
 
void setPointLineWidth (const QString &curveName, int width)
 Set method for curve point perimeter line width.
 
void setPointRadius (const QString &curveName, int radius)
 Set method for curve point radius.
 
void setPointShape (const QString &curveName, PointShape shape)
 Set method for curve point shape in specified curve.
 

Detailed Description

Model for DlgSettingsCurveProperties and CmdSettingsCurveProperties.

Definition at line 22 of file CurveStyles.h.


The documentation for this class was generated from the following files: