| 
    QGIS API Documentation
    2.18.21-Las Palmas (9fba24a)
    
   | 
 
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 QgsPalLayerSettings | settings (QgsVectorLayer *layer, const QString &providerId=QString()) const =0 | 
| Get associated label settings.  More... | |
| virtual QStringList | subProviders () const | 
| Get list of sub-providers within the layer's labeling.  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 35 of file qgsvectorlayerlabeling.h.
      
  | 
  virtual | 
Definition at line 22 of file qgsvectorlayerlabeling.cpp.
      
  | 
  static | 
Try to create instance of an implementation based on the XML data.
Definition at line 26 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 | 
Get associated label settings.
In case of multiple sub-providers with different settings, they are identified by their ID (e.g. in case of rule-based labeling, provider ID == rule key)
Implemented in QgsRuleBasedLabeling, and QgsVectorLayerSimpleLabeling.
      
  | 
  inlinevirtual | 
Get list of sub-providers within the layer's labeling.
Reimplemented in QgsRuleBasedLabeling.
Definition at line 51 of file qgsvectorlayerlabeling.h.
      
  | 
  pure virtual | 
Unique type string of the labeling configuration implementation.
Implemented in QgsRuleBasedLabeling, and QgsVectorLayerSimpleLabeling.
 1.8.13