|
Quantum GIS API Documentation
1.7.5-Wroclaw
|
#include <qgscomposerlegenditem.h>


Public Member Functions | |
| QgsComposerLayerItem () | |
| QgsComposerLayerItem (const QString &text) | |
| virtual | ~QgsComposerLayerItem () |
| virtual QStandardItem * | clone () const |
| virtual void | writeXML (QDomElement &elem, QDomDocument &doc) const |
| virtual void | readXML (const QDomElement &itemElem, bool xServerAvailable=true) |
| Read item content from xml. | |
| ItemType | itemType () const |
| void | setLayerID (const QString &id) |
| QString | layerID () const |
Public Member Functions inherited from QgsComposerLegendItem | |
| QgsComposerLegendItem () | |
| QgsComposerLegendItem (const QString &text) | |
| QgsComposerLegendItem (const QIcon &icon, const QString &text) | |
| virtual | ~QgsComposerLegendItem () |
Private Attributes | |
| QString | mLayerID |
Additional Inherited Members | |
Public Types inherited from QgsComposerLegendItem | |
| enum | ItemType { GroupItem = QStandardItem::UserType, LayerItem, SymbologyItem, SymbologyV2Item, RasterSymbolItem } |
Protected Member Functions inherited from QgsComposerLegendItem | |
| void | writeXMLChildren (QDomElement &elem, QDomDocument &doc) const |
Definition at line 136 of file qgscomposerlegenditem.h.
| QgsComposerLayerItem::QgsComposerLayerItem | ( | ) |
Definition at line 290 of file qgscomposerlegenditem.cpp.
Referenced by clone().
| QgsComposerLayerItem::QgsComposerLayerItem | ( | const QString & | text | ) |
Definition at line 294 of file qgscomposerlegenditem.cpp.
|
virtual |
Definition at line 298 of file qgscomposerlegenditem.cpp.
|
virtual |
Implements QgsComposerLegendItem.
Definition at line 302 of file qgscomposerlegenditem.cpp.
References mLayerID, QgsComposerLayerItem(), and setLayerID().
|
inlinevirtual |
Implements QgsComposerLegendItem.
Definition at line 147 of file qgscomposerlegenditem.h.
References QgsComposerLegendItem::LayerItem.
|
inline |
Definition at line 150 of file qgscomposerlegenditem.h.
Referenced by QgsComposerLegend::drawLayerItem(), QgsLegendModel::removeLayer(), QgsLegendModel::setLayerSetAndGroups(), and QgsLegendModel::updateLayer().
|
virtual |
Read item content from xml.
| itemElem | item to read from |
| xServerAvailable | Read item icons if true (QIcon needs x-server) |
Implements QgsComposerLegendItem.
Definition at line 319 of file qgscomposerlegenditem.cpp.
References QgsComposerLegendItem::readXML(), and setLayerID().
|
inline |
Definition at line 149 of file qgscomposerlegenditem.h.
Referenced by QgsLegendModel::addLayer(), clone(), and readXML().
|
virtual |
Implements QgsComposerLegendItem.
Definition at line 310 of file qgscomposerlegenditem.cpp.
References mLayerID, and QgsComposerLegendItem::writeXMLChildren().
|
private |
Definition at line 153 of file qgscomposerlegenditem.h.
Referenced by clone(), and writeXML().
1.8.1