88904 Commits

Author SHA1 Message Date
Yoann Quenach de Quivillic
dcfa0082fa Add double click handler 2024-11-27 07:10:29 +10:00
Nyall Dawson
4a873a3670
Accept - in mime types 2024-11-27 07:08:00 +10:00
qgis-bot
96984ac6a6 auto sipify 🍺 2024-11-26 10:08:44 +00:00
Nyall Dawson
4d2fc03ded Fix test on qt6 2024-11-26 20:05:30 +10:00
Nyall Dawson
a0a38691a3 Add tests for material settings classes 2024-11-26 20:05:30 +10:00
Nyall Dawson
eb750fb7a8 Use doubles for properties in QgsAbstractMaterialSettings subclasses
These classes are supposed to store the original setting values,
so doubles are more appropriate as they won't slightly change
eg when round-tripping through qgis project XML.

(The actual 3d material classes still use floats, this is just
for the settings classes)
2024-11-26 20:05:30 +10:00
Nyall Dawson
0dc89613df Expose equals method for QgsAbstractMaterialSettings subclasses 2024-11-26 20:05:30 +10:00
Alexander Bruy
b112840aec
Merge pull request #59590 from nyalldawson/mesh_3d_py
Expose QgsMesh3DSymbol to Python
2024-11-26 10:02:36 +00:00
qgis-bot
d45401c7de auto sipify 🍺 2024-11-26 10:01:12 +00:00
Alexander Bruy
1b8df45808
Merge pull request #59591 from nyalldawson/color_ramp_ne
Add != operator for QgsColorRampShader
2024-11-26 09:57:59 +00:00
Nyall Dawson
6b468bc32d
Add != operator for QgsColorRampShader 2024-11-26 15:04:03 +10:00
Sebastian Gutwein
5ed3627bc0
Make Vertex Editor selection render last 2024-11-26 14:44:59 +10:00
Nyall Dawson
373b48ce10
Expose QgsMesh3DSymbol to Python 2024-11-26 14:42:21 +10:00
Nyall Dawson
c8b8358f1b
Fix use of inline data for SVG content
Fixes #59575
2024-11-26 10:41:47 +10:00
Nyall Dawson
3291e9ff48 Use custom logging function to suppress default o2 library debug messages 2024-11-26 10:18:58 +10:00
Nyall Dawson
c8b47e6322 Resync embedded o2 library to match QGIS fork
As of 6d80f36a9d
2024-11-26 10:18:58 +10:00
AlisterH
7726067f87 Update Datasources2Vrt.py
Remove out-of-date statement from help.
2024-11-26 09:09:13 +10:00
Étienne Trimaille
a3383689a6 Add an example with a string to the to_bool expression 2024-11-26 08:04:41 +10:00
qgis-bot
eacf823601 auto sipify 🍺 2024-11-25 16:19:42 +00:00
Martin Dobias
6defbc68c4 Review: add missing \since 2024-11-25 17:16:28 +01:00
Martin Dobias
60554195dc Add possibility to shift origin of 3D map scenes
This introduces a new class QgsGeoTransform (derived from QTransform)
that keeps chunk's translation vector as a QgsVector3D (i.e. in double
coordinates) and if there is a shift of the origin, 3D map scene and
chunk entities react to it by adjusting the underlying QTransform.
2024-11-25 17:16:28 +01:00
JuhoErvasti
a4dca08705 Make highlight width always bigger than rubberband 2024-11-25 11:24:53 +10:00
qgis-bot
128a4a6dec auto sipify 🍺 2024-11-25 00:29:49 +00:00
Mathieu Pellerin
7153088e1c Update QgsRectangle test covering QVariant to make it both Qt5 and Qt6 compatible 2024-11-25 10:26:38 +10:00
Mathieu Pellerin
cbef4f7172 [qml] Upgrade QgsRectangle to Q_GADGET 2024-11-25 10:26:38 +10:00
Mathieu Pellerin
3ec4a8aab3 [qml] Expose QgsLocatorContext's transformContext as property 2024-11-25 10:26:38 +10:00
qgis-bot
1cdf1d72b8 auto sipify 🍺 2024-11-22 23:04:12 +00:00
Nyall Dawson
e82b375ed0 Revert "[qml] Upgrade QgsRectangle to Q_GADGET"
This reverts commit 657d3d3190417fc1578f53559fd5133cf07f5199.
2024-11-23 09:01:05 +10:00
Nyall Dawson
9a537b71e9 Revert "[qml] Expose QgsLocatorContext's transformContext as property"
This reverts commit 714ddff73991730d4ea4b063a09ed800d2623d19.
2024-11-23 09:01:05 +10:00
qgis-bot
3440c17df1 auto sipify 🍺 2024-11-22 10:39:03 +00:00
Mathieu Pellerin
714ddff739 [qml] Expose QgsLocatorContext's transformContext as property 2024-11-22 17:35:55 +07:00
Mathieu Pellerin
657d3d3190 [qml] Upgrade QgsRectangle to Q_GADGET 2024-11-22 17:35:55 +07:00
Nyall Dawson
6253551188 Use new style connect 2024-11-22 08:07:16 +10:00
Nyall Dawson
ac2ca3b16f Sync QgsO2::link override 2024-11-22 08:07:16 +10:00
Nyall Dawson
b83064a945 Fix build 2024-11-22 08:07:16 +10:00
Nyall Dawson
5314210e25 Fix warning 2024-11-22 08:07:16 +10:00
Nyall Dawson
520c5cac6e Remove unnecessary o2 examples 2024-11-22 08:07:16 +10:00
Nyall Dawson
806bbb2bfb Re-sync external o2 library
Keep a few downstream patches:

