The QgsLocatorModelBridge class provides the core functionality to be used in a locator widget.
More...
#include <qgslocatormodelbridge.h>
The QgsLocatorModelBridge class provides the core functionality to be used in a locator widget.
- Since
- QGIS 3.6
Definition at line 42 of file qgslocatormodelbridge.h.
◆ QgsLocatorModelBridge()
QgsLocatorModelBridge::QgsLocatorModelBridge |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~QgsLocatorModelBridge()
virtual QgsLocatorModelBridge::~QgsLocatorModelBridge |
( |
| ) |
|
|
virtualdefault |
◆ hasQueueRequested()
bool QgsLocatorModelBridge::hasQueueRequested |
( |
| ) |
const |
◆ invalidateResults
void QgsLocatorModelBridge::invalidateResults |
( |
| ) |
|
|
slot |
◆ isRunning()
bool QgsLocatorModelBridge::isRunning |
( |
| ) |
const |
Returns true
if the a search is currently running.
◆ isRunningChanged
void QgsLocatorModelBridge::isRunningChanged |
( |
| ) |
|
|
signal |
Emitted when the running status changes.
◆ locator()
QgsLocator * QgsLocatorModelBridge::locator |
( |
| ) |
const |
◆ performSearch()
void QgsLocatorModelBridge::performSearch |
( |
const QString & |
text | ) |
|
◆ proxyModel()
◆ resultAdded
void QgsLocatorModelBridge::resultAdded |
( |
| ) |
|
|
signal |
Emitted when a result is added.
◆ resultsCleared
void QgsLocatorModelBridge::resultsCleared |
( |
| ) |
|
|
signal |
Emitted when the results are cleared.
◆ triggerResult()
void QgsLocatorModelBridge::triggerResult |
( |
const QModelIndex & |
index, |
|
|
const int |
actionId = -1 |
|
) |
| |
Triggers the result at given index and with optional actionId if an additional action was triggered.
Definition at line 40 of file qgslocatormodelbridge.cpp.
◆ updateCanvasCrs
◆ updateCanvasExtent
void QgsLocatorModelBridge::updateCanvasExtent |
( |
const QgsRectangle & |
extent | ) |
|
|
slot |
◆ isRunning
bool QgsLocatorModelBridge::isRunning |
|
read |
The documentation for this class was generated from the following files: