Julien Cabieces
92f182568f
Merge pull request #57504 from GispoCoding/fix_copy_move_overlap
...
Apply avoid overlap with the copy move map tool
2024-05-29 13:58:20 +02:00
Julien Cabieces
c49afe9cdc
Merge pull request #57605 from elpaso/bugfix-ux-layout-legenditem-mutex-style
...
[ux][layouts] Fix legend item style mutex
2024-05-29 13:57:30 +02:00
Julien Cabieces
36de34e359
Merge pull request #57596 from jgrocha/getprintrootgroup
...
Prevent calling findLayers when there is no legend->rootGroup (fix #57595 )
2024-05-29 13:56:13 +02:00
Alessandro Pasotti
ba66775c7d
add missing include
2024-05-29 10:46:09 +02:00
Alessandro Pasotti
efcec619af
[ux][layouts] Fix legend item style mutex
...
The style was rendered as checkboxes actions while the correct
UI for mutually exclusive options is a radio button.
2024-05-29 10:20:07 +02:00
Jorge Gustavo Rocha
353882144b
Update src/core/layout/qgslayoutitemlegend.cpp
...
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
2024-05-29 08:42:18 +01:00
Nyall Dawson
6d7f885c55
Add some tests for rendering RTL text
2024-05-29 16:51:12 +10:00
Denis Rouzaud
b976928ae9
fix HttpHeaders settings backward compatibility for OWS ( #57585 )
...
* fix HttpHeaders settings backward compatibility for OWS
* fix key
* Update qgssettingsregistrycore.cpp
2024-05-29 07:14:41 +02:00
Nyall Dawson
190ab1a410
Optimise QgsExpressionUtils::getTVLValue
...
Don't retrieve metatypes if variant isn't a user type. This is
relatively expensive and not required.
2024-05-29 14:57:04 +10:00
Nyall Dawson
d5b3934f9e
Clamp values for set_color_part function to avoid qt warnings
...
when out of range values are specified
2024-05-29 14:56:54 +10:00
Nyall Dawson
0fb66a7f2e
Don't try to paint to indexed image
...
This isn't permitted by Qt, so convert to RGBA first
2024-05-29 14:56:45 +10:00
lpofredc
0547b71180
fix #57590
2024-05-29 12:02:42 +10:00
Sandro Santilli
bbb9730e32
Mention QGIS_DEBUG environemnt variable
2024-05-29 10:19:48 +10:00
Sandro Santilli
883ab95ad6
Cleanup the chat session to match what's on the website
...
See https://qgis.org/en/site/forusers/support.html
2024-05-29 10:19:48 +10:00
Alessandro Pasotti
c394aaafe7
Add test for layoutItemAt locked groups
2024-05-29 07:08:54 +10:00
Alessandro Pasotti
549326c63a
[layout] fix mouse grab on locked items
...
Fix #57331
2024-05-29 07:08:54 +10:00
Nyall Dawson
0f72b2cedd
Fix line extension tool when layer crs != map crs
...
Fixes #49267
2024-05-29 07:08:16 +10:00
Jorge Gustavo Rocha
7ebdc64aba
Fix #57595
2024-05-28 21:41:15 +01:00
Juho Ervasti
c9a48fadc0
Make avoidIntersections non-virtual and private
2024-05-28 14:23:04 +03:00
Juho Ervasti
ffcebd1923
Use same endEditCommand() for move and copy move
2024-05-28 14:22:13 +03:00
Mathieu Pellerin
e77428eea9
[cad] Fix snapping to line extensions for multi geometry as well as polygons
2024-05-28 11:01:45 +07:00
Alessandro Pasotti
895193f2dd
Use default font size for arrow symbols
2024-05-28 06:12:19 +10:00
Alessandro Pasotti
9b78395fc4
[ux] Fix labeling small font size freeze
...
Also tested with linestring.
Fix #57336
2024-05-28 06:12:19 +10:00
Nyall Dawson
653a04b318
Fix a few more places we try to load crs as a layer
...
And fix tests which use an invalid EPSG code
Refs #57494
2024-05-28 06:11:04 +10:00
Nyall Dawson
f64b7b6798
Use proper icons for fields in organize attributes/del attributes dialog
2024-05-27 08:50:16 +02:00
Nyall Dawson
e2157cfe1f
Promote FieldOrigin to enum class, move to Qgis
2024-05-27 08:50:16 +02:00
Nyall Dawson
740075b8e8
Fix label mask sizes get reset to 0
...
This paper cut rears its head in that when first enabling
label masks for an existing project layer, the mask size will
default to "0", which is confusing for users as it seems to
have no effect.
The older maskSize attribute used to be treated as 0 instead
of the default 1.5 mm size when no mask settings were available, and
then when the project was saved this incorrect 0 value would
become an actual valid attribute in the XML.
Since we can't now differentiate a valid 0 value from an accidental
0 value in older projects, we instead assume "0" as a mistake and
reset it to 1.5. when the project is saved the newer maskSize2
attribute will be used and we know that a "0" value WAS an explicit
user choice.
2024-05-27 07:39:59 +10:00
Even Rouault
40ed58bffe
[OGR provider] Mark special Shape_Area/Shape_Length FileGDB fields as read-only
2024-05-27 07:39:43 +10:00
مهدي شينون (Mehdi Chinoune)
ded31e1b73
Fix PDAL support on MinGW-w64
...
https://github.com/hobuinc/untwine/pull/162
https://github.com/PDAL/wrench/pull/35
2024-05-26 07:27:28 +10:00
Nyall Dawson
a6a32bd1fd
Fix test
2024-05-25 06:10:28 +10:00
Nyall Dawson
f128fa4443
Astyle
2024-05-25 06:10:28 +10:00
Nyall Dawson
bec640b158
Lint
2024-05-25 06:10:28 +10:00
Nyall Dawson
a7fccc27f1
Consider tab fragments when calculating text document metrics
...
Fixe #56981
2024-05-25 06:10:28 +10:00
Nyall Dawson
8353737b26
Hack around handling tab characters in HTML documents
2024-05-25 06:10:28 +10:00
Nyall Dawson
87d4accf6a
Fix incorrect parsing of html with line breaks
2024-05-25 06:10:28 +10:00
Nyall Dawson
fce4ed06b8
Split fragments on tab characters
2024-05-25 06:10:28 +10:00
Nyall Dawson
25f00e2560
Don't try to render empty text strings
2024-05-25 06:10:28 +10:00
Nyall Dawson
f5853a7212
Add tab stop distance to QgsTextFormat
2024-05-25 06:10:28 +10:00
Alessandro Pasotti
24cac91941
[server] OAPIF: fix layer short name
...
Fix #57556
2024-05-25 02:16:08 +10:00
Nyall Dawson
7231412764
Fix test
2024-05-25 02:14:45 +10:00
Nyall Dawson
5c006d9c04
Write list values directly
2024-05-25 02:14:45 +10:00
Nyall Dawson
70b9e13f59
Add test for layout custom property with string list value
2024-05-25 02:14:45 +10:00
Nyall Dawson
b0b8086f18
Avoid clazy warning
2024-05-25 02:14:45 +10:00
Nyall Dawson
bcf440e189
Don't write groups in random order in exported GeoPDFs
...
Previously, if layer groups were configured for a GeoPDF export
then the resultant groups in the GeoPDF would be listed in a
random order within the PDF viewer.
Instead, ensure that the groups are created to respect the
ordering of layers from the GeoPDF export dialog, so that
users can drag/drop and rearrange the layers and their corresponding
groups and get a logical/predicatable order within the PDF.
Sponsored by Rubicon Concierge Real Estate Services
2024-05-25 02:14:45 +10:00
Nyall Dawson
0c41c22343
Fix bad merge
2024-05-24 16:34:33 +10:00
Nyall Dawson
6185675c93
Additional shortcut to QgsAttributes creation from Python
...
Avoid constructing a bunch of default QVariant objects which
we will just replace immediately
2024-05-24 16:34:33 +10:00
Nyall Dawson
280cd84652
Add more HoldGIL annotations to cheap methods
2024-05-24 16:34:33 +10:00
Nyall Dawson
8941bbf599
Optimise QgsAttributes python constructor
...
Avoid multiple checks for detachment for each attribute
2024-05-24 16:34:33 +10:00
Nyall Dawson
f30ca52532
Fix incorrect buffers drawn for html label items
...
When a layout item uses a html enabled text format and has buffers
enabled, the buffers would be incorrectly horizontally placed
2024-05-24 12:45:05 +10:00
pathmapper
b2a8801d76
Make it clearer which schemas are downloaded
...
fix https://github.com/qgis/QGIS/issues/57540
2024-05-24 07:30:28 +10:00