24367 Commits

Author SHA1 Message Date
Julien Cabieces
209043e21e build(QSci): fix build when python QSci is missing 2024-12-17 09:06:44 +01:00
Julien Cabieces
0fdb3508a5 api(Deprecated): Remove strong requirement on \deprecated
Because some method (only QgsGeometry::set actually) can be deprecated
only in python, not in C++. But \deprecated triggers the need for Q_DECL_DEPRECATED
2024-12-17 09:06:44 +01:00
Julien Cabieces
ed64834106 api(deprecated): add message to deprecated SIP annotation 2024-12-17 09:06:42 +01:00
Julien Cabieces
398f00bc26 doc(Deprecated): Fix missing \deprecated instruction 2024-12-17 09:05:46 +01:00
Julien Cabieces
0a42c57a4b build(QSci): fix build when python QSci is missing 2024-12-17 09:05:46 +01:00
Alessandro Pasotti
ca2470bcc3
Merge pull request #59924 from nyalldawson/rename_var
Rename variable for clarity
2024-12-17 08:36:12 +01:00
qgis-bot
66025ed81d auto sipify 🍺 2024-12-17 02:49:39 +00:00
Jan Caha
2adaec6825
Mesh Render Extent Settings
This brings to renderer for Mesh Contours option to set renderer Min Max based on extent (specific canvas, changing canvas) in the same way as renderers for Raster Layer.
2024-12-17 12:46:50 +10:00
Nyall Dawson
75758dff03
Rename variable for clarity 2024-12-17 07:49:42 +10:00
qgis-bot
91b473bcfb auto sipify 🍺 2024-12-16 19:14:16 +00:00
Nyall Dawson
9f4bb37824 [api] Add QgsVectorDataProvider::geometryColumnName
Allows easy retrieval of the geometry column name from the data
provider, if applicable.

(This was NOT possible to retrieve in a consistent, provider
independant way before)
2024-12-17 05:11:25 +10:00
qgis-bot
4ca5fcb6b5 auto sipify 🍺 2024-12-16 00:28:52 +00:00
Damiano Lombardi
3d4d5a2d02 sipyfy 2024-12-16 10:26:01 +10:00
Nyall Dawson
72f07dc851 Fix build 2024-12-15 11:37:53 +10:00
Nyall Dawson
a9a74e9aed Fix heatmap algorithm on qt6 2024-12-15 09:10:18 +10:00
Nyall Dawson
59a76430dc Fix cppcheck errors 2024-12-14 11:09:20 +10:00
Nyall Dawson
3d2f37a756 Fix test which was never working, but just skipped on CI because too old GDAL 2024-12-14 10:22:12 +10:00
Nyall Dawson
05c269d61d Fix test on newer GEOS versions 2024-12-14 10:22:12 +10:00
Alexander Bruy
b524995a69
Merge pull request #59864 from nyalldawson/fix_server_crash
Fix crash in server VirtualErrorHandler on newer sip environments
2024-12-13 12:55:49 +00:00
qgis-bot
645c474284 auto sipify 🍺 2024-12-13 04:24:36 +00:00
Nyall Dawson
3a649fbc81 Rename file to qgsabstractterrainsettings.h/cpp 2024-12-13 14:21:51 +10:00
Nyall Dawson
6019c3e755 Handle extent and crs in terrain generator creation 2024-12-13 14:21:51 +10:00
Nyall Dawson
f9f2aa40f0 Move symbol to QgsMeshTerrainSettings 2024-12-13 14:21:51 +10:00
Nyall Dawson
e550ea7670 Move configurateTerrainFromProject to registry 2024-12-13 14:21:51 +10:00
Nyall Dawson
be19042d1d Terrain settings can create generators 2024-12-13 14:21:51 +10:00
Nyall Dawson
25313dd530 Registry can create terrain generators 2024-12-13 14:21:51 +10:00
Nyall Dawson
c1bd66a54d Online DEM 2024-12-13 14:21:51 +10:00
Nyall Dawson
ed9b2784b0 Quantized mesh settings 2024-12-13 14:21:51 +10:00
Nyall Dawson
293b7afadd Implement a registry for terrain objects 2024-12-13 14:21:51 +10:00
Nyall Dawson
8af23b1002 Initial framework for terrain settings refactoring 2024-12-13 14:21:51 +10:00
Nyall Dawson
27253e1c21 Fix test on newer python 2024-12-13 13:54:19 +10:00
qgis-bot
f7c0a8d5ee auto sipify 🍺 2024-12-12 23:40:48 +00:00
Nyall Dawson
2f2e900098 Add api to control spin box editing timeout interval 2024-12-13 09:38:03 +10:00
Nyall Dawson
0f64fdfeb9 Add editingTimeout signal to Qgs(Double)SpinBox
Emitted when either:
1. 2 seconds has elapsed since the last value change in the widget
  (eg last key press or scroll wheel event)
