90404 Commits

Author SHA1 Message Date
signedav
6b5396bd53 introduce VerticalAnchorMode in FontSymbols to have a proper 'hidden' setting for this mode making a differene between legacy and baseline (and future bounds) on the positioning of the characters 2025-03-03 17:12:32 +10:00
signedav
f80df88534 with the parameter fixverticalanchor, the position of the point is calculated with the same offset like the offset of the font. this differed before what leaded to issues. still the old way is available as legacy 2025-03-03 17:12:32 +10:00
qgis-bot
41ccfa934f auto sipify 🍺 2025-03-03 03:20:01 +00:00
Nyall Dawson
5841b44ec8 Add test for paste to new scratch layer with unset field values 2025-03-03 13:17:05 +10:00
Nyall Dawson
127aa78537 Move pasteToNewMemoryVector method to QgsClipboard
Slightly reduces code in qgisapp.cpp, and makes this method
testable without requiring QgisApp
2025-03-03 13:17:05 +10:00
Nyall Dawson
47e51257bb Update test 2025-03-03 13:17:05 +10:00
Nyall Dawson
2525afb983 Handle QgsUnsetAttributeValue in text edit widget wrapper
Fixes #38913
2025-03-03 13:17:05 +10:00
Nyall Dawson
e17f29eaf2 Use QgsUnsetValueAttribute for unset fields when creating new features
Instead of a string value of the default value clause (eg "Autonumber"),
initialize the attribute to a QgsUnsetValueAttribute

Refs #38913
2025-03-03 13:17:05 +10:00
Nyall Dawson
1e69b4f5e8 Validate SQL for new layer before attempting to create
And show user-friendly message in SQL query window if the validation
fails.
2025-03-03 13:16:40 +10:00
Nyall Dawson
896e867e98 Add method to valid SQL options before creating query layer to QgsAbstractDatabaseProviderConnection
And implement for MS SQL provider.

Generates a user-friendly descriptive message when the SQL is
not valid for creating a layer in QGIS.
2025-03-03 13:16:40 +10:00
qgis-bot
f72383a365 auto sipify 🍺 2025-03-03 02:50:03 +00:00
Nyall Dawson
c3593762a4 Use QgsNewNameDialog for stored query names
Makes it easier to overwrite existing queries, and gives users
explicit warnings when they are about to do this
2025-03-03 12:47:15 +10:00
Nyall Dawson
fa0c1f6219 A method to show completer with existing names in QgsNewNameDialog 2025-03-03 12:47:15 +10:00
Nyall Dawson
5d94bd9bdc Split user profile from current project stored queries in menu
Makes it clearer to users whether a stored query is coming from
the current project vs user profile
2025-03-03 12:47:15 +10:00
Nyall Dawson
38e21897ad Rework layer "Execute SQL" action to use non-modal dialog
If the "Execute SQL" command is executed through the browser,
then the window is opened as a non-modal QMainWindow.
If however the same command was used via the layer right-click
menu, the dialog would open as a blocking modal dialog.

