7 #ifndef DOCUMENT_MODEL_GRID_DISPLAY 8 #define DOCUMENT_MODEL_GRID_DISPLAY 10 #include "ColorPalette.h" 11 #include "DocumentModelAbstractBase.h" 12 #include "GridCoordDisable.h" 34 unsigned int countX ()
const;
37 unsigned int countY ()
const;
45 virtual void loadXml(QXmlStreamReader &reader);
52 QTextStream &str)
const;
54 virtual void saveXml(QXmlStreamWriter &writer)
const;
103 double stepX ()
const;
106 double stepY ()
const;
109 double stopX ()
const;
112 double stopY ()
const;
117 GridCoordDisable m_disableX;
118 unsigned int m_countX;
123 GridCoordDisable m_disableY;
124 unsigned int m_countY;
129 ColorPalette m_paletteColor;
132 #endif // DOCUMENT_MODEL_GRID_DISPLAY void setStartX(double startX)
Set method for x grid line lower bound (inclusive).
GridCoordDisable disableY() const
Get method for y grid line disabled variable.
Abstract base class for document models. This class enforces a common interface for the leaf subclass...
Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay.
void setCountY(unsigned int countY)
Set method for y grid line count.
void setStepX(double stepX)
Set method for x grid line increment.
unsigned int countX() const
Get method for x grid line count.
DocumentModelGridDisplay()
Default constructor.
void setStepY(double yStep)
Set method for y grid line increment.
bool stable() const
Get method for stable flag.
unsigned int countY() const
Get method for y grid line count.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
void setStable(bool stable)
Set method for stable flag.
GridCoordDisable disableX() const
Get method for x grid line disabled variable.
DocumentModelGridDisplay & operator=(const DocumentModelGridDisplay &other)
Assignment constructor.
void setStopX(double stopX)
Set method for x grid line upper bound (inclusive).
double stopY() const
Get method for y grid line upper bound (inclusive).
void setDisableX(GridCoordDisable disableX)
Set method for x grid line disabled variable.
double stopX() const
Get method for x grid line upper bound (inclusive).
ColorPalette paletteColor() const
Get method for color.
void setStopY(double yStop)
Set method for y grid line upper bound (inclusive).
Storage of one imported image and the data attached to that image.
void setDisableY(GridCoordDisable disableY)
Set method for y grid line disabled variable.
double startY() const
Get method for y grid line lower bound (inclusive).
void setCountX(unsigned int countX)
Set method for x grid line count.
void setStartY(double yStart)
Set method for y grid line lower bound (inclusive).
double stepY() const
Get method for y grid line increment.
double startX() const
Get method for x grid line lower bound (inclusive).
double stepX() const
Get method for x grid line increment.
void setPaletteColor(ColorPalette paletteColor)
Set method for color.
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.