QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
The ResultAction stores basic information for additional actions to be used in a locator widget for the result. More...
#include <qgslocatorfilter.h>
Public Member Functions | |
ResultAction ()=default | |
ResultAction (int id, QString text, QString iconPath=QString()) | |
Constructor for ResultAction The id used to recognized the action when the result is triggered. | |
Public Attributes | |
QString | iconPath |
int | id = -1 |
QString | text |
The ResultAction stores basic information for additional actions to be used in a locator widget for the result.
They could be used in a context menu for instance.
Definition at line 115 of file qgslocatorfilter.h.
|
default |
|
inline |
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.
Definition at line 127 of file qgslocatorfilter.h.
QString QgsLocatorResult::ResultAction::iconPath |
Definition at line 134 of file qgslocatorfilter.h.
int QgsLocatorResult::ResultAction::id = -1 |
Definition at line 132 of file qgslocatorfilter.h.
QString QgsLocatorResult::ResultAction::text |
Definition at line 133 of file qgslocatorfilter.h.