2. or, immediately after the widget has lost focus after its value
  was changed.

This signal can be used to respond semi-instantly to changes in
the spin box, without responding too quickly
while the user in the middle of setting the value.
2024-12-13 09:38:03 +10:00
Jan Caha
b463e7c813 fix error where table comment was not updated on second open of "Table Properties" window 2024-12-13 09:37:33 +10:00
Jan Caha
330c03dccc edit QLineEdit to QTextEdit 2024-12-13 09:37:33 +10:00
Nyall Dawson
c2d213d339
Fix crash in server VirtualErrorHandler on newer sip environments
Fixes crash in tests, and adapts these VirtualErrorHandlers to the same
code used elsewhere in QGIS
2024-12-13 08:21:11 +10:00
Yoann Quenach de Quivillic
6c3dc5d069 Temporary rubberband 2024-12-13 07:42:39 +10:00
Nyall Dawson
e8cbab7034 Add missing transfer annotations 2024-12-13 05:24:22 +10:00
Julien Cabieces
1f080b9a10
Merge pull request #59844 from nyalldawson/fix_blocking_process_test
Fix blocking process test
2024-12-12 17:00:05 +01:00
qgis-bot
4d47ba40af auto sipify 🍺 2024-12-12 08:42:35 +00:00
Nyall Dawson
1adfe87fe8 Add CRS group name and projection name to CRS model data 2024-12-12 18:39:46 +10:00
Nyall Dawson
0fff1f16b4 Add QgsStringUtils.containsByWord method
Given a candidate string, returns true if the candidate contains
all the individual words from another string, regardless of their order.
2024-12-12 18:39:46 +10:00
Nyall Dawson
7dbd894c8e
Ignore LC_ALL: cannot change locale when testing std output 2024-12-12 17:47:43 +10:00
Harrissou Sant-anna
3ff6ca6556 Remove optional flag next to Processing algs Boolean parameters - fixes #59794 2024-12-12 09:40:29 +10:00
qgis-bot
b6e18bbff7 auto sipify 🍺 2024-12-11 14:57:52 +00:00
Julien Cabieces
ea95dfafda
Merge pull request #59809 from ptitjano/elevation-profile-raster-load
[elevation Profile] Correcly add a raster layer to an existing elevation profile widget
2024-12-11 15:55:09 +01:00
qgis-bot
5e4ff38a82 auto sipify 🍺 2024-12-11 14:09:01 +00:00
Jan Caha
254614b393
Mesh layer remove datasetgroup (#59382)
* add removeDatasetGroup() function for mesh data provider and mesh layer

* make dataset group names unique

* fix typo

* add mesh removing to the widget

* fix icon

* add check that added dataset group path is unique to avoid duplicate data and emit message if it is not

* sipify

* fix mistake

* check if uri is correct - just for case

* add tests

* add tests

* fix docstring

* add docstring

* add missing override

* explicitly convert number to string

* update tests to reflect that you cannot add same file as dataset group twice

* fix docstring

* pass by value

* fix docstrings

* const variables

* rename signal

* drop include

* simplify regex

* make test better

* sipify

* add docstring

* fix styling and typo

* fix tests

* fix precommit issues

* fix issue

* Update src/core/mesh/qgsmeshlayer.h

fix docstring

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* const stuff

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* sipify

---------

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-11 16:06:17 +02:00
Jan Caha
f593da593a
New Algorithm - Mesh Surface to Polygon (#58941)
* new algorithm

* update feedback

* allow cancel during mesh face processing

* allow cancel during mesh faces processing

* fix file names

* fix the speed of the algorithm

* drop not needed imports

* fix issues

* more readable

* add mesh layer

* test case

* simplify to avoid warning

* fix issue

* fix data call

* fix call

* fix expected data

* handle meshes with holes

* add test case

* merge from master

* Update src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp

fix translation

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* Update src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp

fix translation

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* Update src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp

fix translation

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix translation

* typo

* clone

* delete to avoid memory leak

---------

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-11 16:04:48 +02:00