QGIS API Documentation  3.2.0-Bonn (bc43194)
Public Attributes | List of all members
QgsLayerTreeModelLegendNode::ItemContext Struct Reference

#include <qgslayertreemodellegendnode.h>

Public Attributes

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

◆ labelXOffset

double QgsLayerTreeModelLegendNode::ItemContext::labelXOffset

offset from the left side where label should start

Definition at line 94 of file qgslayertreemodellegendnode.h.

◆ painter

QPainter* QgsLayerTreeModelLegendNode::ItemContext::painter = nullptr

Painter.

Definition at line 90 of file qgslayertreemodellegendnode.h.

◆ point

QPointF QgsLayerTreeModelLegendNode::ItemContext::point

Top-left corner of the legend item.

Definition at line 92 of file qgslayertreemodellegendnode.h.


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