|
| QgsLocatorFilter (QObject *parent=nullptr) |
| Constructor for QgsLocatorFilter. More...
|
|
QString | activePrefix () const |
| Returns the prefix in use in the locator is entered. More...
|
|
virtual void | clearPreviousResults () |
| This method will be called on main thread on the original filter (not a clone) before fetching results or before triggering a result to clear any change made by a former call to triggerResult. More...
|
|
virtual QgsLocatorFilter * | clone () const =0 |
| Creates a clone of the filter. More...
|
|
virtual QString | description () const |
| Returns a translated, description for the filter. More...
|
|
virtual QString | displayName () const =0 |
| Returns a translated, user-friendly name for the filter. More...
|
|
bool | enabled () const |
| Returns true if the filter is enabled. More...
|
|
virtual void | fetchResults (const QString &string, const QgsLocatorContext &context, QgsFeedback *feedback)=0 |
| Retrieves the filter results for a specified search string. More...
|
|
int | fetchResultsDelay () const |
| Returns the delay (in milliseconds) for the filter to wait prior to fetching results. More...
|
|
virtual QgsLocatorFilter::Flags | flags () const |
| Returns flags which specify the filter's behavior. More...
|
|
virtual bool | hasConfigWidget () const |
| Should return true if the filter has a configuration widget. More...
|
|
void | logMessage (const QString &message, Qgis::MessageLevel level=Qgis::MessageLevel::Info) |
| Logs a message to the log panel. More...
|
|
virtual QString | name () const =0 |
| Returns the unique name for the filter. More...
|
|
virtual void | openConfigWidget (QWidget *parent=nullptr) |
| Opens the configuration widget for the filter (if it has one), with the specified parent widget. More...
|
|
virtual QString | prefix () const |
| Returns the search prefix character(s) for this filter. More...
|
|
virtual QStringList | prepare (const QString &string, const QgsLocatorContext &context) |
| Prepares the filter instance for an upcoming search for the specified string. More...
|
|
virtual Priority | priority () const |
| Returns the priority for the filter, which controls how results are ordered in the locator. More...
|
|
void | setActivePrefix (const QString &activePrefix) |
| Sets the prefix as being used by the locator. More...
|
|
void | setEnabled (bool enabled) |
| Sets whether the filter is enabled. More...
|
|
void | setFetchResultsDelay (int delay) |
| Sets a delay (in milliseconds) for the filter to wait prior to fetching results. More...
|
|
void | setUseWithoutPrefix (bool useWithoutPrefix) |
| Sets whether the filter should be used when no prefix is entered. More...
|
|
virtual void | triggerResult (const QgsLocatorResult &result)=0 |
| Triggers a filter result from this filter. More...
|
|
virtual void | triggerResultFromAction (const QgsLocatorResult &result, const int actionId) |
| Triggers a filter result from this filter for an entry in the context menu. More...
|
|
bool | useWithoutPrefix () const |
| Returns true if the filter should be used when no prefix is entered. More...
|
|