QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | Friends | List of all members
QgsLabelingResults Class Reference

Class that stores computed placement from labeling engine. More...

#include <qgspallabeling.h>

Public Member Functions

 QgsLabelingResults ()
 
 QgsLabelingResults (const QgsLabelingResults &)=delete
 QgsLabelingResults cannot be copied. More...
 
 ~QgsLabelingResults ()
 
QList< QgsLabelPositionlabelsAtPosition (const QgsPointXY &p) const
 Returns infos about labels at a given (map) position. More...
 
QList< QgsLabelPositionlabelsWithinRect (const QgsRectangle &r) const
 Returns infos about labels within a given (map) rectangle. More...
 
QgsLabelingResultsoperator= (const QgsLabelingResults &rh)=delete
 QgsLabelingResults cannot be copied. More...
 
void setMapSettings (const QgsMapSettings &settings)
 Sets the map settings associated with the labeling run. More...
 

Friends

class QgsPalLabeling
 
class QgsVectorLayerDiagramProvider
 
class QgsVectorLayerLabelProvider
 

Detailed Description

Class that stores computed placement from labeling engine.

Since
QGIS 2.4

Definition at line 1016 of file qgspallabeling.h.

Constructor & Destructor Documentation

QgsLabelingResults::QgsLabelingResults ( )

Definition at line 3546 of file qgspallabeling.cpp.

QgsLabelingResults::~QgsLabelingResults ( )
default
QgsLabelingResults::QgsLabelingResults ( const QgsLabelingResults )
delete

QgsLabelingResults cannot be copied.

Member Function Documentation

QList< QgsLabelPosition > QgsLabelingResults::labelsAtPosition ( const QgsPointXY p) const

Returns infos about labels at a given (map) position.

Definition at line 3553 of file qgspallabeling.cpp.

QList< QgsLabelPosition > QgsLabelingResults::labelsWithinRect ( const QgsRectangle r) const

Returns infos about labels within a given (map) rectangle.

Definition at line 3571 of file qgspallabeling.cpp.

QgsLabelingResults& QgsLabelingResults::operator= ( const QgsLabelingResults rh)
delete

QgsLabelingResults cannot be copied.

void QgsLabelingResults::setMapSettings ( const QgsMapSettings settings)

Sets the map settings associated with the labeling run.

Since
QGIS 3.4.8

Definition at line 3589 of file qgspallabeling.cpp.

Friends And Related Function Documentation

friend class QgsPalLabeling
friend

Definition at line 1045 of file qgspallabeling.h.

friend class QgsVectorLayerDiagramProvider
friend

Definition at line 1047 of file qgspallabeling.h.

friend class QgsVectorLayerLabelProvider
friend

Definition at line 1046 of file qgspallabeling.h.


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