QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Attributes | List of all members
QgsLayoutItem::ExportLayerDetail Struct Reference

Contains details of a particular export layer relating to a layout item. More...

#include <qgslayoutitem.h>

Public Attributes

QPainter::CompositionMode compositionMode = QPainter::CompositionMode_SourceOver
 Associated composition mode if this layer is associated with a map layer. More...
 
QString mapLayerId
 Associated map layer ID, or an empty string if this export layer is not associated with a map layer. More...
 
QString mapTheme
 Associated map theme, or an empty string if this export layer does not need to be associated with a map theme. More...
 
QString name
 User-friendly name for the export layer. More...
 
double opacity = 1.0
 Associated opacity, if this layer is associated with a map layer. More...
 

Detailed Description

Contains details of a particular export layer relating to a layout item.

Since
QGIS 3.10

Definition at line 492 of file qgslayoutitem.h.

Member Data Documentation

◆ compositionMode

QPainter::CompositionMode QgsLayoutItem::ExportLayerDetail::compositionMode = QPainter::CompositionMode_SourceOver

Associated composition mode if this layer is associated with a map layer.

Since
QGIS 3.14

Definition at line 504 of file qgslayoutitem.h.

◆ mapLayerId

QString QgsLayoutItem::ExportLayerDetail::mapLayerId

Associated map layer ID, or an empty string if this export layer is not associated with a map layer.

Definition at line 498 of file qgslayoutitem.h.

◆ mapTheme

QString QgsLayoutItem::ExportLayerDetail::mapTheme

Associated map theme, or an empty string if this export layer does not need to be associated with a map theme.

Definition at line 513 of file qgslayoutitem.h.

◆ name

QString QgsLayoutItem::ExportLayerDetail::name

User-friendly name for the export layer.

Definition at line 495 of file qgslayoutitem.h.

◆ opacity

double QgsLayoutItem::ExportLayerDetail::opacity = 1.0

Associated opacity, if this layer is associated with a map layer.

Since
QGIS 3.14

Definition at line 510 of file qgslayoutitem.h.


The documentation for this struct was generated from the following file: