1565 Commits

Author SHA1 Message Date
qgis-bot
0dbabdf1e1 auto sipify 🍺 2025-10-01 00:19:43 +00:00
Damiano Lombardi
7a36d05a37 Move enum DevToolsNodeRole to Qgis namespace 2025-10-01 10:17:00 +10:00
Andrea Giudiceandrea
d1d6453264
Merge pull request #63336 from nyalldawson/fix_spell_check
Fix spell check
2025-09-26 10:11:11 +02:00
qgis-bot
a0368b52bd auto sipify 🍺 2025-09-26 04:22:11 +00:00
Alexander Bruy
6f34010834
Merge pull request #63341 from ValentinBuira/improve-doc
Small improvements to code examples in documentation
2025-09-26 05:19:07 +01:00
Alexander Bruy
68de81e852
Merge pull request #63333 from nyalldawson/cleanup_sip
Remove orphaned sip files
2025-09-26 05:17:13 +01:00
qgis-bot
5ba81679f5 auto sipify 🍺 2025-09-25 12:22:55 +00:00
Alexander Bruy
263278e429
Merge pull request #63323 from alexbruy/processing-maplayer-types
fix handling of tiled scene and vector tile layers in Processing
2025-09-25 13:20:12 +01:00
qgis-bot
5f46c63c45 auto sipify 🍺 2025-09-25 11:49:59 +00:00
Valentin Buira
4adfec7e43
Merge branch 'qgis:master' into improve-doc 2025-09-25 13:48:47 +02:00
Denis Rouzaud
9efd6af839
[core] Introduce QgsLayerTreeCustomNode and a first use case: Custom Elevation Profile Sources (#62819)
* Introduce QgsLayerTreeCustomNode to handle items in QgsLayerTree which are not layers nor layer groups (e.g., a custom profile source from a web service to the Elevation Profile layer tree); make QgsAbstractProfileSource and its generator classes get an id in the constructor, so that subclasses don't need to deal with source ids (source ids from the generators are already in use, whereas source id from source subclasses will be used to link sources to QgsLayerTreeCustomNodes, and will be used to retrieve sources from source registry)

* [elevation] Add/remove nodes to Elevation's layer tree when registering/unregistering profile sources via QgsProfileSourceRegistry

* [elevation] Add updateCanvasSources() to Elevation Profile widget, so that after changes in the elevation layer tree, the canvas gets an updated list of profile sources, taking profile sources (i.e., from custom nodes) into account. Add QgsProfileSourceRegistry::findSourceById() for getting profile sources by id from the registry.

* [elevation] Allow for setting a display name for custom profile sources (to be displayed as layer tree node name)

* [elevation] Refactor profile source handling in Layout Elevation Profile widget, so that after changes in the elevation layer tree, the canvas gets an updated list of profile sources, taking profile sources (i.e., from custom nodes) into account. Adjust QgsLayerTreeGroup to be able to find layers and custom nodes, as well as order layer and custom nodes inside a group (only direct children).

* [elevation] Profile Source Registry improvements:

 + Avoid registering a source if its id is already registered,
 + New method to unregister a source by id, deprecating the unregister by source object.

* [tests] Add tests for QgsLayerTreeCustomNode

* [tests] add tests for legacy Elevation Profile sources and for legacy Layout Profile items:

 + make sure we keep the API untouched and mark some stuff as legacy (e.g., pure virtual methods in QgsAbstractProfileSource need to have a default implementation and making them pure virtual is postponed until QGIS 5.0),
 + add insertCustomNode(index, node) method to QgsLayerTreeGroup, so that we can set up the custom node before adding it to the layer tree, because if we add it with no custom properties set (e.g., for the elevation profile custom node), it will trigger plot updates but it won't be found due to a still missing custom property.

* [elevation] Make sure legacy layer ordering in canvas, layout item profile, and layer tree are kept (i.e., keep API untouched). Make profile source ordering works in the most expected way: canvas, layout item profile, and layer tree are in the same order, and sources are only reversed right before passing them to renderers. Add unit tests.

* [tests] Custom node for custom Elevation profiles: make sure layout item sources are stored in and read from the project

* Address review on custom nodes for elevation profile's tree view
2025-09-25 13:47:21 +02:00
Alexander Bruy
ee48ed8a50 fix QGIS version in since annotation 2025-09-25 06:53:15 +01:00
Nyall Dawson
b79f17b056
Fix spelling 2025-09-25 14:27:22 +10:00
Nyall Dawson
b26ec7384c
Remove orphaned sip files 2025-09-25 14:09:02 +10:00
Alexander Bruy
3dea8531d9 fix handling of tiled scene and vector tile layers in Processing map
layer parameter and associated widget wrapper
2025-09-24 09:36:39 +01:00
David Koňařík
96f7eedb77 Extend work done in 55235e3e to Qt6 build 2025-09-24 08:39:32 +10:00
Alexander Bruy
e290dc7629 fix typo in the OpenLayersToResolveDescriptions sublayer query flag 2025-09-24 08:36:21 +10:00
qgis-bot
3de4415553 auto sipify 🍺 2025-09-18 03:04:06 +00:00
Nyall Dawson
1ac32faf76 Add 'OpenLayersToResolveDescriptions' sublayer query flag
Make (potentially very slow) opening of layers to resolve descriptions opt-in
2025-09-18 13:00:47 +10:00
qgis-bot
483a90ecbe auto sipify 🍺 2025-09-18 02:51:52 +00:00
Mathieu Pellerin
a1e8115733
Merge pull request #63168 from nirvn/project_metadata_translation
Project/layer metadata localization support
2025-09-18 09:49:00 +07:00
qgis-bot
cb204b20f9 auto sipify 🍺 2025-09-18 02:46:46 +00:00
Nyall Dawson
d9362e6687 [api] Introduce flag to disable error message logging for network requests
Fixes #53721
2025-09-18 12:44:10 +10:00
qgis-bot
35e6e31f17 auto sipify 🍺 2025-09-16 06:04:06 +00:00
Loïc Bartoletti
3fe31730eb
Merge pull request #63062 from benoitdm-oslandia/feat/chamfer-fillet-improvements
Feat/chamfer fillet improvements
2025-09-16 07:58:40 +02:00
Mathieu Pellerin
dfaa1d6cff Add missing documentation 2025-09-13 12:03:46 +07:00
Mathieu Pellerin
fd0cb2c37d [projects] Implement translation support for project and layer metadata 2025-09-13 11:18:47 +07:00
Juergen E. Fischer
89b06b52ad fix and improve translation strings 2025-09-12 08:17:33 +02:00
qgis-bot
787b9a8b72 auto sipify 🍺 2025-09-10 21:14:48 +00:00
Jean Felder
ce91c3e80f qgssfcgalgeometry: Add a default copy assignment operator
This fixes the following compilation error:
```
definition of implicit copy assignment operator for
'QgsSfcgalGeometry' is deprecated because it has a user-provided copy
constructor [-Werror,-Wdeprecated-copy-with-user-provided-copy] 89 |
QgsSfcgalGeometry( const QgsSfcgalGeometry &otherGeom ) SIP_THROW(
QgsSfcgalException );
```
2025-09-11 07:12:12 +10:00
bdm-oslandia
2ef8b6c580 fixes from review 2025-09-09 10:20:58 +02:00
qgis-bot
958b06c3d6 auto sipify 🍺 2025-09-09 07:23:20 +00:00
Mathieu Pellerin
87d5815268
Merge pull request #63103 from nirvn/atlas_clip
[layouts] Allow for atlas geometries to reshape the frame of map items
2025-09-09 14:20:36 +07:00
qgis-bot
40ec57c406 auto sipify 🍺 2025-09-09 07:19:23 +00:00
Mathieu Pellerin
8b72152aff
Charts implementation, part 3: data defined properties (#63100)
* [charts] Implement data-defined properties, connect GUI

* Fix copy/paste typo with grid symbol buttons

* Address review
2025-09-09 14:16:41 +07:00
Mathieu Pellerin
b9d2c066de Address review, fix test 2025-09-09 11:26:57 +07:00
Mathieu Pellerin
1360d8ac76 Address review 2025-09-09 11:23:21 +07:00
qgis-bot
e8a80eb038 auto sipify 🍺 2025-09-09 03:40:55 +00:00
Germán Carrillo
ed14d45755 Address review: Add QgsProcessingParameterRasterLayer's parameter capabilities flags and associated getter/setter, to allow algorithms to state that a raster layer supports the advanced raster options panel 2025-09-09 13:38:16 +10:00
Germán Carrillo
8ce111115c [core] Introduce QgsWmsUtils to get centralized access to WMS related utilities 2025-09-09 13:38:16 +10:00
Germán Carrillo
9e67aca98f Address review (miscellaneous): Scale parameter from long to double; use processing API to create temp files 2025-09-09 13:38:16 +10:00
Germán Carrillo
c2b5060802 [processing] Introduce QgsProcessingRasterLayerDefinition to support advanced raster source options like reference scale and DPI for WMS layers. These options allow users to tailor the raster to be used as input in Processing algs. For instance, a WMS raster can be specified to have a particular scale to obtain images with symbology/labeling that correspond to that scale. 2025-09-09 13:38:16 +10:00
Mathieu Pellerin
fec997e443 [layouts] Allow for atlas geometries to reshape the frame of map items 2025-09-09 10:23:57 +07:00
Mathieu Pellerin
21e9095b0e [charts] Implement data-defined properties, connect GUI 2025-09-09 09:13:36 +07:00
qgis-bot
2cbbd33e7e auto sipify 🍺 2025-09-09 01:48:10 +00:00
Nyall Dawson
f3fa1d40ce Add a bit more thread-safety to QgsMapSettings
Avoid accessing layers to retrieve their IDs in common situations
2025-09-09 11:45:32 +10:00
qgis-bot
8f67da44cc auto sipify 🍺 2025-09-08 16:08:05 +00:00
Mathieu Pellerin
092bbc479b
Brand new pie chart plot type (#63099) 2025-09-08 23:05:26 +07:00
qgis-bot
b313757489 auto sipify 🍺 2025-09-08 06:43:41 +00:00
mhugent
0fe161e3c0
Merge pull request #62950 from mhugent/invalid_layer_rendering_error
Report attempt to render invalid layers as a rendering error
2025-09-08 08:41:03 +02:00