|
| QgsPalLayerSettings () |
|
| QgsPalLayerSettings (const QgsPalLayerSettings &s) |
|
| ~QgsPalLayerSettings () |
|
void | calculateLabelSize (const QFontMetricsF *fm, const QString &text, double &labelX, double &labelY, const QgsFeature *f=nullptr, QgsRenderContext *context=nullptr, double *rotatedLabelX=nullptr, double *rotatedLabelY=nullptr, QgsTextDocument *document=nullptr, QgsTextDocumentMetrics *documentMetrics=nullptr) |
| Calculates the space required to render the provided text in map units. More...
|
|
QgsCallout * | callout () const |
| Returns the label callout renderer, responsible for drawing label callouts. More...
|
|
bool | containsAdvancedEffects () const |
| Returns true if any component of the label settings requires advanced effects such as blend modes, which require output in raster formats to be fully respected. More...
|
|
QgsPropertyCollection & | dataDefinedProperties () |
| Returns a reference to the label's property collection, used for data defined overrides. More...
|
|
const QgsPropertyCollection & | dataDefinedProperties () const |
| Returns a reference to the label's property collection, used for data defined overrides. More...
|
|
const QgsTextFormat & | format () const |
| Returns the label text formatting settings, e.g., font settings, buffer settings, etc. More...
|
|
QgsExpression * | getLabelExpression () |
| Returns the QgsExpression for this label settings. More...
|
|
QString | legendString () const |
| legendString More...
|
|
QgsLabelLineSettings & | lineSettings () |
| Returns the label line settings, which contain settings related to how the label engine places and formats labels for line features (or polygon features which are labeled in a "perimeter" style mode). More...
|
|
const QgsLabelLineSettings & | lineSettings () const |
| Returns the label line settings, which contain settings related to how the label engine places and formats labels for line features (or polygon features which are labeled in a "perimeter" style mode). More...
|
|
QgsLabelObstacleSettings & | obstacleSettings () |
| Returns the label obstacle settings. More...
|
|
const QgsLabelObstacleSettings & | obstacleSettings () const |
| Returns the label obstacle settings. More...
|
|
QgsPalLayerSettings & | operator= (const QgsPalLayerSettings &s) |
| copy operator - only copies the permanent members More...
|
|
QgsLabelPlacementSettings & | placementSettings () |
| Returns the label placement settings. More...
|
|
const QgsLabelPlacementSettings & | placementSettings () const |
| Returns the label placement settings. More...
|
|
QgsLabeling::PolygonPlacementFlags | polygonPlacementFlags () const |
| Returns the polygon placement flags, which dictate how polygon labels can be placed. More...
|
|
bool | prepare (QgsRenderContext &context, QSet< QString > &attributeNames, const QgsFields &fields, const QgsMapSettings &mapSettings, const QgsCoordinateReferenceSystem &crs) |
| Prepare for registration of features. More...
|
|
void | readXml (const QDomElement &elem, const QgsReadWriteContext &context) |
| Read settings from a DOM element. More...
|
|
QSet< QString > | referencedFields (const QgsRenderContext &context) const |
| Returns all field names referenced by the configuration (e.g. More...
|
|
void | registerFeature (const QgsFeature &f, QgsRenderContext &context) |
| Registers a feature for labeling. More...
|
|
std::unique_ptr< QgsLabelFeature > | registerFeatureWithDetails (const QgsFeature &feature, QgsRenderContext &context, QgsGeometry obstacleGeometry=QgsGeometry(), const QgsSymbol *symbol=nullptr) |
| Registers a feature for labeling. More...
|
|
QgsUnitTypes::AngleUnit | rotationUnit () const |
| Unit for rotation of labels. More...
|
|
void | setCallout (QgsCallout *callout) |
| Sets the label callout renderer, responsible for drawing label callouts. More...
|
|
void | setDataDefinedProperties (const QgsPropertyCollection &collection) |
| Sets the label's property collection, used for data defined overrides. More...
|
|
void | setFormat (const QgsTextFormat &format) |
| Sets the label text formatting settings, e.g., font settings, buffer settings, etc. More...
|
|
void | setLegendString (const QString &legendString) |
| setLegendString More...
|
|
void | setLineSettings (const QgsLabelLineSettings &settings) |
| Sets the label line settings, which contain settings related to how the label engine places and formats labels for line features (or polygon features which are labeled in a "perimeter" style mode). More...
|
|
void | setObstacleSettings (const QgsLabelObstacleSettings &settings) |
| Sets the label obstacle settings. More...
|
|
void | setPlacementSettings (const QgsLabelPlacementSettings &settings) |
| Sets the label placement settings. More...
|
|
void | setPolygonPlacementFlags (QgsLabeling::PolygonPlacementFlags flags) |
| Sets the polygon placement flags, which dictate how polygon labels can be placed. More...
|
|
void | setRotationUnit (QgsUnitTypes::AngleUnit angleUnit) |
| Set unit for rotation of labels. More...
|
|
void | setThinningSettings (const QgsLabelThinningSettings &settings) |
| Sets the label thinning settings. More...
|
|
void | setUnplacedVisibility (Qgis::UnplacedLabelVisibility visibility) |
| Sets the layer's unplaced label visibility. More...
|
|
void | startRender (QgsRenderContext &context) |
| Prepares the label settings for rendering. More...
|
|
void | stopRender (QgsRenderContext &context) |
| Finalises the label settings after use. More...
|
|
QgsLabelThinningSettings & | thinningSettings () |
| Returns the label thinning settings. More...
|
|
const QgsLabelThinningSettings & | thinningSettings () const |
| Returns the label thinning settings. More...
|
|
Qgis::UnplacedLabelVisibility | unplacedVisibility () const |
| Returns the layer's unplaced label visibility. More...
|
|
QDomElement | writeXml (QDomDocument &doc, const QgsReadWriteContext &context) const |
| Write settings into a DOM element. More...
|
|