Rework the layer right-click version to also use a non-modal
QMainWindow, and ensure that no references to the layer instance
are required in the connected slots
2025-03-03 12:20:04 +10:00
qgis-bot
f3f363f095 auto sipify 🍺 2025-03-03 01:51:09 +00:00
Alexander Bruy
ce1b0c70ca address review comments and add test 2025-03-03 11:48:15 +10:00
Alexander Bruy
bb60704ed0 fetch feature with geometry when executing map layer action on feature
(fix #48964)
2025-03-03 11:48:15 +10:00
Mathieu Pellerin
eb55dcab5e Address review 2025-03-03 11:44:38 +10:00
Mathieu Pellerin
2b9406e85a [oauth2] Allow for extra token(s) to be added into the header for header access methods 2025-03-03 11:44:38 +10:00
qgis-bot
992cdcbf62 auto sipify 🍺 2025-03-03 00:44:25 +00:00
hxbb00
a4e9ec869b fix: unreachable code of the qHash function 2025-03-03 10:41:39 +10:00
Mathieu Pellerin
09b5a1dfdd [map canvas] Fix preview jobs for rotated map canvas 2025-03-03 07:41:23 +10:00
Andrea Giudiceandrea
1b40a30f9b [DXF] Set $ACADVER to AC1018 (AutoCAD 2004)
because codes 420 and 440 (which are written in the DXF file by QgsDxfEport) are listed in DXF specs only since AutoCAD 2004
2025-03-02 06:22:58 +01:00
Andrea Giudiceandrea
12e5f2da19 [DXF] Add test for codepage writing 2025-03-02 06:22:58 +01:00
Andrea Giudiceandrea
f2e74bb54f [DXF] Avoid a loop in dxfEncoding
and make it case insensitive
2025-03-02 06:22:58 +01:00
Andrea Giudiceandrea
533b00e8c1 [DXF] Fix writing encoding name 2025-03-02 06:22:58 +01:00
qgis-bot
4de10b9d4c auto sipify 🍺 2025-02-28 08:35:24 +00:00
Nyall Dawson
febdd9d058 Add missing clone method to QgsNominatimLocatorFilter
Fixes missing accreditation message when triggering results
2025-02-28 18:32:28 +10:00
Nyall Dawson
632d196e62 Don't show useless "available in python as" notes in PyQGIS docs
Since the method name used in the docs is ALREADY the python version!
2025-02-28 18:32:09 +10:00
Nyall Dawson
43fef67bb1 Fix PyQGIS signal docs for QgsMapTool 2025-02-28 18:32:09 +10:00
Nyall Dawson
a7e61175e3 Revert "Revert "Update src/3d/qgscameracontroller.h""
This reverts commit dd7be2e88e1a66fe701ae0142c2ebbc26c07fd62.
2025-02-28 09:20:25 +10:00
Nyall Dawson
d8974dff91 Revert "Revert "Don't loop forever in test waiting for sensible near plane""
This reverts commit a1daed291791718161bad30df29678d19f3106ef.
2025-02-28 09:20:25 +10:00
Nyall Dawson
767e6d7287 Revert "Revert "Speed up QgsCameraController::sampleDepthBuffer() averaging""
This reverts commit c1bea4fb30328970aa8f6e81163b95131c3781b7.
2025-02-28 09:20:25 +10:00
Nyall Dawson
07993ec0d6 Revert "Revert "Apply suggestions per review""
This reverts commit f6e67ac33e63b293672709731ee9b7b7fd24672e.
2025-02-28 09:20:25 +10:00
Nyall Dawson
9efa2da3db Revert "Revert "Fix more tests""
This reverts commit 26c65500a3f606c19396eb9adbd4c64c9633b7cb.
2025-02-28 09:20:25 +10:00
Nyall Dawson
2c43f91a93 Revert "Revert "Fix tests after 3D camera changes""
This reverts commit 572417a082c07b09292282de1cd57ca0f5b19fa6.
2025-02-28 09:20:25 +10:00
Nyall Dawson
4ab6aae974 Revert "Revert "Cache depth buffer average to improve performance""
This reverts commit 0ee993ffbe25895209212ddfd9d8852e0953b226.
2025-02-28 09:20:25 +10:00
Nyall Dawson
069bfacd6e Revert "Revert "Add tracing events to Qgs3DMapScene and QgsCameraController""
This reverts commit b7c35003b6ae4efffca0289a9133d6628d13c971.
2025-02-28 09:20:25 +10:00
Nyall Dawson
38ca9d6461 Revert "Revert "Only emit cameraChanged() on frame start""
This reverts commit bb4962ee30e20a1e318157fc60a9723992cd2f2c.
2025-02-28 09:20:25 +10:00
Alexander Bruy
70ad90ef84
Merge pull request #60771 from nyalldawson/gdal_error
[processing] Report errors when writing raster blocks fail
2025-02-27 13:07:32 +00:00
signedav
0db48e1b53
Merge pull request #60744 from signedav/transval
Project Translation considers descriptions of Value Map Widget
2025-02-27 12:23:29 +01:00
Nyall Dawson
b80eb8fab9 Fix hang when project with large number of layers has joins to same layers
Fixes #55026
2025-02-27 15:48:22 +10:00
Nyall Dawson
f6b7858a11
[processing] Report errors when writing raster blocks fail 2025-02-27 09:28:21 +10:00
Nyall Dawson
0ecf65570f
[gdal] Make GDAL internal error strings available to provider 2025-02-27 09:28:04 +10:00
Withalion
54607d3138 Fix wrong index point addition in polygon geometries 2025-02-27 07:53:52 +10:00
signedav
8a982428f4 Use consequently QList<QVariant> instead of QVariantList in this context so it's easier to read and understand 2025-02-26 20:31:56 +01:00
signedav
dcab021770
Update src/core/vector/qgsvectorlayer.cpp
Co-authored-by: Denis Rouzaud <denis.rouzaud@gmail.com>
2025-02-26 20:25:15 +01:00
qgis-bot
3b9eb96b45 auto sipify 🍺 2025-02-26 17:38:09 +00:00
Alexander Bruy
d8afb58675
Merge pull request #60761 from nyalldawson/sql_history2
[feature] Add stored query support to Execute SQL window
2025-02-26 17:35:19 +00:00