QGIS API Documentation  3.17.0-Master (a8c3b02cdd)
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 490 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 502 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 496 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 511 of file qgslayoutitem.h.

◆ name

QString QgsLayoutItem::ExportLayerDetail::name

User-friendly name for the export layer.

Definition at line 493 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 508 of file qgslayoutitem.h.


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