24380 Commits

Author SHA1 Message Date
Nyall Dawson
d9d501a3d8 Fix see also link 2024-12-18 19:12:29 +10:00
Nyall Dawson
c33b8b276f Fix documentation 2024-12-18 19:12:29 +10:00
Nyall Dawson
14f625f59f [API] Add framework for raster labeling
Allows raster pixels to be labeled with the value taken from a raster
band.

Labels are registered with the labeling engine, so participate in
label conflict resolution and overlap avoidance

Options include

- Selection of band to take values from
- Using QgsNumericFormat to customise the number format for the labels
- Uses text renderer, so supports buffers, shadows, etc
- Label priority
- Scale dependant visibility
- Optional pixel size dependent visibilty, ie show only when pixels are
> 4mm in size
- Z index control, overlap avoidance mode

Fixes #14408
2024-12-18 19:12:29 +10:00
Nyall Dawson
1c3d2ae06a Expose method as protected 2024-12-18 19:12:29 +10:00
qgis-bot
b7f78e8c73 auto sipify 🍺 2024-12-18 08:10:21 +00:00
Jean Felder
1c48cfd07f qgs3dmapscene: : Return export operation success state 2024-12-18 09:07:28 +01:00
qgis-bot
6318e14b62 auto sipify 🍺 2024-12-18 03:23:57 +00:00
Nyall Dawson
75c8e3e2c4 Fix memory leaks in classification methods, use unique_ptrs 2024-12-18 13:21:06 +10:00
Harrissou Sant-anna
53e777fd97 Typo fix 2024-12-18 06:17:52 +10:00
Alexander Bruy
d1232ebe5a
Merge pull request #59928 from agiudiceandrea/patch-42
[Modeler] Fix algorithms help URL (Followup #59922)
2024-12-17 17:33:10 +00:00
qgis-bot
5349b26a06 auto sipify 🍺 2024-12-17 09:52:52 +00:00
Julien Cabieces
4eab5313e6 fix(Sip): update sip since rebase 2024-12-17 09:07:41 +01:00
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
Andrea Giudiceandrea
d7e819de38 [Modeler] Fix algorithms help URL 2024-12-17 02:33:45 +01: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