Go to the documentation of this file.
7 #ifndef DOCUMENT_MODEL_GRID_DISPLAY
8 #define DOCUMENT_MODEL_GRID_DISPLAY
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;
118 unsigned int m_countX;
124 unsigned int m_countY;
132 #endif // DOCUMENT_MODEL_GRID_DISPLAY
double stepX() const
Get method for x grid line increment.
unsigned int countY() const
Get method for y grid line count.
DocumentModelGridDisplay()
Default constructor.
bool stable() const
Get method for stable flag.
void setStepY(double yStep)
Set method for y grid line increment.
void setPaletteColor(ColorPalette paletteColor)
Set method for color.
Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay.
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
Storage of one imported image and the data attached to that image.
void setStable(bool stable)
Set method for stable flag.
void setStartX(double startX)
Set method for x grid line lower bound (inclusive).
GridCoordDisable disableX() const
Get method for x grid line disabled variable.
void setStepX(double stepX)
Set method for x grid line increment.
void setDisableX(GridCoordDisable disableX)
Set method for x grid line disabled variable.
double stopY() const
Get method for y grid line upper bound (inclusive).
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).
Abstract base class for document models. This class enforces a common interface for the leaf subclass...
DocumentModelGridDisplay & operator=(const DocumentModelGridDisplay &other)
Assignment constructor.
void setStopX(double stopX)
Set method for x grid line upper bound (inclusive).
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).
GridCoordDisable disableY() const
Get method for y grid line disabled variable.
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.
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 setCountY(unsigned int countY)
Set method for y grid line count.
unsigned int countX() const
Get method for x grid line count.