86394 Commits

Author SHA1 Message Date
Nyall Dawson
90fbb5383b [qt6] Add compatibility imports for QActionGroup
This moved from widgets -> gui in qt6
2024-05-22 09:32:52 +02:00
Nyall Dawson
6ebaee1025 Make brush and stroke style combo box icons visible on dark themes
Match the icon color to the text color, instead of just drawing
the icons in black
2024-05-22 16:43:29 +10:00
Nyall Dawson
3281b7d47d
QString fixup 2024-05-22 15:25:09 +10:00
Andrea Giudiceandrea
bde598aef1 Only execute selected SQL text 2024-05-22 15:07:33 +10:00
Andrea Giudiceandrea
38e2657a17 [browser] Reorder buttons position in SQL editor 2024-05-22 15:07:33 +10:00
Nyall Dawson
aa52e4b392 [pyqt5_to_pyqt6] More exhaustive searching for deprecated QFontMetrics methods 2024-05-22 14:30:23 +10:00
Nyall Dawson
8e67ae15f3 Remove redundant calls to setIsNoData
Prior to these calls we already have a call to set the entire output
block to nodata in all conditions
2024-05-22 14:28:12 +10:00
Nyall Dawson
72a4dec6fe Make QgsRasterProjector slightly faster in debug builds 2024-05-22 14:28:12 +10:00
Nyall Dawson
80b61d3d52 Add constBits methods to QgsRasterBlock
These can avoid an unwanted QImage detach when we are just
reading block data and don't need to modify it
2024-05-22 14:28:12 +10:00
Nyall Dawson
fb1eabbf0b const correct method 2024-05-22 14:28:12 +10:00
Nyall Dawson
7a3bf17bf1 Provide detailed error message when creating GeoPDF from layout fails
Instead of a generic message (which is not very helpful), show the
full error message we receive from GDAL to the user
2024-05-22 14:28:03 +10:00
Germán Carrillo
ec563d4363 [tests] Fixes for Qt6 2024-05-22 13:44:52 +10:00
Germán Carrillo
99899e916e [tests] Fix layout test by using standard QGIS test font 2024-05-22 13:44:52 +10:00
Germán Carrillo
f350540f75 [tests] Add tests for QgsProfileSourceRegistry 2024-05-22 13:44:52 +10:00
Germán Carrillo
127ec157e9 [profile] Address review 2024-05-22 13:44:52 +10:00
Germán Carrillo
1f9feda97f [layout] Allow profiles to be displayed in layouts even if their source is not a map layer (e.g., from web services) 2024-05-22 13:44:52 +10:00
Germán Carrillo
6353464474 [core] Allow profile widget export profile sources other than layers 2024-05-22 13:44:52 +10:00
Germán Carrillo
15c9fd9be7 Let the elevation profile canvas use the profile source registry 2024-05-22 13:44:52 +10:00
Germán Carrillo
c20fec2aca Update SIP file for PyQt6 2024-05-22 13:44:52 +10:00
Germán Carrillo
65ad23a769 [core] Introduce QgsProfileSourceRegistry to store sources other than map layers, e.g., based on web services 2024-05-22 13:44:52 +10:00
Denis Rouzaud
2becc4e680 Update src/app/qgsrelationadddlg.cpp
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2024-05-22 13:43:03 +10:00
Denis Rouzaud
b614d9b52e fix help link for relations 2024-05-22 13:43:03 +10:00
signedav
b7f4b48800 Small test to check if the index of the first column is returned on mapToMaster when passing an invalid index (like the one from an action column) 2024-05-22 13:41:22 +10:00
signedav
9a63bb7105 Avoid a wrongly displayed action widget because of redraw after model reset (and call of mapToSource in the background). The "old" fix, to provide a source row even for the action widget (in case it's the first column) - to be able to have a feature list in the form view - by using the index of the first column is now provided in a non-override method mapToMaster, that usually just passed to mapToSource. It calls now directly QSortFilterProxyModel::mapToSource instead. This fixes #33464 and fixes #57398 and fixes #56966 2024-05-22 13:41:22 +10:00
Even Rouault
40b7f136a5 test_provider_ogr_gpkg.py: make test robust to GDAL exceptions turned on 2024-05-22 13:34:35 +10:00
Even Rouault
150a0ac100 test_provider_ogr_sqlite.py: correct test case where insertion of incompatible features is rejected by the OGR SQLite driver 2024-05-22 13:34:35 +10:00
Even Rouault
a7a9554c95 test_provider_shapefile.py: fix testcase where the desired scenario wasn't actually tested 2024-05-22 13:34:35 +10:00
Even Rouault
a2b172ead5 api_break.dox: document GDAL Python exceptions turned on
Refs #57344
2024-05-22 13:34:35 +10:00
Even Rouault
79dab4461e Add QgsPythonUtilsImpl::initGDAL() and run it from QGIS app
fixes #57344
2024-05-22 13:34:35 +10:00
Even Rouault
07067d37b5 python/plugins: turn on GDAL exceptions to avoid deprecation warning
Fixes #57344
2024-05-22 13:34:35 +10:00
Nyall Dawson
30bfa05fb4 Fix python exception when color map file can't be loaded 2024-05-22 12:37:44 +10:00
Nyall Dawson
cbd25c1fdd Promote QgsColorRampShader enums to enum class, move to Qgis 2024-05-22 12:37:44 +10:00
Even Rouault
9b3d20603a OGR provider: addFeature/changeAttribueValues: convert local time to UTC for GeoPackage
Fixes #57262
2024-05-22 11:24:06 +10:00
Even Rouault
86a77c71ec QgsDateTimeEdit: convert datetime to UTC when format string includes a Z
Fixes #57262
2024-05-22 11:24:06 +10:00
Even Rouault
ffd8ee18a5 QgsDateTimeFieldFormatter::representValue(): convert datetime to UTC when format string includes a Z
Fixes #57262
2024-05-22 11:24:06 +10:00
Even Rouault
ced485ae26 format_date expression: convert datetime to UTC when format string includes a Z
Fixes #57262
2024-05-22 11:24:06 +10:00
uclaros
8ff3a38f43 Display expected result on the left, rendered on the right 2024-05-22 11:06:53 +10:00
Juho Ervasti
6c13747c9b Handle avoid overlap returning empty/invalid geoms 2024-05-21 16:37:45 +03:00
Nyall Dawson
166f326b33 Better handle non GET/POST requests in network logger
- Show actual custom verb instead of just "CUSTOM"
- Correctly generate curl command for non GET/POST requests
- Handle data content for non POST requests
2024-05-21 14:09:17 +02:00
Nyall Dawson
040e231df7 Update src/providers/wcs/qgswcssourceselect.cpp 2024-05-21 11:37:26 +10:00
Damiano Lombardi
9aeb4fa314 Use WCS title as layer name (similar as in browser) 2024-05-21 11:37:26 +10:00
Alessandro Pasotti
3f126a1a31 flake8 2024-05-21 10:52:49 +10:00
Alessandro Pasotti
c7f91f8177 SERVER: Fix WMTS getFeatureInfo InfoFormat
Only FORMAT was accepted.
2024-05-21 10:52:49 +10:00
Nyall Dawson
a74f68fd91 Update canvas on short timeout after elevation slider is dragged
Avoids sending many requests to redraw the canvas while the
slider is dragged rapidly
2024-05-20 11:52:10 +02:00
Nyall Dawson
bc9635d2e9 Handle mesh FixedRangePerGroup mode 2024-05-20 11:52:10 +02:00
Nyall Dawson
5c8171dc1c Move more code to bridge class 2024-05-20 11:52:10 +02:00
Nyall Dawson
bd6bea29aa Show significant elevations from project in elevation filter widget
Adds labels for significant elevations to the widget, giving
users more information when picking elevation filter ranges
2024-05-20 11:52:10 +02:00
Nyall Dawson
04665953ed Also add variant which takes a list of layers 2024-05-20 11:52:10 +02:00
Nyall Dawson
9492c69d9f Make function more readable 2024-05-20 11:52:10 +02:00
Nyall Dawson
c79168a6bc Add elevation utils method to collect significant elevation values for a project 2024-05-20 11:52:10 +02:00