Class ActiveLayerFeaturesLocatorFilter
ClassList > ActiveLayerFeaturesLocatorFilter
#include <activelayerfeatureslocatorfilter.h>
Inherits the following classes: QgsLocatorFilter
Public Types
| Type | Name |
|---|---|
| enum | ActionOrigin Origin of the action which triggers the result. |
| enum | ResultType |
Public Functions
| Type | Name |
|---|---|
| ActiveLayerFeaturesLocatorFilter (LocatorModelSuperBridge * locatorBridge, QObject * parent=nullptr) |
|
| ActiveLayerFeaturesLocatorFilter * | clone () override const |
| QString | description () override const |
| QString | displayName () override const |
| void | fetchResults (const QString & string, const QgsLocatorContext & context, QgsFeedback * feedback) override |
| QString | name () override const |
| QString | prefix () override const |
| QStringList | prepare (const QString & string, const QgsLocatorContext & locatorContext) override |
| Priority | priority () override const |
| void | triggerResult (const QgsLocatorResult & result) override |
| void | triggerResultFromAction (const QgsLocatorResult & result, const int actionId) override |
Detailed Description
FeaturesLocatorFilter is a locator filter to search for features across layers in the project. Reimplemented from QGIS code (app).
Public Types Documentation
enum ActionOrigin
Origin of the action which triggers the result.
enum ActiveLayerFeaturesLocatorFilter::ActionOrigin {
Normal,
OpenForm,
Navigation
};
enum ResultType
enum ActiveLayerFeaturesLocatorFilter::ResultType {
Feature,
FieldRestriction
};
Public Functions Documentation
function ActiveLayerFeaturesLocatorFilter
explicit ActiveLayerFeaturesLocatorFilter::ActiveLayerFeaturesLocatorFilter (
LocatorModelSuperBridge * locatorBridge,
QObject * parent=nullptr
)
function clone
ActiveLayerFeaturesLocatorFilter * ActiveLayerFeaturesLocatorFilter::clone () override const
function description
inline QString ActiveLayerFeaturesLocatorFilter::description () override const
function displayName
inline QString ActiveLayerFeaturesLocatorFilter::displayName () override const
function fetchResults
void ActiveLayerFeaturesLocatorFilter::fetchResults (
const QString & string,
const QgsLocatorContext & context,
QgsFeedback * feedback
) override
function name
inline QString ActiveLayerFeaturesLocatorFilter::name () override const
function prefix
inline QString ActiveLayerFeaturesLocatorFilter::prefix () override const
function prepare
QStringList ActiveLayerFeaturesLocatorFilter::prepare (
const QString & string,
const QgsLocatorContext & locatorContext
) override
function priority
inline Priority ActiveLayerFeaturesLocatorFilter::priority () override const
function triggerResult
void ActiveLayerFeaturesLocatorFilter::triggerResult (
const QgsLocatorResult & result
) override
function triggerResultFromAction
void ActiveLayerFeaturesLocatorFilter::triggerResultFromAction (
const QgsLocatorResult & result,
const int actionId
) override
The documentation for this class was generated from the following file src/core/locator/activelayerfeatureslocatorfilter.h