QGIS API Documentation  2.0.1-Dufour
 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 188 of file qgscomposerlegend.h.

Constructor & Destructor Documentation

QgsComposerLegend::Atom::Atom ( )
inline

Definition at line 191 of file qgscomposerlegend.h.

Member Data Documentation

int QgsComposerLegend::Atom::column

Definition at line 195 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: