|
| QgsLayoutGridSettings (QgsLayout *layout) |
| Constructor for QgsLayoutGridSettings. More...
|
|
QgsLayout * | layout () override |
| Returns the layout the object belongs to. More...
|
|
void | loadFromSettings () |
| Loads grid settings from the application layout settings. More...
|
|
QgsLayoutPoint | offset () const |
| Returns the offset of the page/snap grid. More...
|
|
QPen | pen () const |
| Returns the pen used for drawing page/snap grids. More...
|
|
bool | readXml (const QDomElement &gridElement, const QDomDocument &document, const QgsReadWriteContext &context) override |
| Sets the grid's state from a DOM element. More...
|
|
QgsLayoutMeasurement | resolution () const |
| Returns the page/snap grid resolution. More...
|
|
void | setOffset (const QgsLayoutPoint &offset) |
| Sets the offset of the page/snap grid. More...
|
|
void | setPen (const QPen &pen) |
| Sets the pen used for drawing page/snap grids. More...
|
|
void | setResolution (QgsLayoutMeasurement resolution) |
| Sets the page/snap grid resolution. More...
|
|
void | setStyle (const Style style) |
| Sets the style used for drawing the page/snap grids. More...
|
|
QString | stringType () const override |
| Returns the object type as a string. More...
|
|
Style | style () const |
| Returns the style used for drawing the page/snap grids. More...
|
|
bool | writeXml (QDomElement &parentElement, QDomDocument &document, const QgsReadWriteContext &context) const override |
| Stores the grid's state in a DOM element. More...
|
|
QgsAbstractLayoutUndoCommand * | createCommand (const QString &text, int id, QUndoCommand *parent=nullptr) override |
| Creates a new layout undo command with the specified text and parent. More...
|
|
virtual QgsLayout * | layout ()=0 |
| Returns the layout the object belongs to. More...
|
|
virtual bool | readXml (const QDomElement &element, const QDomDocument &document, const QgsReadWriteContext &context)=0 |
| Sets the objects's state from a DOM element. More...
|
|
virtual QString | stringType () const =0 |
| Returns the object type as a string. More...
|
|
virtual bool | writeXml (QDomElement &parentElement, QDomDocument &document, const QgsReadWriteContext &context) const =0 |
| Stores the objects's state in a DOM element. More...
|
|
virtual | ~QgsLayoutUndoObjectInterface ()=default |
| Destructor for QgsLayoutUndoObjectInterface. More...
|
|
virtual QgsAbstractLayoutUndoCommand * | createCommand (const QString &text, int id=0, QUndoCommand *parent=nullptr)=0 |
| Creates a new layout undo command with the specified text and parent. More...
|
|