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

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.
 
LineStyleoperator= (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.
 

Detailed Description

Details for a specific Line.

Definition at line 19 of file LineStyle.h.


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