QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
QgsComposerGroupItem Class Reference

#include <qgscomposerlegenditem.h>

Inheritance diagram for QgsComposerGroupItem:
Inheritance graph
[legend]

Public Member Functions

 QgsComposerGroupItem ()
 
 QgsComposerGroupItem (const QString &text)
 
virtual ~QgsComposerGroupItem ()
 
virtual QStandardItem * clone () const
 
ItemType itemType () const
 
virtual void readXML (const QDomElement &itemElem, bool xServerAvailable=true)
 Read item content from xml. More...
 
virtual void writeXML (QDomElement &elem, QDomDocument &doc) 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 ()
 
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
 

Detailed Description

Definition at line 149 of file qgscomposerlegenditem.h.

Constructor & Destructor Documentation

QgsComposerGroupItem::QgsComposerGroupItem ( )

Definition at line 314 of file qgscomposerlegenditem.cpp.

QgsComposerGroupItem::QgsComposerGroupItem ( const QString &  text)

Definition at line 318 of file qgscomposerlegenditem.cpp.

QgsComposerGroupItem::~QgsComposerGroupItem ( )
virtual

Definition at line 322 of file qgscomposerlegenditem.cpp.

Member Function Documentation

QStandardItem * QgsComposerGroupItem::clone ( ) const
virtual

Implements QgsComposerLegendItem.

Definition at line 326 of file qgscomposerlegenditem.cpp.

ItemType QgsComposerGroupItem::itemType ( ) const
inlinevirtual

Implements QgsComposerLegendItem.

Definition at line 160 of file qgscomposerlegenditem.h.

void QgsComposerGroupItem::readXML ( const QDomElement &  itemElem,
bool  xServerAvailable = true 
)
virtual

Read item content from xml.

Parameters
itemElemitem to read from
xServerAvailableRead item icons if true (QIcon needs x-server)

Implements QgsComposerLegendItem.

Definition at line 344 of file qgscomposerlegenditem.cpp.

void QgsComposerGroupItem::writeXML ( QDomElement &  elem,
QDomDocument &  doc 
) const
virtual

Implements QgsComposerLegendItem.

Definition at line 333 of file qgscomposerlegenditem.cpp.


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