21731 Commits

Author SHA1 Message Date
Yoann Quenach de Quivillic
e6f2fc1288 Add autoSurround setting 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
59332e0984 Fix sip 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
451317b783 Set autoCloseBracket default value to True 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
e992797f8b Restore autoCloseBracket settings and factorize autoInsertImport 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
88a683fec3 Fix style 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
f98266b768 Get rid of the old autoCloseBracket setting 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
eade013151 Document versioon added 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
da260a7a46 add helper functions to get cursor context info 2023-01-11 07:33:27 +10:00
CodeBardian
a03d5363c8 sipify and astyle 2023-01-11 06:50:25 +10:00
Even Rouault
bac117e4f1
Merge pull request #51144 from rouault/wfs_sublayers
[WFS] Improve support of layers with unknown geometry type with Deegree servers
2023-01-09 06:14:09 +01:00
Nyall Dawson
f88c0c3a4c Sipify 2023-01-09 14:35:50 +10:00
Nyall Dawson
b23eb1d250 [feature] New function "load_layer"
This function (available only in Processing expressions for now),
allows loading a map layer via a source string and provider name.

It is designed to allow use of the expression functions which
directly reference map layers (such as the aggregate functions)
with a hardcoded layer path, eg. then permitting these functions
to be used outside of a project (such as via the qgis_process tool)
2023-01-09 14:35:50 +10:00
Nyall Dawson
e670ed334d Allow a "destination" QgsMapLayerStore to be associated with a
QgsExpressionContext, providing a place for layers loaded
during expression preparation/evaluation to be stored

