107    Q_DECL_DEPRECATED 
void drawLegend( QPainter *painter ) 
SIP_DEPRECATED;
 
  148    class LegendComponent
 
  152        LegendComponent() = 
default;
 
  154        QObject *item = 
nullptr;
 
  177        double labelXOffset = 0.0;
 
  183        double maxSiblingSymbolWidth = 0.0;
 
  200    class LegendComponentGroup
 
  205        QList<LegendComponent> components;
 
  208        QSizeF size = QSizeF( 0, 0 );
 
  216        bool placeColumnBreakBeforeGroup = 
false;
 
  249    int setColumns( QList<LegendComponentGroup> &groupList );
 
  254    double spaceAboveGroup( 
const LegendComponentGroup &group );
 
  278    QSizeF drawTitle( 
QgsRenderContext &context, 
double top, Qt::AlignmentFlag halignment = Qt::AlignLeft, 
double legendWidth = 0 ) 
const;
 
  288    QSizeF drawGroup( 
const LegendComponentGroup &group, 
QgsRenderContext &context, ColumnContext columnContext, 
double top = 0 );
 
  317    std::unique_ptr< QgsLayerTreeFilterProxyModel >mProxyModel;
 
  329    void widthAndOffsetForTitleText( 
const Qt::AlignmentFlag halignment, 
double legendWidth, 
double &width, 
double &offset ) 
const;
 
 
Contains information about the context of a rendering operation.