- Oauth2 PKCE initial support (76df15690c5b3e7fd2f97177cd8e743546821f07)
- Find QtKeychain by its cmake target
  (b9e859f0ed1d9d783c0a7b4f28e3d73ac21572f6)
- Allow compiling o2 with Qt6 (6fbe9a4fb3a29bbbd32987153303181d3d4362cd)
- Hide more debug noise (1f91895b1e8d4ca8dd2bb24b0ea35f5bcb425a96)
- If an o2 auth refresh reply contains an error message, then
the refresh was NOT successful
(9af5a531b1a9c4b452b98c0a10387aefa850edee)
- Ensure correct thread locale QgsNetworkAccessManager is used during
o2 requests (9cde65457b3717a74e32277c843a2945eb4f1221)
2024-11-22 08:07:16 +10:00
Nyall Dawson
725cb445e7
Fix ambient occlusion kernel generation 2024-11-22 07:55:56 +10:00
qgis-bot
e5413344a9 auto sipify 🍺 2024-11-21 20:02:59 +00:00
Nyall Dawson
2cb5f491a5 Test masks 2024-11-22 05:59:44 +10:00
Nyall Dawson
6708501ee9 [feature] Support CSS background property in labels/text renderer
This commit adds support for the CSS ``background-color`` and
``background-image`` properties when used with HTML labels.

- Backgrounds are supported for block items (eg ``<div>``) or inline
  items (eg ``<span>``)
- For images, the CSS should be formatted as ``background-image: url(xx)``.
  It supports local file paths, http links, or base64 embedded content
- Backgrounds are not supported for curved text
- HTML backgrounds are always rendered above any background shape for
  the label, and below drop shadows/buffers

Sponsored by City of Freiburg im Breisgau
2024-11-22 05:59:44 +10:00
Nyall Dawson
50601e5545 Slight refactor, move logic for calculating horizontal alignment offset out into separate function 2024-11-22 05:59:44 +10:00
Nyall Dawson
dd84aab200 Add background brush property for QgsTextBlock, QgsTextFragment 2024-11-22 05:59:44 +10:00
Jean Felder
dfce7dc231 qgs3dmapscene: Compute max clip planes
The number of available clip planes depends on the OpenGL
implementation.

This change Introduces a new function in Qgs3DUtils function called
`Qgs3DUtils::getOpenGLMaxClipPlanes` to compute this
number (`GL_MAX_CLIP_PLANES`) and use it in the 3D scene.

See: https://registry.khronos.org/OpenGL-Refpages/gl2.1/xhtml/glClipPlane.xml
2024-11-21 17:08:41 +01:00
Withalion
6b477c7868 Change number of decimals in camera info spinboxes 2024-11-21 15:28:03 +01:00
Withalion
fb14ac5ba1 Fix review issues 2024-11-21 15:28:03 +01:00
Withalion
a6fac72d9b Add option to update camera through debug panel 2024-11-21 15:28:03 +01:00
qgis-bot
70d7f59e06 auto sipify 🍺 2024-11-21 14:10:03 +00:00
Denis Rouzaud
a5b4ab01d1
Call build_artifact_comment.yml only for PRs (#59549) 2024-11-21 15:06:53 +01:00