Krita
GridConfig.cpp
void setLineTypeSubdivision(const QString &lineType)
Set grid subdivision line type.
Definition GridConfig.cpp:281
void setSpacingAspectLocked(bool spacingAspectLocked)
Set status of "Aspect locked" property for spacing values (X and Y values are linked to keep ratio) S...
Definition GridConfig.cpp:229
void setOffsetAspectLocked(bool offsetAspectLocked)
Set status of "Aspect locked" property for offset values (X and Y values are linked to keep ratio)
Definition GridConfig.cpp:219
void setSnap(bool snap)
Activate or deactivate snap to grid for document.
Definition GridConfig.cpp:64
QPoint offset() const
Returns grid offset (in pixels, from origin) for document.
Definition GridConfig.cpp:69
void setAngleAspectLocked(bool angleAspectLocked)
Set status of "Aspect locked" property for angles values (left and right angles values are linked to ...
Definition GridConfig.cpp:239
bool spacingAspectLocked() const
Returns status of "Aspect locked" property for spacing values (mean, X and Y values are linked to kee...
Definition GridConfig.cpp:224
int subdivision() const
Returns number of grid subdivision for document.
Definition GridConfig.cpp:119
void setOffset(QPoint offset)
Define grid offset (in pixels, from origin) for document.
Definition GridConfig.cpp:74
qreal angleLeft() const
Returns left angle (in degrees) of isometric grid for document.
Definition GridConfig.cpp:129
void setAngleRight(qreal angleRight)
Set right angle (in degrees) of isometric grid for document.
Definition GridConfig.cpp:144
void setColorSubdivision(QColor colorSubdivision)
Set grid subdivision line color ColorSubdivision value is used for grid type "rectangular".
Definition GridConfig.cpp:341
void setSubdivision(int subdivision)
Set number of grid subdivision for document.
Definition GridConfig.cpp:124
void setCellSize(int cellSize)
Set grid cell size (in pixels) for document.
Definition GridConfig.cpp:184
bool fromXml(const QString &xmlContent) const
Load grid definition from an XML document.
Definition GridConfig.cpp:356
QColor colorSubdivision() const
Returns grid subdivision line color ColorSubdivision value is used for grid type "rectangular".
Definition GridConfig.cpp:336
bool spacingActiveHorizontal() const
Returns if horizontal grid spacing is active.
Definition GridConfig.cpp:99
void setType(const QString &gridType)
Set current grid type applied for document.
Definition GridConfig.cpp:201
void setSpacingActiveVertical(bool active)
Set vertical grid spacing active.
Definition GridConfig.cpp:114
void setAngleLeft(qreal angleLeft)
Set left angle (in degrees) of isometric grid for document.
Definition GridConfig.cpp:134
bool offsetAspectLocked() const
Returns status of "Aspect locked" property for offset values (X and Y values are linked to keep ratio...
Definition GridConfig.cpp:214
bool spacingActiveVertical() const
Returns if vertical grid spacing is active.
Definition GridConfig.cpp:109
void setCellSpacing(int cellSpacing)
Set grid cell spacing for document.
Definition GridConfig.cpp:174
void setColorVertical(QColor colorVertical)
Set grid vertical line color ColorSubdivision value is used for grid type "isometric".
Definition GridConfig.cpp:351
void setLineTypeVertical(const QString &lineType)
Set grid vertical line type.
Definition GridConfig.cpp:309
bool angleAspectLocked() const
Returns status of "Aspect locked" property for angles values (mean, left and right angles values are ...
Definition GridConfig.cpp:234
int cellSpacing() const
Returns grid cell spacing (in pixels) for document.
Definition GridConfig.cpp:169
QColor colorVertical() const
Returns grid vertical line color ColorSubdivision value is used for grid type "isometric".
Definition GridConfig.cpp:346
qreal angleRight() const
Returns right angle (in degrees) of isometric grid for document.
Definition GridConfig.cpp:139
void setSpacingActiveHorizontal(bool active)
Set horizontal grid spacing active.
Definition GridConfig.cpp:104
int cellSize() const
Returns grid cell border size (in pixels) for document.
Definition GridConfig.cpp:179
void setSpacing(QPoint spacing)
Set grid spacing (in pixels) for document.
Definition GridConfig.cpp:87
QDomElement documentElement() const const
ParseResult setContent(QAnyStringView text, ParseOptions options)
QString toString(int indent) const const
QDomNode appendChild(const QDomNode &newChild)
void setX(int x)
void setY(int y)
int x() const const
int y() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:35:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:35:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.