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
QgsComposerLegend::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 215 of file qgscomposerlegend.h.

Constructor & Destructor Documentation

QgsComposerLegend::Atom::Atom ( )
inline

Definition at line 218 of file qgscomposerlegend.h.

Member Data Documentation

int QgsComposerLegend::Atom::column

Definition at line 222 of file qgscomposerlegend.h.

Referenced by QgsComposerLegend::paintAndDetermineSize().

QList<Nucleon> QgsComposerLegend::Atom::nucleons
QSizeF QgsComposerLegend::Atom::size

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