Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename QgsLocatorWidgetCore to QgsLocatorModelBridge
- Loading branch information
Showing
8 changed files
with
157 additions
and
59 deletions.
There are no files selected for viewing
98 changes: 98 additions & 0 deletions
98
python/core/auto_generated/locator/qgslocatormodelbridge.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/locator/qgslocatormodelbridge.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
class QgsLocatorModelBridge : QObject | ||
{ | ||
%Docstring | ||
The QgsLocatorModelBridge class provides the core functionality | ||
to be used in a locator widget. | ||
|
||
.. versionadded:: 3.6 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgslocatormodelbridge.h" | ||
%End | ||
public: | ||
explicit QgsLocatorModelBridge( QObject *parent = 0 ); | ||
%Docstring | ||
Constructor of QgsLocatorModelBridge | ||
%End | ||
|
||
void performSearch( const QString &text ); | ||
%Docstring | ||
Perform a search | ||
%End | ||
|
||
QgsLocator *locator() const; | ||
%Docstring | ||
Returns the locator | ||
%End | ||
|
||
QgsLocatorProxyModel *proxyModel() const; | ||
%Docstring | ||
Returns the proxy model | ||
%End | ||
|
||
bool hasQueueRequested() const; | ||
%Docstring | ||
Returns true if some text to be search is pending in the queue | ||
%End | ||
|
||
bool isRunning() const; | ||
%Docstring | ||
Returns true if the a search is currently running | ||
%End | ||
|
||
signals: | ||
void resultAdded(); | ||
%Docstring | ||
Emitted when a result is added | ||
%End | ||
|
||
void isRunningChanged(); | ||
%Docstring | ||
Emitted when the running status changes | ||
%End | ||
|
||
void resultsCleared(); | ||
%Docstring | ||
Emitted when the results are cleared | ||
%End | ||
|
||
public slots: | ||
void invalidateResults(); | ||
%Docstring | ||
This will invalidate current search results | ||
%End | ||
|
||
void updateCanvasExtent( const QgsRectangle &extent ); | ||
%Docstring | ||
Update the canvas extent used to create search context | ||
%End | ||
|
||
void updateCanvasCrs( const QgsCoordinateReferenceSystem &crs ); | ||
%Docstring | ||
Update the canvas CRS used to create search context | ||
%End | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/locator/qgslocatormodelbridge.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.