Class: QgsProfileIdentifyResults¶
Stores identify results generated by a
QgsAbstractProfileResults object.
Added in version 3.26.
Methods
Returns the associated map layer.  | 
|
Returns a list of custom attributes representing the identify results.  | 
- class qgis.core.QgsProfileIdentifyResults[source]¶
 Bases:
object- __init__(layer: QgsMapLayer | None = None, results: Iterable[Dict[str, Any]] = [])
 Constructor for
QgsProfileIdentifyResult, with the associated maplayer.- Parameters:
 layer (Optional[QgsMapLayer] = None)
results (Iterable[Dict[str, Any]] = [])
- __init__(a0: QgsProfileIdentifyResults)
 - Parameters:
 
- layer(self) QgsMapLayer | None[source]¶
 Returns the associated map layer.
- Return type:
 Optional[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
QgsAbstractProfileResultssubclass which generated the results.- Return type:
 List[Dict[str, Any]]