There are no destination stores set by default. The store
is likely to be set only in a limited number of circumstances,
eg in expression contexts used by Processing where we already
have a logical temporary layer store to use (via QgsProcessingContext)
2023-01-09 14:35:50 +10:00
pathmapper
111b5a7c6d Small adjustments 2023-01-09 12:03:50 +10:00
pathmapper
0e533cda96 Make attribution more informative and translatable 2023-01-09 12:03:50 +10:00
pathmapper
9bcce8d9c7 Remove optional Leaflet attribution prefix 2023-01-09 12:03:50 +10:00
pathmapper
361faa9224 Update Leaflet to latest release 2023-01-09 12:03:50 +10:00
Mathieu Pellerin
cf0dae76b2 [processing] Don't load default style when creating a memory sink 2023-01-07 10:21:37 +07:00
Yoann Quenach de Quivillic
1c79b4927d
[feature][console] Add toggle comment action in the python console (#50341)
Adds a toggle comment action in the Python Console and script editors
2023-01-07 09:27:08 +10:00
Yoann Quenach de Quivillic
f6c0bda4c5 Add userProfileManager in QgisInterface (iface)
Fixes #48337
2023-01-06 10:46:50 +01:00
Even Rouault
8866b0cdad
QgsProviderSublayerTask: make it possible to restrict it to a particular provider
Avoids the 'ERROR: Status 2: File  pagingEnabled='false'
preferCoordinatesForWfsT11='false' restrictToRequestBBOX='1'
srsname='EPSG:25832' typename='dvg:nw_dvg1_bld'
url='https://www.wfs.nrw.de/geobasis/wfs_nw_dvg' version='auto' could
not be found' type of message in the scenario described by
https://github.com/qgis/QGIS/pull/51144#issuecomment-1345507627
2023-01-04 00:15:28 +01:00
Even Rouault
541da34602
Add a QgsProviderMetadata:suggestGroupNameForUri() method and implement it for WFS to have WFS sublayers put in a group 2023-01-04 00:15:27 +01:00
Even Rouault
0c8f0106da
Add QgsGeometry::convertToCurvedMultiType() 2023-01-04 00:07:49 +01:00
Julien Cabieces
f4d2f27fbd
Merge pull request #51215 from uclaros/fix-relation-multi-completer
Allow filtering in value relation widget when allowing multiple selections
2023-01-03 15:59:52 +01:00
Sandro Mani
caadcb42e8 Move QgsProviderSublayersDialog to GUI 2023-01-03 11:34:52 +01:00
Nyall Dawson
7297f7aa9e Fix PyQGIS documentation for QgsFeature.setAttribute
Fixes #51276
2023-01-03 18:16:45 +10:00
Mathieu Pellerin
2aacff1d46
[gps] Catch NMEA UTC times for date-less streams (#51346) 2023-01-01 12:31:15 +00:00
Harrissou Sant-anna
0dffc593e2 Add missing blank line to allow parameters display in docs 2022-12-31 06:56:48 +10:00
Harrissou Sant-anna
f1f7b7ab12 Fix see also blocks misformatting 2022-12-31 06:56:48 +10:00
Alessandro Pasotti
0aeb6dc760
Merge pull request #51277 from elpaso/sld-export-options-svg
Add SLD export context
2022-12-28 09:34:12 +01:00
Alessandro Pasotti
85da91eb83
Merge pull request #51260 from elpaso/bugfix-gh22172-sld-else-export
SLD: <se:ElseFilter/> nor working when styling data with sld
2022-12-28 09:33:57 +01:00
Alessandro Pasotti
d7ad954bc5
Merge pull request #51253 from tudorbarascu/selecticon
add "Select Within Distance" icon to the Selection Toolbar
2022-12-21 11:56:45 +01:00
Alessandro Pasotti
f84a0a8647 More doxy 2022-12-21 11:31:25 +01:00
Alessandro Pasotti
644a99dd6e Doxy 2022-12-21 11:26:20 +01:00
Alessandro Pasotti
118c956cff Add SLD export context 2022-12-21 11:09:03 +01:00
Matthias Kuhn
73be65fc7d
Merge pull request #51250 from fghoussen/fix_build_debian 2022-12-17 13:00:36 +01:00
Matthias Kuhn
f591542ffe
Merge pull request #50740 from DelazJ/txIssues 2022-12-17 08:37:12 +01:00
Alessandro Pasotti
c552ab64c2 SLD ElseFilter support 2022-12-16 17:05:34 +01:00
Franck HOUSSEN
a33e2bcef9 [BUG FIX] Fix compilation on debian:
In file included from /path/to/QGIS/build/python/core/auto_generated/pointcloud/qgspointcloudlayerexporter.sip:242:
/path/to/QGIS/src/core/pointcloud/qgspointcloudlayerexporter.h:28:10: fatal error: pdal/PointView.hpp: No such file or directory
   28 | #include <pdal/PointView.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~
2022-12-16 16:57:53 +01:00
Alessandro Pasotti
8b5e9c4b29
Merge pull request #51218 from elpaso/bugfix-gh51200-rat-editing
Raster Attribute Table GUI enhancements/fixes
2022-12-16 13:45:35 +01:00
Harrissou Sant-anna
7da101acbe Fix GeometryOperationResult enums documentation 2022-12-16 11:23:02 +01:00
Harrissou Sant-anna
d249049256 make params easier to find in PyQgsSettingsEntryEnumFlag docs 2022-12-16 11:23:02 +01:00
Denis Rouzaud
b983c5afeb fix docs 2022-12-16 09:09:57 +01:00
Denis Rouzaud
da4865872c [settings] add new type for variant map: QgsSettingsEntryVariantMap 2022-12-16 09:09:57 +01:00
Nyall Dawson
c43b558901 Upgrade raster enums to enum class, and remove some completely unused
enums
2022-12-16 12:01:44 +10:00
Nyall Dawson
769c68b591 [api][expressions] Allow additional map layer stores to be associated
with an expression context

This allows the various expression functions which can refer to
layers to also locate layers stored in these additional,
non-QgsProject::instance, store.

The immediate use case is paving the way for expressions to access
temporary layers created during the execution of processing jobs
(ie model steps). (This is just an API building block toward that
goal)
2022-12-16 03:37:26 +10:00
Nyall Dawson
9a8b8b160d Fix thread safety in raster layer rendering
We were cloning the data provider correctly, but doing this on the
main thread means that the provider has thread affinity with the
main thread -- so we need to ensure it is moved over to the
actual rendering thread prior to the rendering.
2022-12-15 14:50:08 +10:00
signedav
15a6f6a616 remove doc note 2022-12-15 14:42:15 +10:00
signedav
115d822bb8 remove SIP_SKIP on hasCheckedStateInfo and setHasCheckedStateInfo to be able to create full map theme record settings 2022-12-15 14:42:15 +10:00
Nyall Dawson
515ce71df2 Remove unused enum 2022-12-15 12:26:49 +10:00