Class: QgsLocatorResult¶
- class qgis.core.QgsLocatorResult¶
Bases:
sip.wrapper
Constructor for QgsLocatorResult.
QgsLocatorResult(filter:
QgsLocatorFilter
, displayString: str, userData: Any = None) Constructor for QgsLocatorResult.QgsLocatorResult(
QgsLocatorResult
)Encapsulates properties of an individual matching result found by a QgsLocatorFilter.
- class ResultAction¶
Bases:
sip.wrapper
Constructor for ResultAction
QgsLocatorResult.ResultAction(id: int, text: str, iconPath: str = ‘’) Constructor for ResultAction The
id
used to recognized the action when the result is triggered. It should be 0 or greater as otherwise, the result will be triggered normally.QgsLocatorResult.ResultAction(QgsLocatorResult.ResultAction)
- iconPath¶
- id¶
- text¶
- actions¶
- description¶
- displayString¶
- filter¶
- getUserData(self) Any ¶
Returns the
userData
.New in version 3.16.2.
- Return type
Any
- group¶
- icon¶
- score¶
- userData¶