QGIS API Documentation
2.8.2-Wien
|
#include <qgscomposerlegenditem.h>
Public Member Functions | |
QgsComposerLayerItem () | |
QgsComposerLayerItem (const QString &text) | |
virtual | ~QgsComposerLayerItem () |
virtual QStandardItem * | clone () const override |
ItemType | itemType () const override |
QString | layerID () const |
virtual void | readXML (const QDomElement &itemElem, bool xServerAvailable=true) override |
Read item content from xml. | |
void | setDefaultStyle (double scaleDenominator=-1, QString rule="") |
void | setLayerID (const QString &id) |
void | setShowFeatureCount (bool show) |
bool | showFeatureCount () const |
virtual void | writeXML (QDomElement &elem, QDomDocument &doc) const override |
Public Member Functions inherited from QgsComposerLegendItem | |
QgsComposerLegendItem (QgsComposerLegendStyle::Style s=QgsComposerLegendStyle::Undefined) | |
QgsComposerLegendItem (const QString &text, QgsComposerLegendStyle::Style s=QgsComposerLegendStyle::Undefined) | |
QgsComposerLegendItem (const QIcon &icon, const QString &text, QgsComposerLegendStyle::Style s=QgsComposerLegendStyle::Undefined) | |
virtual | ~QgsComposerLegendItem () |
void | setStyle (QgsComposerLegendStyle::Style style) |
virtual void | setUserText (const QString &text) |
QgsComposerLegendStyle::Style | style () const |
virtual QString | userText () const |
Additional Inherited Members | |
Public Types inherited from QgsComposerLegendItem | |
enum | ItemType { GroupItem = QStandardItem::UserType, LayerItem, SymbologyV2Item, RasterSymbolItem, StyleItem } |
Protected Member Functions inherited from QgsComposerLegendItem | |
void | writeXMLChildren (QDomElement &elem, QDomDocument &doc) const |
Protected Attributes inherited from QgsComposerLegendItem | |
QgsComposerLegendStyle::Style | mStyle |
QString | mUserText |
Definition at line 122 of file qgscomposerlegenditem.h.
QgsComposerLayerItem::QgsComposerLayerItem | ( | ) |
Definition at line 205 of file qgscomposerlegenditem.cpp.
QgsComposerLayerItem::QgsComposerLayerItem | ( | const QString & | text | ) |
Definition at line 210 of file qgscomposerlegenditem.cpp.
|
virtual |
Definition at line 215 of file qgscomposerlegenditem.cpp.
|
overridevirtual |
Implements QgsComposerLegendItem.
Definition at line 219 of file qgscomposerlegenditem.cpp.
|
inlineoverridevirtual |
Implements QgsComposerLegendItem.
Definition at line 133 of file qgscomposerlegenditem.h.
|
inline |
Definition at line 136 of file qgscomposerlegenditem.h.
|
overridevirtual |
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 239 of file qgscomposerlegenditem.cpp.
void QgsComposerLayerItem::setDefaultStyle | ( | double | scaleDenominator = -1 , |
QString | rule = "" |
||
) |
Definition at line 289 of file qgscomposerlegenditem.cpp.
|
inline |
Definition at line 135 of file qgscomposerlegenditem.h.
|
inline |
Definition at line 138 of file qgscomposerlegenditem.h.
|
inline |
Definition at line 139 of file qgscomposerlegenditem.h.
|
overridevirtual |
Implements QgsComposerLegendItem.
Definition at line 227 of file qgscomposerlegenditem.cpp.