|
QGIS API Documentation
2.6.0-Brighton
|
#include <qgscomposerlegenditem.h>

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, bool xServerAvailable=true) |
| Read item content from xml. | |
| void | setSymbolV2 (QgsSymbolV2 *s) |
| Set symbol (takes ownership) | |
| QgsSymbolV2 * | symbolV2 () |
| ItemType | itemType () const |
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 () |
| QgsComposerLegendStyle::Style | style () const |
| void | setStyle (QgsComposerLegendStyle::Style style) |
| virtual QString | userText () const |
| virtual void | setUserText (const QString &text) |
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 |
| QgsComposerSymbolV2Item::QgsComposerSymbolV2Item | ( | ) |
| QgsComposerSymbolV2Item::QgsComposerSymbolV2Item | ( | const QString & | text | ) |
| QgsComposerSymbolV2Item::QgsComposerSymbolV2Item | ( | const QIcon & | icon, |
| const QString & | text | ||
| ) |
|
virtual |
|
virtual |
Implements QgsComposerLegendItem.
|
inlinevirtual |
Implements QgsComposerLegendItem.
|
virtual |
Read item content from xml.
| itemElem | item to read from |
| xServerAvailable | Read item icons if true (QIcon needs x-server) |
Implements QgsComposerLegendItem.
| void QgsComposerSymbolV2Item::setSymbolV2 | ( | QgsSymbolV2 * | s | ) |
Set symbol (takes ownership)
|
inline |
|
virtual |
Implements QgsComposerLegendItem.
1.8.1.2