Class: QgsReportSectionLayout¶
-
class
qgis.core.
QgsReportSectionLayout
(parentSection: QgsAbstractReportSection = None)¶ Bases:
qgis._core.QgsAbstractReportSection
Constructor for QgsReportSectionLayout, attached to the specified
parent
section. Note that ownership is not transferred toparent
.A report section consisting of a single QgsLayout body.
Warning
This is not considered stable API, and may change in future QGIS releases. It is exposed to the Python bindings for unit testing purposes only.
New in version 3.0: Enums
Methods
Returns the body layout for the section.
Returns true if the body for the section is enabled.
Sets the
body
layout for the section.Sets whether the body for the section is
enabled
.Signals
Attributes
-
beginRender
(self) → bool¶
-
body
(self) → QgsLayout¶ Returns the body layout for the section.
See also
See also
See also
-
bodyEnabled
(self) → bool¶ Returns true if the body for the section is enabled.
See also
See also
See also
-
clone
(self) → QgsReportSectionLayout¶
-
copyCommonProperties
()¶
-
description
(self) → str¶
-
icon
(self) → QIcon¶
-
nextBody
(self) → Tuple[QgsLayout, bool]¶
-
readPropertiesFromElement
(self, element: QDomElement, document: QDomDocument, context: QgsReadWriteContext) → bool¶
-
reloadSettings
(self)¶
-
setBody
(self, body: QgsLayout)¶ Sets the
body
layout for the section. Ownership ofbody
is transferred to the report section.See also
See also
See also
-
setBodyEnabled
(self, enabled: bool)¶ Sets whether the body for the section is
enabled
.See also
See also
See also
-
setParentSection
()¶
-
type
(self) → str¶
-
writePropertiesToElement
(self, element: QDomElement, document: QDomDocument, context: QgsReadWriteContext) → bool¶
-