87612 Commits

Author SHA1 Message Date
Jean Felder
9d5363dc18 qgsrenderpassquad: Do not create its own Qlayer
Homogenize the layer responsibility: it is handled outside the entity and then passed to it.
2024-08-28 10:00:48 +02:00
qgis-bot
9a3809de82 auto sipify 🍺 2024-08-28 02:41:19 +00:00
Nyall Dawson
ba61df769c Fix qt6 build 2024-08-28 12:38:16 +10:00
Nyall Dawson
e161d0bd60 Enforce thread safety for Qgs3DMapSettings 2024-08-28 12:38:16 +10:00
Nyall Dawson
bad55afb87 Fix point cloud extent logic 2024-08-28 12:38:16 +10:00
Nyall Dawson
42fd0e7f45 Add warning 2024-08-28 12:38:16 +10:00
Nyall Dawson
6b6f804659 Rename to mapSettings 2024-08-28 12:38:16 +10:00
Nyall Dawson
9391a62664 Refactor so Qgs3DMapSettings is a member of Qgs3DSceneEntity 2024-08-28 12:38:16 +10:00
Nyall Dawson
cf1bea1d51 Remove unused public setters 2024-08-28 12:38:16 +10:00
Nyall Dawson
1f94f9bc4e Rework to use Qgs3DRenderContext instead 2024-08-28 12:38:16 +10:00
Nyall Dawson
b6bcdea70e More static cast to float 2024-08-28 12:38:16 +10:00
Nyall Dawson
ada6272751 Avoid some clang-tidy warnings 2024-08-28 12:38:16 +10:00
Nyall Dawson
5e33ee4a57 Add some thread safety to Qgs3DMapSettings usage
Create a small, cheap to copy (non-qobject) class
Qgs3DMapSettingsSnapshot which is designed to store
just cheap properties of Qgs3DMapSettings. Then use this
object wherever possible to avoid accessing the (non-thread
safe) Qgs3DMapSettings object for retrieval of simple
map properties (eg crs, extent, ...)

Refs https://github.com/qgis/QGIS-Enhancement-Proposals/issues/301
2024-08-28 12:38:16 +10:00
qgis-bot
a37fec4fc9 auto sipify 🍺 2024-08-28 02:01:25 +00:00
Nyall Dawson
519959154a Fix some overly verbose class "brief" descriptions 2024-08-28 11:58:21 +10:00
Nyall Dawson
a478545108 Fix bad docs 2024-08-28 11:58:21 +10:00
Nyall Dawson
bc52832b47 Lazily hack around markdown title underline not being long enough
Causes a bunch of warnings when building the PyQGIS docs
2024-08-28 11:58:21 +10:00
Nyall Dawson
6a936472d4 Remove incorrect 'not available in python' note 2024-08-28 11:58:21 +10:00
Nyall Dawson
088aea0d0d Fix incorrect use of inline returns 2024-08-28 11:58:21 +10:00
signedav
2078935a77 readCustomProperties is already called by readCommonStyle 2024-08-28 10:29:23 +10:00
signedav
d2bb72c457 consider pipe elements for symbology and raster only when symbology OR raster category has been selected (and of course allstylecategories) 2024-08-28 10:29:23 +10:00
signedav
84900c937a Provide categories to copy/paste style in rasterlayers 2024-08-28 10:29:23 +10:00
signedav
6518a64b05 Save FileBasedAttributeTables path when category is active 2024-08-28 10:29:23 +10:00
signedav
bd1c04ed5b Provide categories for raster that make sense like. The implementations are already there (in commonStyle e.g.) except for Attribute Table / and customProperties are exported in every case... 2024-08-28 10:29:23 +10:00
Matthias Kuhn
c062429a1f
Merge pull request #58502 from DelazJ/AlgsTitleinModeler
Modeler - Show group in the algorithm dialog title
2024-08-27 20:48:58 +02:00
Harrissou Sant-anna
bb275d1188
Modeler - Show group in the algorithm dialog title 2024-08-27 18:41:52 +02:00
Mathieu Pellerin
504c2e55fc [expression] Fix eval_template() not working with field caltulator and virtual fields 2024-08-27 22:15:09 +07:00
Nyall Dawson
3b912d171c Apply suggestions from code review 2024-08-27 11:52:36 +10:00
signedav
8027ee5507 named properly and added short description 2024-08-27 11:52:36 +10:00
signedav
7290a7acaf Improve tags, name, description because it's not given that file download is an http request and you can use this alogrithm for http requests and don't care about the file (just create a tmp file).
Don't allow the filename as optional because it fails without it anyway in the QgsFileDownloader.
2024-08-27 11:52:36 +10:00
Jean Felder
fee80841a1 testqgs3drendering: Update polygon_edges_height control images
This test contains a lot of control_images and some of them look
outdated. Replace all those images with a new default image and mask
which works in both qt5 and qt6 current versions.
2024-08-27 10:01:32 +10:00
qgis-bot
8ab71756cf auto sipify 🍺 2024-08-26 20:57:49 +00:00
Julien Cabieces
41700277f9 style(ColorWidget): s/supportDirection/hasDirection 2024-08-27 06:54:44 +10:00
Julien Cabieces
2f69449c10 style(ColorWidget): make cppcheck happy 2024-08-27 06:54:44 +10:00
Julien Cabieces
4fc8d1b870 style(ColorWidget): Use switch to properly support direction or not 2024-08-27 06:54:44 +10:00
Julien Cabieces
becfe9111d fix(ColorWidget): Synchronize color model with color ramp one
Fixes #58324
2024-08-27 06:54:44 +10:00
Nyall Dawson
d9d2d5cbd5 Allow reordering fields in new vector layer dialogs
(including scratch, shp, gpkg and spatialite)

Fixes #38241
2024-08-26 12:32:09 +10:00
velle
450966f682 Changed the formatting of showSettings output:
- now uses dash-bullets for each param
- spaces instead of tabs, tabs were not correctly indented in Python console
- "Application state" -> "QgsApplication state"
2024-08-26 12:05:10 +10:00
Even Rouault
26a5d442c5
Merge pull request #58384 from troopa81/remove_ogc_urn_version
[ServerWFS] Remove version from OGC urn
2024-08-25 12:17:14 +02:00
qgis-bot
b553b04ae9 auto sipify 🍺 2024-08-25 02:37:44 +00:00
Nyall Dawson
0467d3fc31 Address review 2024-08-25 12:34:51 +10:00
Nyall Dawson
fbfafdf8a9 Fix algorithm 2024-08-25 12:34:51 +10:00
Nyall Dawson
79283e18b4 Use resize handles for corner nodes
Fixes #58427
2024-08-25 12:34:51 +10:00
Nyall Dawson
370f74803f Only upgrade annotations on desktop 2024-08-25 12:34:51 +10:00
Nyall Dawson
a4f6b51e9d Expand tests 2024-08-25 12:34:51 +10:00
Nyall Dawson
692e1d4885 Adapt rect text widget to expose placement modes 2024-08-25 12:34:51 +10:00
Nyall Dawson
0fa21402f8 Expand tests 2024-08-25 12:34:51 +10:00
Nyall Dawson
6127088395 Make common base class for annotation items which render in rect
And avoid a bunch of duplicate code
2024-08-25 12:34:51 +10:00
Nyall Dawson
df4f29320b Remove action for creating old text annotations
The new Text in Rect annotation item should be used instead
2024-08-25 12:34:51 +10:00
Nyall Dawson
e64bd80ff2 Add auto-upgrade for old text annotations 2024-08-25 12:34:51 +10:00