QgsComposerRasterSymbolItem Class Reference

#include <qgscomposerlegenditem.h>

Inheritance diagram for QgsComposerRasterSymbolItem:

Inheritance graph
Collaboration diagram for QgsComposerRasterSymbolItem:

Collaboration graph

List of all members.

Public Member Functions

 QgsComposerRasterSymbolItem ()
 QgsComposerRasterSymbolItem (const QString &text)
 QgsComposerRasterSymbolItem (const QIcon &icon, const QString &text)
virtual ~QgsComposerRasterSymbolItem ()
virtual QStandardItem * clone () const
virtual void writeXML (QDomElement &elem, QDomDocument &doc) const
virtual void readXML (const QDomElement &itemElem)
void setLayerID (const QString &id)
QString layerID () const
ItemType itemType () const

Private Attributes

QString mLayerID

Detailed Description

Definition at line 108 of file qgscomposerlegenditem.h.

Constructor & Destructor Documentation

QgsComposerRasterSymbolItem::QgsComposerRasterSymbolItem (  ) 

Definition at line 230 of file qgscomposerlegenditem.cpp.

Referenced by clone().

QgsComposerRasterSymbolItem::QgsComposerRasterSymbolItem ( const QString &  text  ) 

Definition at line 234 of file qgscomposerlegenditem.cpp.

QgsComposerRasterSymbolItem::QgsComposerRasterSymbolItem ( const QIcon &  icon,
const QString &  text 

Definition at line 238 of file qgscomposerlegenditem.cpp.

QgsComposerRasterSymbolItem::~QgsComposerRasterSymbolItem (  )  [virtual]

Definition at line 242 of file qgscomposerlegenditem.cpp.

Member Function Documentation

QStandardItem * QgsComposerRasterSymbolItem::clone (  )  const [virtual]

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

Implements QgsComposerLegendItem.

Definition at line 254 of file qgscomposerlegenditem.cpp.

References mLayerID.

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

void QgsComposerRasterSymbolItem::setLayerID ( const QString &  id  )  [inline]

Definition at line 121 of file qgscomposerlegenditem.h.

Referenced by QgsLegendModel::addRasterLayerItem(), clone(), and readXML().

QString QgsComposerRasterSymbolItem::layerID (  )  const [inline]

Definition at line 122 of file qgscomposerlegenditem.h.

ItemType QgsComposerRasterSymbolItem::itemType (  )  const [inline, virtual]

Implements QgsComposerLegendItem.

Definition at line 123 of file qgscomposerlegenditem.h.

Member Data Documentation

Definition at line 126 of file qgscomposerlegenditem.h.

Referenced by clone(), readXML(), and writeXML().

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

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