QgsComposerLegendItem Class Reference

Abstract base class for the legend item types. More...

#include <qgscomposerlegenditem.h>

Inheritance diagram for QgsComposerLegendItem:

Inheritance graph
[legend]

List of all members.

Public Types

enum  ItemType {
  GroupItem = QStandardItem::UserType, LayerItem, SymbologyItem, SymbologyV2Item,
  RasterSymbolItem
}

Public Member Functions

 QgsComposerLegendItem ()
 QgsComposerLegendItem (const QString &text)
 QgsComposerLegendItem (const QIcon &icon, const QString &text)
virtual ~QgsComposerLegendItem ()
virtual void writeXML (QDomElement &elem, QDomDocument &doc) const =0
virtual void readXML (const QDomElement &itemElem)=0
virtual ItemType itemType () const =0
virtual QStandardItem * clone () const =0

Protected Member Functions

void writeXMLChildren (QDomElement &elem, QDomDocument &doc) const


Detailed Description

Abstract base class for the legend item types.

Definition at line 26 of file qgscomposerlegenditem.h.


Member Enumeration Documentation

Enumerator:
GroupItem 
LayerItem 
SymbologyItem 
SymbologyV2Item 
RasterSymbolItem 

Definition at line 35 of file qgscomposerlegenditem.h.


Constructor & Destructor Documentation

QgsComposerLegendItem::QgsComposerLegendItem (  ) 

Definition at line 29 of file qgscomposerlegenditem.cpp.

QgsComposerLegendItem::QgsComposerLegendItem ( const QString &  text  ) 

Definition at line 33 of file qgscomposerlegenditem.cpp.

QgsComposerLegendItem::QgsComposerLegendItem ( const QIcon &  icon,
const QString &  text 
)

Definition at line 37 of file qgscomposerlegenditem.cpp.

QgsComposerLegendItem::~QgsComposerLegendItem (  )  [virtual]

Definition at line 41 of file qgscomposerlegenditem.cpp.


Member Function Documentation

virtual void QgsComposerLegendItem::writeXML ( QDomElement &  elem,
QDomDocument &  doc 
) const [pure virtual]

virtual void QgsComposerLegendItem::readXML ( const QDomElement &  itemElem  )  [pure virtual]

virtual ItemType QgsComposerLegendItem::itemType (  )  const [pure virtual]

virtual QStandardItem* QgsComposerLegendItem::clone (  )  const [pure virtual]

void QgsComposerLegendItem::writeXMLChildren ( QDomElement &  elem,
QDomDocument &  doc 
) const [protected]


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

Generated on Sat Feb 4 19:17:27 2012 for Quantum GIS API Documentation by  doxygen 1.5.6