Denis Rouzaud
9b9975fa08
fix includes + more forward declarations
2023-02-03 09:05:37 +01:00
Nyall Dawson
02266ef8e6
Rename Qgis::MessageLevel::None to NoLevel. None is a reserved
...
keyword in Python, so this value was previously inaccessible to PyQGIS
scripts
Also change all references to Qgis::MessageLevel values to their
fully qualified names, to ease a future transition to an enum
class (when sip bugs are fixed)
Fixes #42996
2021-05-30 10:36:01 +10:00
Nyall Dawson
c543a57b83
Remove some unused widget imports from core library
2021-05-19 13:52:58 +10:00
Damiano
810af987d3
Removed setting entries from the python api
2021-04-29 11:18:55 +02:00
Damiano
9762206731
Removed Settings struct / unified Enum/Flag logic in one base class
2021-04-14 15:41:49 +02:00
Damiano
d16702dfbc
no more hand modified sip files
2021-04-01 10:13:08 +02:00
Damiano
628f9dab29
Added QgsSettingsEntryBase and value() is now typed according to setting
2021-04-01 09:38:56 +02:00
Damiano
cee0e310f8
Sip part running
2021-04-01 09:38:56 +02:00
Damiano
21c19aba9c
static inline settings
2021-04-01 09:38:56 +02:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Mathieu Pellerin
2008f5ef57
[locators] Add a description property to locator filter base class ( #42132 )
2021-03-09 17:56:15 +07:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Nyall Dawson
a9c80e5740
Code shuffle
...
Move vector, project and network related core .cpp/.h files into
dedicated subdirectories.
An attempt to organise src/core better to make things easier to find.
2020-12-29 11:38:11 +10:00
nirvn
d03d3b3ea0
[FEATURE][locator] Add delayed fetching of results
2020-12-16 13:14:27 +07:00
Matthias Kuhn
4edd44ae63
Add getter for QgsLocatorResults.userData
...
References https://github.com/opengisch/qgis-swiss-locator/issues/9
2020-12-06 08:43:56 +01:00
Nyall Dawson
d0ea8faf3c
Add transform context to QgsLocatorContext
...
Allows locators to correctly perform transformations during their
result fetching/handling
2020-10-30 14:31:54 +10:00
Denis Rouzaud
950fda6024
remove unused searchBegan signal
2020-09-08 14:53:50 +02:00
Denis Rouzaud
58b3ae8136
fix typos
2020-09-08 14:53:50 +02:00
Denis Rouzaud
82b1079b50
fix spelling
2020-09-08 14:53:50 +02:00
Denis Rouzaud
002a7033f0
[FEATURE] enable auto completion in locator
...
a locator filter can now return a completion list while preparing the search
the line edit will use the first matching completion and display it as light grey text
the completion can be triggered by pressing Tab key
2020-09-08 14:53:50 +02:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Ivan Ivanov
5241d64dcb
code formatting
2020-03-18 03:02:28 +10:00
Denis Rouzaud
758d7cff4a
run sipify to update deprecation annotations
2019-10-15 13:17:38 +02:00
Nyall Dawson
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Bas Couwenberg
371176357b
Fix spelling errors.
...
* cancelation -> cancellation
* overal -> overall
2019-02-24 22:39:40 +01:00
Denis Rouzaud
157c8f4987
more doc
2018-11-29 14:28:14 -04:00
Denis Rouzaud
c13b419d21
fix python bindings
2018-11-29 12:50:48 -04:00
Denis Rouzaud
e03537a4cf
fix typo
2018-11-29 08:27:15 -04:00
Denis Rouzaud
f24daa2b69
allow to use icons too
2018-11-29 08:15:12 -04:00
Denis Rouzaud
d272f3cf2a
do not use qaction in the result, build context menu in the widget
2018-11-29 08:02:37 -04:00
Denis Rouzaud
c48a706e49
use int as IDs to recognize context menu entries
2018-11-28 08:34:09 -04:00
Denis Rouzaud
91736fd9f6
fix doc
2018-11-28 07:46:24 -04:00
Denis Rouzaud
1bc0fbf9d4
[locator] allow to have context menu entries for results
2018-11-28 07:46:24 -04:00
Denis Rouzaud
f4f5d1ef5b
missing destructor
2018-11-09 10:01:38 +00:00
Denis Rouzaud
31cd1644c3
also move triggering of results to core
2018-11-09 10:01:29 +00:00
Denis Rouzaud
107e646219
rename QgsLocatorWidgetCore to QgsLocatorModelBridge
2018-11-06 13:59:37 -04:00
Denis Rouzaud
f652e8dcba
save current extent and CRS in locator core
...
remove remaining bits of interface
2018-11-06 13:37:39 -04:00
Denis Rouzaud
6a9d7a69d8
implement roleNames for QgsLocatorModel
2018-11-06 10:09:20 -04:00
Denis Rouzaud
078b445057
move part of the logic of QgsLocatorWidget to core
2018-11-06 10:08:33 -04:00
Denis Rouzaud
8503896674
[locator] add clearPreviousResults virtual method ( #7256 )
...
* [locator] add clearPreviousResults virtual method
* also clear previous results when triggering result
2018-06-16 19:04:59 -08:00
Denis Rouzaud
3651df0727
add logMessage method to locator filter ( #7222 )
...
to discourage from using Python print()
2018-06-13 03:26:25 -08:00
Denis Rouzaud
dc9fb90b01
add note on how to invalidate results
2018-06-01 03:31:39 -08:00
Nyall Dawson
2cb8a33884
Fix broken see also links
2018-05-25 11:16:18 +10:00
Denis Rouzaud
c1e16969f3
[QgsLocator] add the capability of adding group for elements within the same filter
2018-05-17 21:46:31 -04:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00