QGIS API Documentation  2.14.0-Essen
Public Member Functions | Static Public Member Functions | List of all members
QgsAbstractVectorLayerLabeling Class Referenceabstract

Abstract base class - its implementations define different approaches to the labeling of a vector layer. More...

#include <qgsvectorlayerlabeling.h>

Inheritance diagram for QgsAbstractVectorLayerLabeling:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsAbstractVectorLayerLabeling ()
 
virtual QgsVectorLayerLabelProviderprovider (QgsVectorLayer *layer) const =0
 Factory for label provider implementation. More...
 
virtual QDomElement save (QDomDocument &doc) const =0
 Return labeling configuration as XML element. More...
 
virtual QString type () const =0
 Unique type string of the labeling configuration implementation. More...
 

Static Public Member Functions

static QgsAbstractVectorLayerLabelingcreate (const QDomElement &element)
 Try to create instance of an implementation based on the XML data. More...
 

Detailed Description

Abstract base class - its implementations define different approaches to the labeling of a vector layer.

Note
added in 2.12
not available in Python bindings
this class is not a part of public API yet. See notes in QgsLabelingEngineV2

Definition at line 32 of file qgsvectorlayerlabeling.h.

Constructor & Destructor Documentation

QgsAbstractVectorLayerLabeling::~QgsAbstractVectorLayerLabeling ( )
virtual

Definition at line 22 of file qgsvectorlayerlabeling.cpp.

Member Function Documentation

QgsAbstractVectorLayerLabeling * QgsAbstractVectorLayerLabeling::create ( const QDomElement element)
static

Try to create instance of an implementation based on the XML data.

Definition at line 26 of file qgsvectorlayerlabeling.cpp.

virtual QgsVectorLayerLabelProvider* QgsAbstractVectorLayerLabeling::provider ( QgsVectorLayer layer) const
pure virtual

Factory for label provider implementation.

Implemented in QgsRuleBasedLabeling, and QgsVectorLayerSimpleLabeling.

virtual QDomElement QgsAbstractVectorLayerLabeling::save ( QDomDocument doc) const
pure virtual

Return labeling configuration as XML element.

Implemented in QgsRuleBasedLabeling, and QgsVectorLayerSimpleLabeling.

virtual QString QgsAbstractVectorLayerLabeling::type ( ) const
pure virtual

Unique type string of the labeling configuration implementation.

Implemented in QgsRuleBasedLabeling, and QgsVectorLayerSimpleLabeling.


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