Class: QgsMapHitTestTask¶
Executes a QgsMapHitTest
in a background thread.
Added in version 3.32.
Class Hierarchy¶
Base classes¶
Abstract base class for long running background tasks. |
|
Methods
Returns the hit test results, which are a map of layer ID to visible symbol legend keys. |
- class qgis.core.QgsMapHitTestTask[source]¶
Bases:
QgsTask
- __init__(settings: QgsLayerTreeFilterSettings)
Constructor for QgsMapHitTestTask, using the specified filter
settings
.- Parameters:
settings (QgsLayerTreeFilterSettings)
- results(self) Any ¶
Returns the hit test results, which are a map of layer ID to visible symbol legend keys.
- Return type:
Any