Class: QgsProfileIdentifyResults¶
- class qgis.core.QgsProfileIdentifyResults¶
Bases:
sip.wrapper
Stores identify results generated by a
QgsAbstractProfileResults
object.Added in version 3.26.
QgsProfileIdentifyResults(layer: Optional[QgsMapLayer] = None, results: Iterable[Dict[str, Any]] = []) Constructor for
QgsProfileIdentifyResult
, with the associated maplayer
.QgsProfileIdentifyResults(a0:
QgsProfileIdentifyResults
)- layer(self) QgsMapLayer | None ¶
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
QgsAbstractProfileResults
subclass which generated the results.- Return type:
List[Dict[str, Any]]