Nyall Dawson
7c2b4e011a
Add missing since
2024-11-10 09:52:14 +11:00
Nyall Dawson
40d41ddee3
Add GUI to edit tab stop distances
2024-11-10 09:52:14 +11:00
Nyall Dawson
7badf62596
[api] Add tab positions list for QgsTextFormat
...
Allows setting a list of custom tab stop distances, instead
of just a single distance
2024-11-10 09:52:14 +11:00
Nyall Dawson
0cccf4c42b
Support CSS margins for block elements in HTML labels
...
Adds support for CSS margin properties for block elements in
the text renderer. Specifically:
- This is available for block type elements only, eg DIV, P, H1-H6.
- Margins are NOT available for spans or other non-block content (due to Qt
limitations)
- Margins can be specified in pt units only
- Margins can be specified either via "margin-left: 5pt; margin-right:
10pt" etc, or "margin: 5pt 0pt 10pt 0pt"
- Negative margins are supported for the bottom margin ONLY (due to Qt
limitations)
2024-11-10 09:51:55 +11:00
Nyall Dawson
5a7fbaac1b
Convert block margins to QgsTextBlockFormat margins
2024-11-10 09:51:55 +11:00
Nyall Dawson
e9a51d6806
Add repr for QgsMargins
2024-11-10 09:51:55 +11:00
qgis-bot
f58c6ac345
auto sipify 🍺
2024-11-08 11:47:35 +00:00
Martin Dobias
5a6b07e22a
Nyall's review
2024-11-08 12:44:27 +01:00
Martin Dobias
13251c2bf1
Make tessellator not flip axes and use the new option in QGIS code
...
We add a new setOutputZUp(true) option to QgsTessellator so that
the coordinates on output do not get flipped from [x,y,z] to [x,-z,y].
The default is still the old behavior with flipped axes (to make sure
we do not break the API), but all uses in the QGIS code were upgraded
to use the new option.
This means we do not need to add rotation to polygon / buffered line
symbol's 3D entities in 3D map views (and there's only translation left, yay!)
2024-11-08 12:44:27 +01:00
qgis-bot
b033b2d3e0
auto sipify 🍺
2024-11-06 23:17:04 +00:00
Nyall Dawson
ace375b686
Move raster iteration progress calculation to raster iterator class
2024-11-07 10:13:55 +11:00
qgis-bot
ac976be6e5
auto sipify 🍺
2024-11-05 05:45:03 +00:00
Juho Ervasti
47b812bb9b
Don't allow non-polygon avoid intersection layers ( #59331 )
2024-11-05 06:41:56 +01:00
qgis-bot
342a92c5f9
auto sipify 🍺
2024-11-05 00:11:03 +00:00
Nyall Dawson
f3fb1b87c8
[api] Add methods to find min/maximum value in QgsRasterBlock
2024-11-05 11:07:54 +11:00
qgis-bot
a4105a3581
auto sipify 🍺
2024-11-04 05:17:07 +00:00
Nyall Dawson
8b744fbda5
Expand docs with notes on caching
2024-11-04 15:14:00 +10:00
Nyall Dawson
fe78267c66
'throw' is not used/required on sip >=6
...
And generates hundreds of deprecation warnings during build
2024-11-04 15:13:37 +10:00
qgis-bot
ab7f02abab
auto sipify 🍺
2024-10-30 21:17:52 +00:00
Matthias Kuhn
f436bfa9bb
Merge pull request #59230 from m-kuhn/mocdefs
...
Add includemocs.py and create one moc file per cpp file
2024-10-30 22:14:38 +01:00
qgis-bot
132cbd6f1b
auto sipify 🍺
2024-10-30 03:19:15 +00:00
Nyall Dawson
ca5e4450b6
Support css line-height in HTML labels
...
Adds support for the line-height CSS property in HTML formatted labels.
Supports line-height in either points or percent, eg "line-height:
40pt" or "line-height: 40%"
2024-10-30 13:16:01 +10:00
qgis-bot
3190c5faee
auto sipify 🍺
2024-10-29 20:26:00 +00:00
Martin Dobias
ae13cfea17
Add QgsBox3D tests and fix the implementation
2024-10-30 06:20:42 +10:00
Martin Dobias
4f183696b0
Make QgsChunkNode use doubles instead of floats for bounding boxes
...
- move from QgsAABB to QgsBox3D
- also switch from "world" coordinates (relative to 3d map scene origin,
and flipped axes) to map coordinates
2024-10-30 06:20:42 +10:00
qgis-bot
d3767e869b
auto sipify 🍺
2024-10-28 20:23:25 +00:00
Yoann Quenach de Quivillic
eaad2e930c
Apply suggestions from review
2024-10-29 06:20:14 +10:00
Yoann Quenach de Quivillic
ca2688a977
Prevent creation of invalid polyline / polygon
2024-10-29 06:20:14 +10:00
qgis-bot
ea4cd5fe05
auto sipify 🍺
2024-10-28 13:32:39 +00:00
Nyall Dawson
aaf4b90911
Fix malformed docstrings ( #59244 )
...
* Fix malformed docstrings
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/188
* Fix malformed docstrings
* Fix more malformed docs
2024-10-28 14:29:21 +01:00
Matthias Kuhn
b5543341fa
sip
2024-10-28 07:18:38 +01:00
qgis-bot
c17d7a1d99
auto sipify 🍺
2024-10-26 02:20:21 +00:00
Yoann Quenach de Quivillic
071b28903c
Apply layout page size to all pages
2024-10-26 12:17:02 +10:00
qgis-bot
e13413f249
auto sipify 🍺
2024-10-25 23:41:20 +00:00
Yoann Quenach de Quivillic
e8e55cdbd0
Add export quality slider for jpeg/jpg
2024-10-26 09:37:58 +10:00
qgis-bot
7cb947be71
auto sipify 🍺
2024-10-25 18:53:05 +00:00
Nyall Dawson
2fcd8b99b5
Fix crashes on newer GEOS with empty polygon rings
...
There was a previous fix for this protecting some geos calls, but
on newer GEOS versions we get crashes with other methods (eg
calculating centroid) when using geos geometries with empty
interior rings.
Avoid this by ALWAYS defaulting to skipping empty rings when
creating GEOS polygons, UNLESS explicitly asked to. Then, only
explicitly ask to do this when we are using GEOS to validate
a geometry. In all other cases we don't need or want empty rings.
2024-10-26 04:49:56 +10:00
qgis-bot
afc3e8d41c
auto sipify 🍺
2024-10-25 18:38:36 +00:00
Martin Dobias
ec02d36890
nuch -> much
2024-10-26 04:35:12 +10:00
Martin Dobias
04d5369d4d
Fix sip bindings
2024-10-26 04:35:12 +10:00
David Koňařík
71b2591c62
Fix Identify tool on virtual point cloud
...
(fix #54729 )
2024-10-25 08:26:00 +02:00
qgis-bot
35929a0792
auto sipify 🍺
2024-10-25 01:55:27 +00:00
Denis Rouzaud
1f0a5d513f
use TransferBack
2024-10-25 11:51:35 +10:00
Denis Rouzaud
97f8217483
isinstance
2024-10-25 11:51:35 +10:00
Denis Rouzaud
8264a1ed71
ensure enums are saved as strings in settings
2024-10-25 11:51:35 +10:00
Denis Rouzaud
18974480fb
allow to set specific settings editors + add test
2024-10-25 11:51:35 +10:00
qgis-bot
70f43eee28
auto sipify 🍺
2024-10-23 23:56:07 +00:00
David Koňařík
8039ccb50d
Fix elevation profile on intersecting polyline
2024-10-24 09:52:58 +10:00
Nyall Dawson
712b3e72c6
QgsMultiRenderChecker: avoid misleading console output noise
...
When the checker passes comparison against ANY reference image,
don't output mismatch failure message for all the other variants
2024-10-24 09:51:21 +10:00
qgis-bot
e62b17dac5
auto sipify 🍺
2024-10-21 03:46:38 +00:00