QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
19 #include "qgis_core.h"
56 QString type()
const override {
return QStringLiteral(
"SectionReport" ); }
57 QString description()
const override {
return QObject::tr(
"Report" ); }
58 QIcon
icon()
const override;
61 QString name()
const override {
return mName; }
62 void setName(
const QString &name )
override;
74 void nameChanged(
const QString &name );
virtual QIcon icon() const =0
Returns an icon for the layout.
virtual QDomElement writeLayoutXml(QDomDocument &document, const QgsReadWriteContext &context) const =0
Returns the layout's state encapsulated in a DOM element.
virtual bool readLayoutXml(const QDomElement &layoutElement, const QDomDocument &document, const QgsReadWriteContext &context)=0
Sets the layout's state from a DOM element.
virtual QgsMasterLayoutInterface * clone() const =0
Creates a clone of the layout.
virtual QgsMasterLayoutInterface::Type layoutType() const =0
Returns the master layout type.
virtual void setName(const QString &name)=0
Sets the layout's name.
virtual bool layoutAccept(QgsStyleEntityVisitorInterface *visitor) const
Accepts the specified style entity visitor, causing it to visit all style entities associated with th...
Interface for master layout type objects, such as print layouts and reports.
virtual void updateSettings()=0
Refreshes the layout when global layout related options change.
virtual QgsProject * layoutProject() const =0
The project associated with the layout.