7#ifndef DOCUMENT_MODEL_GRID_REMOVAL_H
8#define DOCUMENT_MODEL_GRID_REMOVAL_H
58 virtual void loadXml(QXmlStreamReader &reader);
62 QTextStream &str)
const;
67 virtual void saveXml(QXmlStreamWriter &writer)
const;
119 double stepX()
const;
122 double stepY()
const;
125 double stopX()
const;
128 double stopY()
const;
135 bool m_removeDefinedGridLines;
136 double m_closeDistance;
DocumentModelAbstractBase()
Single constructor.
double closeDistance() const
Get method for close distance.
GridCoordDisable gridCoordDisableX() const
Get method for x coord parameter to disable.
bool removeDefinedGridLines() const
Get method for removing defined grid lines.
double stopX() const
Get method for x stop.
GridCoordDisable gridCoordDisableY() const
Get method for y coord parameter to disable.
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
void setCloseDistance(double closeDistance)
Set method for close distance.
void setStopY(double stopY)
Set method for y stop.
double startX() const
Get method for x start.
void setCountX(int countX)
Set method for x count.
double stopY() const
Get method for y stop.
void setGridCoordDisableY(GridCoordDisable gridCoordDisable)
Set method for y coord parameter to disable.
double stepX() const
Get method for x step.
DocumentModelGridRemoval & operator=(const DocumentModelGridRemoval &other)
Assignment constructor.
void setStable()
Set the stable flag to true. This public version has no argument since it cannot be undone.
void setGridCoordDisableX(GridCoordDisable gridCoordDisable)
Set method for x coord parameter to disable.
void setStepX(double stepX)
Set method for x step.
void setStopX(double stopX)
Set method for x stop.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
void setStartY(double startY)
Set method for y start.
double stepY() const
Get method for y step.
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.
int countY() const
Get method for y count.
int countX() const
Get method for x count.
double startY() const
Get method for y start.
void setRemoveDefinedGridLines(bool removeDefinedGridLines)
Set method for removing defined grid lines.
bool stable() const
Get method for stable flag.
void setStepY(double stepY)
Set method for y step.
DocumentModelGridRemoval()
Default constructor.
void setStartX(double startX)
Set method for x start.
void setCountY(int countY)
Set method for y count.
Storage of one imported image and the data attached to that image.