QgsComposerSymbolV2Item Class Reference

#include <qgscomposerlegenditem.h>

Inheritance diagram for QgsComposerSymbolV2Item:

Inheritance graph
Collaboration diagram for QgsComposerSymbolV2Item:

Collaboration graph

List of all members.

Public Member Functions

 QgsComposerSymbolV2Item ()
 QgsComposerSymbolV2Item (const QString &text)
 QgsComposerSymbolV2Item (const QIcon &icon, const QString &text)
virtual ~QgsComposerSymbolV2Item ()
virtual QStandardItem * clone () const
virtual void writeXML (QDomElement &elem, QDomDocument &doc) const
virtual void readXML (const QDomElement &itemElem)
void setSymbolV2 (QgsSymbolV2 *s)
 Set symbol (takes ownership).
QgsSymbolV2symbolV2 ()
ItemType itemType () const

Private Attributes


Detailed Description

Definition at line 85 of file qgscomposerlegenditem.h.

Constructor & Destructor Documentation

QgsComposerSymbolV2Item::QgsComposerSymbolV2Item (  ) 

Definition at line 154 of file qgscomposerlegenditem.cpp.

Referenced by clone().

QgsComposerSymbolV2Item::QgsComposerSymbolV2Item ( const QString &  text  ) 

Definition at line 158 of file qgscomposerlegenditem.cpp.

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

Definition at line 162 of file qgscomposerlegenditem.cpp.

QgsComposerSymbolV2Item::~QgsComposerSymbolV2Item (  )  [virtual]

Definition at line 166 of file qgscomposerlegenditem.cpp.

References mSymbolV2.

Member Function Documentation

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

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

Implements QgsComposerLegendItem.

Definition at line 182 of file qgscomposerlegenditem.cpp.

References mSymbolV2, and QgsSymbolLayerV2Utils::saveSymbols().

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

void QgsComposerSymbolV2Item::setSymbolV2 ( QgsSymbolV2 s  ) 

Set symbol (takes ownership).

Definition at line 222 of file qgscomposerlegenditem.cpp.

References mSymbolV2.

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

QgsSymbolV2* QgsComposerSymbolV2Item::symbolV2 (  )  [inline]

Definition at line 100 of file qgscomposerlegenditem.h.

Referenced by QgsComposerLegend::drawLayerChildItems().

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

Implements QgsComposerLegendItem.

Definition at line 102 of file qgscomposerlegenditem.h.

Member Data Documentation

Definition at line 105 of file qgscomposerlegenditem.h.

Referenced by clone(), setSymbolV2(), writeXML(), and ~QgsComposerSymbolV2Item().

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

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