Class: QgsPrintLayout

class qgis.core.QgsPrintLayout(project: QgsProject)

Bases: qgis._core.QgsLayout, qgis._core.QgsMasterLayoutInterface

Constructor for QgsPrintLayout.

Print layout, a QgsLayout subclass for static or atlas-based layouts.

atlas(self) → QgsLayoutAtlas

Returns the print layout’s atlas.

childEvent()
clone(self) → QgsPrintLayout
connectNotify()
contextMenuEvent()
createExpressionContext(self) → QgsExpressionContext
customEvent()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
drawBackground()
drawForeground()
dropEvent()
event()
eventFilter()
focusInEvent()
focusNextPrevChild()
focusOutEvent()
helpEvent()
icon(self) → QIcon
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
layoutAccept(self, visitor: QgsStyleEntityVisitorInterface) → bool
layoutProject(self) → QgsProject
layoutType(self) → QgsMasterLayoutInterface.Type
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
name(self) → str
nameChanged

Emitted when the layout’s name is changed.

See also

setName() [signal]

readLayoutXml(self, layoutElement: QDomElement, document: QDomDocument, context: QgsReadWriteContext) → bool
readXml(self, layoutElement: QDomElement, document: QDomDocument, context: QgsReadWriteContext) → bool
receivers()
sender()
senderSignalIndex()
setName(self, name: str)
timerEvent()
updateSettings(self)
wheelEvent()
writeLayoutXml(self, document: QDomDocument, context: QgsReadWriteContext) → QDomElement
writeXml(self, document: QDomDocument, context: QgsReadWriteContext) → QDomElement