QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
QgsLegendRenderer::Atom Class Reference

Atom is indivisible set (indivisible into more columns). More...

Public Member Functions

 Atom ()
 

Public Attributes

QList< Nucleonnucleons
 
QSizeF size
 
int column
 

Detailed Description

Atom is indivisible set (indivisible into more columns).

It may consists of one or more Nucleon, depending on layer splitting mode: 1) no layer split: [group_title ...] layer_title layer_item [layer_item ...] 2) layer split: [group_title ...] layer_title layer_item or: layer_item It means that group titles must not be split from layer title and layer title must not be split from first item, because it would look bad and it would not be readable to leave group or layer title at the bottom of column.

Definition at line 96 of file qgslegendrenderer.h.

Constructor & Destructor Documentation

QgsLegendRenderer::Atom::Atom ( )
inline

Definition at line 99 of file qgslegendrenderer.h.

Member Data Documentation

int QgsLegendRenderer::Atom::column
QList<Nucleon> QgsLegendRenderer::Atom::nucleons
QSizeF QgsLegendRenderer::Atom::size

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