QGIS API Documentation
2.12.0-Lyon
|
Abstract base class - its implementations define different approaches to the labeling of a vector layer. More...
#include <qgsvectorlayerlabeling.h>
Public Member Functions | |
virtual | ~QgsAbstractVectorLayerLabeling () |
virtual QgsVectorLayerLabelProvider * | provider (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 QgsAbstractVectorLayerLabeling * | create (const QDomElement &element) |
Try to create instance of an implementation based on the XML data. More... | |
Abstract base class - its implementations define different approaches to the labeling of a vector layer.
Definition at line 16 of file qgsvectorlayerlabeling.h.
|
virtual |
Definition at line 8 of file qgsvectorlayerlabeling.cpp.
|
static |
Try to create instance of an implementation based on the XML data.
Definition at line 12 of file qgsvectorlayerlabeling.cpp.
|
pure virtual |
Factory for label provider implementation.
Implemented in QgsRuleBasedLabeling, and QgsVectorLayerSimpleLabeling.
|
pure virtual |
Return labeling configuration as XML element.
Implemented in QgsRuleBasedLabeling, and QgsVectorLayerSimpleLabeling.
|
pure virtual |
Unique type string of the labeling configuration implementation.
Implemented in QgsRuleBasedLabeling, and QgsVectorLayerSimpleLabeling.