Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DocumentModelSegments Class Reference

Model for DlgSettingsSegments and CmdSettingsSegments. More...

#include <DocumentModelSegments.h>

Inheritance diagram for DocumentModelSegments:
DocumentModelAbstractBase

Public Member Functions

 DocumentModelSegments ()
 Default constructor.
 
 DocumentModelSegments (const Document &document)
 Initial constructor from Document.
 
 DocumentModelSegments (const DocumentModelSegments &other)
 Copy constructor.
 
DocumentModelSegmentsoperator= (const DocumentModelSegments &other)
 Assignment constructor.
 
bool fillCorners () const
 Get method for fill corners.
 
ColorPalette lineColor () const
 Get method for line color.
 
double lineWidth () const
 Get method for line width.
 
virtual void loadXml (QXmlStreamReader &reader)
 Load model from serialized xml.
 
double minLength () const
 Get method for min length.
 
double pointSeparation () const
 Get method for point separation.
 
void printStream (QString indentation, QTextStream &str) const
 Debugging method that supports print method of this class and printStream method of some other class(es)
 
virtual void saveXml (QXmlStreamWriter &writer) const
 Save entire model as xml into stream.
 
void setFillCorners (bool fillCorners)
 Set method for fill corners.
 
void setLineColor (ColorPalette lineColor)
 Set method for line color.
 
void setLineWidth (double lineWidth)
 Set method for line width.
 
void setMinLength (double minLength)
 Set method for min length.
 
void setPointSeparation (double pointSeparation)
 Set method for point separation.
 
- Public Member Functions inherited from DocumentModelAbstractBase
 DocumentModelAbstractBase ()
 Single constructor.
 
virtual ~DocumentModelAbstractBase ()
 Single destructor.
 

Additional Inherited Members

Detailed Description

Model for DlgSettingsSegments and CmdSettingsSegments.

Definition at line 17 of file DocumentModelSegments.h.

Constructor & Destructor Documentation

◆ DocumentModelSegments() [1/3]

DocumentModelSegments::DocumentModelSegments ( )

Default constructor.

Definition at line 21 of file DocumentModelSegments.cpp.

◆ DocumentModelSegments() [2/3]

DocumentModelSegments::DocumentModelSegments ( const Document document)

Initial constructor from Document.

Definition at line 30 of file DocumentModelSegments.cpp.

◆ DocumentModelSegments() [3/3]

DocumentModelSegments::DocumentModelSegments ( const DocumentModelSegments other)

Copy constructor.

Definition at line 39 of file DocumentModelSegments.cpp.

Member Function Documentation

◆ fillCorners()

bool DocumentModelSegments::fillCorners ( ) const

Get method for fill corners.

Definition at line 59 of file DocumentModelSegments.cpp.

◆ lineColor()

ColorPalette DocumentModelSegments::lineColor ( ) const

Get method for line color.

Definition at line 64 of file DocumentModelSegments.cpp.

◆ lineWidth()

double DocumentModelSegments::lineWidth ( ) const

Get method for line width.

Definition at line 69 of file DocumentModelSegments.cpp.

◆ loadXml()

void DocumentModelSegments::loadXml ( QXmlStreamReader &  reader)
virtual

Load model from serialized xml.

Implements DocumentModelAbstractBase.

Definition at line 74 of file DocumentModelSegments.cpp.

◆ minLength()

double DocumentModelSegments::minLength ( ) const

Get method for min length.

Definition at line 95 of file DocumentModelSegments.cpp.

◆ operator=()

DocumentModelSegments & DocumentModelSegments::operator= ( const DocumentModelSegments other)

Assignment constructor.

Definition at line 48 of file DocumentModelSegments.cpp.

◆ pointSeparation()

double DocumentModelSegments::pointSeparation ( ) const

Get method for point separation.

Definition at line 100 of file DocumentModelSegments.cpp.

◆ printStream()

void DocumentModelSegments::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 105 of file DocumentModelSegments.cpp.

◆ saveXml()

void DocumentModelSegments::saveXml ( QXmlStreamWriter &  writer) const
virtual

Save entire model as xml into stream.

Implements DocumentModelAbstractBase.

Definition at line 119 of file DocumentModelSegments.cpp.

◆ setFillCorners()

void DocumentModelSegments::setFillCorners ( bool  fillCorners)

Set method for fill corners.

Definition at line 135 of file DocumentModelSegments.cpp.

◆ setLineColor()

void DocumentModelSegments::setLineColor ( ColorPalette  lineColor)

Set method for line color.

Definition at line 140 of file DocumentModelSegments.cpp.

◆ setLineWidth()

void DocumentModelSegments::setLineWidth ( double  lineWidth)

Set method for line width.

Definition at line 145 of file DocumentModelSegments.cpp.

◆ setMinLength()

void DocumentModelSegments::setMinLength ( double  minLength)

Set method for min length.

Definition at line 150 of file DocumentModelSegments.cpp.

◆ setPointSeparation()

void DocumentModelSegments::setPointSeparation ( double  pointSeparation)

Set method for point separation.

Definition at line 155 of file DocumentModelSegments.cpp.


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