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.
New in version 3.0: Enums
Methods
Signals
Attributes
-
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
¶
-
group
¶
-
icon
¶
-
score
¶
-
userData
¶
-
class