1152 Commits

Author SHA1 Message Date
qgis-bot
eb1ce83af1 auto sipify 🍺 2024-12-03 07:47:10 +00:00
qgis-bot
a6946c6909 auto sipify 🍺 2024-12-03 03:01:14 +00:00
hxbb00
33b22c6519 feat: Enhance the ability to customize icons for QgsPluginLayer 2024-12-03 12:58:00 +10:00
Nyall Dawson
37478db0c1 Fix more function links 2024-12-03 12:57:44 +10:00
Nyall Dawson
d50fe2a9e5 Fix function links, sipify 2024-12-03 12:57:44 +10:00
qgis-bot
b397c66689 auto sipify 🍺 2024-12-02 21:09:13 +00:00
Nyall Dawson
8d60d4f6d7 Make some factories return unique_ptr 2024-12-03 07:06:02 +10:00
Nyall Dawson
596ecbee9c [sip] Implement MappedType for unique_ptr to Python conversion 2024-12-03 07:06:02 +10:00
qgis-bot
09e649608b auto sipify 🍺 2024-12-02 18:43:00 +00:00
Even Rouault
cf868f8f4c QgsMapLayerConfigWidget/QgsRendererRasterPropertiesWidget: suppress -Woverloaded-virtual warning related to syncToLayer() method 2024-12-03 04:39:49 +10:00
qgis-bot
f802e20284 auto sipify 🍺 2024-12-02 14:21:09 +00:00
Nyall Dawson
7670fbe362
Move class, method out of QgsPalLabeling to central location 2024-12-02 12:46:23 +10:00
qgis-bot
292bb8fa79 auto sipify 🍺 2024-11-29 21:40:53 +00:00
Nyall Dawson
bb6919aeea Move QgsRasterMinMaxOrigin enums to Qgis, promote to enum class 2024-11-30 07:36:47 +10:00
Denis Rouzaud
0f032e5f2d run pre-commit on all files 2024-11-29 15:38:02 +01:00
qgis-bot
192e107577 auto sipify 🍺 2024-11-28 14:24:33 +00:00
Jacky Volpes
bd49d6cf41 fix(featurepool): cache management - fixes #58113
Geometry checker cache does not work properly with memory layers.
refreshCache now handles a list of updated features to be thread-safe.

Also, fixes a locker mode, and correctly remove features from spatial
index.
2024-11-28 15:21:21 +01:00
qgis-bot
da86bc17a6 auto sipify 🍺 2024-11-28 04:40:16 +00:00
Jean Felder
9d372b6019 qgsrasterlayer: Remove refresh logic
This is not used anymore.
2024-11-28 14:37:06 +10:00
Jean Felder
76cbf8b3a5 qgsrasterlayer: Make computeMinMax public
This will be used in the next commit to refresh a renderer.
2024-11-28 14:37:06 +10:00
Jean Felder
dd36eb7249 qgsrasterrenderer: Introduce refresh
This is similar to what is achieved in
`QgsRasterLayer::refreshRenderer()` to refresh the renderer according
to an extent. Contrary to the first one, this method does not perform
any GUI update or emit any signal.

It is not used at the moment. This will replace the logic to refresh a
renderer in the following commits.
2024-11-28 14:37:06 +10:00
Jean Felder
2747710499 qgsrasterrenderer: Introduce needsRefresh
This is similar to what is achieved in
`QgsRasterLayer::refreshRendererIfNeeded()` to check if the renderer
needs to be refresh according to an extent. It does not perform any
refresh.

It is not used at the moment. This will replace the logic to refresh a
renderer in the following commits.
2024-11-28 14:37:06 +10:00
Jean Felder
efaff7e2f5 introduce qgsrenderedlayerstatistics
This will be used in the next commits to store the min-max values of a
raster layer and report them to the main canvas.
2024-11-28 14:37:06 +10:00
Nyall Dawson
0dbf6e730b Add equality operator for QgsMesh3DSymbol 2024-11-27 10:53:53 +10:00
qgis-bot
cfeafb4610 auto sipify 🍺 2024-11-26 21:13:42 +00:00
Yoann Quenach de Quivillic
8a61c97df3 Apply suggestions from code review 2024-11-27 07:10:29 +10:00
Yoann Quenach de Quivillic
32c6a3d8e7 Add global enum 2024-11-27 07:10:29 +10:00
Yoann Quenach de Quivillic
dcfa0082fa Add double click handler 2024-11-27 07:10:29 +10:00
qgis-bot
96984ac6a6 auto sipify 🍺 2024-11-26 10:08:44 +00: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
Nyall Dawson
6b468bc32d
Add != operator for QgsColorRampShader 2024-11-26 15:04:03 +10:00
Nyall Dawson
373b48ce10
Expose QgsMesh3DSymbol to Python 2024-11-26 14:42:21 +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
qgis-bot
128a4a6dec auto sipify 🍺 2024-11-25 00:29:49 +00: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
qgis-bot
e5413344a9 auto sipify 🍺 2024-11-21 20:02:59 +00: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
dd84aab200 Add background brush property for QgsTextBlock, QgsTextFragment 2024-11-22 05:59:44 +10:00