| 
    QGIS API Documentation
    2.18.21-Las Palmas (9fba24a)
    
   | 
 
Basic implementation of the labeling interface. More...
#include <qgsvectorlayerlabeling.h>

Public Member Functions | |
| virtual QgsVectorLayerLabelProvider * | provider (QgsVectorLayer *layer) const override | 
| Factory for label provider implementation.  More... | |
| virtual QDomElement | save (QDomDocument &doc) const override | 
| Return labeling configuration as XML element.  More... | |
| virtual QgsPalLayerSettings | settings (QgsVectorLayer *layer, const QString &providerId=QString()) const override | 
| Get associated label settings.  More... | |
| virtual QString | type () const override | 
| Unique type string of the labeling configuration implementation.  More... | |
  Public Member Functions inherited from QgsAbstractVectorLayerLabeling | |
| virtual | ~QgsAbstractVectorLayerLabeling () | 
| virtual QStringList | subProviders () const | 
| Get list of sub-providers within the layer's labeling.  More... | |
Additional Inherited Members | |
  Static Public Member Functions inherited from QgsAbstractVectorLayerLabeling | |
| static QgsAbstractVectorLayerLabeling * | create (const QDomElement &element) | 
| Try to create instance of an implementation based on the XML data.  More... | |
Basic implementation of the labeling interface.
The configuration is kept in layer's custom properties for backward compatibility.
Definition at line 72 of file qgsvectorlayerlabeling.h.
      
  | 
  overridevirtual | 
Factory for label provider implementation.
Implements QgsAbstractVectorLayerLabeling.
Definition at line 39 of file qgsvectorlayerlabeling.cpp.
      
  | 
  overridevirtual | 
Return labeling configuration as XML element.
Implements QgsAbstractVectorLayerLabeling.
Definition at line 52 of file qgsvectorlayerlabeling.cpp.
      
  | 
  overridevirtual | 
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)
Implements QgsAbstractVectorLayerLabeling.
Definition at line 60 of file qgsvectorlayerlabeling.cpp.
      
  | 
  overridevirtual | 
Unique type string of the labeling configuration implementation.
Implements QgsAbstractVectorLayerLabeling.
Definition at line 47 of file qgsvectorlayerlabeling.cpp.
 1.8.13