Class: QgsProfileIdentifyResults

class qgis.core.QgsProfileIdentifyResults

Bases: sip.wrapper

Stores identify results generated by a QgsAbstractProfileResults object.

New in version 3.26.

QgsProfileIdentifyResults(layer: QgsMapLayer = None, results: Iterable[Dict[str, Any]] = []) Constructor for QgsProfileIdentifyResult, with the associated map layer.

QgsProfileIdentifyResults(QgsProfileIdentifyResults)

Methods

layer

Returns the associated map layer.

results

Returns a list of custom attributes representing the identify results.

layer(self) QgsMapLayer

Returns the associated map layer.

Return type:

QgsMapLayer

results(self) List[Dict[str, Any]]

Returns a list of custom attributes representing the identify results.

The interpretation of these is dependent on the QgsAbstractProfileResults subclass which generated the results.

Return type:

List[Dict[str, Any]]