QGIS API Documentation  3.6.0-Noosa (5873452)
Public Attributes | List of all members
QgsLayerTreeModelLegendNode::ItemContext Struct Reference

#include <qgslayertreemodellegendnode.h>

Public Attributes

QgsRenderContextcontext = nullptr
 Render context, if available. More...
 
double labelXOffset
 offset from the left side where label should start More...
 
QPainter * painter = nullptr
 Painter. More...
 
QPointF point
 Top-left corner of the legend item. More...
 

Detailed Description

Definition at line 87 of file qgslayertreemodellegendnode.h.

Member Data Documentation

◆ context

QgsRenderContext* QgsLayerTreeModelLegendNode::ItemContext::context = nullptr

Render context, if available.

Definition at line 90 of file qgslayertreemodellegendnode.h.

◆ labelXOffset

double QgsLayerTreeModelLegendNode::ItemContext::labelXOffset

offset from the left side where label should start

Definition at line 96 of file qgslayertreemodellegendnode.h.

◆ painter

QPainter* QgsLayerTreeModelLegendNode::ItemContext::painter = nullptr

Painter.

Definition at line 92 of file qgslayertreemodellegendnode.h.

◆ point

QPointF QgsLayerTreeModelLegendNode::ItemContext::point

Top-left corner of the legend item.

Definition at line 94 of file qgslayertreemodellegendnode.h.


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