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
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
fa0c1f6219
A method to show completer with existing names in QgsNewNameDialog
2025-03-03 12:47:15 +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
qgis-bot
992cdcbf62
auto sipify 🍺
2025-03-03 00:44:25 +00: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
qgis-bot
3b9eb96b45
auto sipify 🍺
2025-02-26 17:38:09 +00:00
Nyall Dawson
afdf432c74
Class should not be private
2025-02-26 12:09:26 +10:00
Nyall Dawson
bb4827e9f9
Create a class for managing stored database queries
...
This class is designed to be compatible with DB Manager's storage
of queries in projects, but extended to allow storage within
the local profile too.
2025-02-26 10:54:25 +10:00
qgis-bot
886a9ce085
auto sipify 🍺
2025-02-25 08:02:39 +00:00
Nyall Dawson
090e9fb671
[feature] Saving/loading SQL queries from Execute SQL/Update SQL dialogs
...
This adds support for saving and loading SQL queries to a .sql text
file to the Execute SQL dialog and Update SQL dialogs.
Effectively, it ports this functionality from the DB Manager plugin
over to the core browser-based database connection facilities.
The UX has been designed to mimic the same functionality from
other standard parts of QGIS, eg the Processing Script Editor. Toolbar
actions are used accordingly, instead of the old text button approach
used in DB Manager.
Sponsored by City of Canning
2025-02-25 17:59:48 +10:00
Nyall Dawson
feb0dd789d
Add a toolbar to Execute SQL dialog
...
Adds a toolbar to the Execute SQL window, with common actions
for cut/copy/paste/undo/redo/toggle find/clear
This matches the UI for the Execute SQL dialog to other similar
QGIS dialogs, eg the Processing script editor dialog
2025-02-25 17:59:48 +10:00
qgis-bot
9b78cf972d
auto sipify 🍺
2025-02-23 16:04:49 +00:00
Ben
dc70921448
sipify
2025-02-23 11:29:45 +09:30
Ben
1d51900203
sipify
2025-02-23 11:29:45 +09:30
Ben
3b9a5f826d
Add an option via a button in the categorized symbol renderer widget to delete
...
unused categories from the model/view. I.e. any categories which are not matched
in the attribute field or expression used to categorize the layer.
2025-02-23 11:29:45 +09:30
qgis-bot
46fe09f061
auto sipify 🍺
2025-02-21 21:32:20 +00:00
Denis Rouzaud
4c67afa698
remove old method
2025-02-22 07:26:43 +10:00
qgis-bot
f38d190f56
auto sipify 🍺
2025-02-21 19:26:45 +00:00
Nyall Dawson
a363ed1862
Fix leak when directly iterating feature in PyQGIS
...
Fixes #32944
2025-02-22 05:23:15 +10:00
Nyall Dawson
149c106ea0
Optimise conversion of QgsAttributes to Python objects
...
Applies the same optimisations as are present in the QgsFeature
methods to avoid the overhead of sip's QVariant conversion logic
when attributes are of a basic type
2025-02-22 05:22:41 +10:00
qgis-bot
9b2870b8c7
auto sipify 🍺
2025-02-20 08:21:16 +00:00
Julien Cabieces
a96ea4a104
Merge pull request #60674 from nyalldawson/gdal-release-name
...
Show GDAL release nickname in about screen
2025-02-20 09:18:23 +01:00
qgis-bot
a51f4f6a35
auto sipify 🍺
2025-02-20 03:11:43 +00:00
Nyall Dawson
8911a5b726
Move QgsLegendStyle::Style enum to Qgis, rename to LegendComponent
2025-02-20 13:08:54 +10:00
Nyall Dawson
4f2bbe407a
Fix compilation on GDAL 3.11
2025-02-20 09:54:05 +10:00
qgis-bot
3a32e3e767
auto sipify 🍺
2025-02-19 22:47:39 +00:00
Alexander Bruy
3d44213606
do not enable default Duplicate Feature and Digitize action for geometryless layers (refs #57916 )
2025-02-20 08:44:48 +10:00
qgis-bot
6e46c78421
auto sipify 🍺
2025-02-19 02:08:09 +00:00
Nyall Dawson
2ffb8c00db
Fix data-defined overrides ignored in legend text format
...
Fixes #60628
2025-02-19 12:05:10 +10:00
qgis-bot
adbc6f99af
auto sipify 🍺
2025-02-17 14:45:29 +00:00
Nyall Dawson
a152cbecdb
Fix numerous leaks in sip method code
...
From the sip documentation:
If state is not NULL then the location it points to is set to
describe the state of the returned C/C++ instance and is the
value returned by any %ConvertToTypeCode. The calling code
must then release the value at some point to prevent a memory
leak by calling sipReleaseType().
These methods were only calling sipReleaseType in the case that
an error occurred, which is incorrect -- it should always be
called.
2025-02-17 10:42:19 +10:00
qgis-bot
ec73cff2fc
auto sipify 🍺
2025-02-14 18:48:23 +00:00
qgis-bot
013b3d3d6f
auto sipify 🍺
2025-02-14 04:40:15 +00:00
Nyall Dawson
46b0436bbc
Also fix render order for arrow line
2025-02-14 14:37:04 +10:00
Nyall Dawson
ed0bd43ee0
Also fix render order for filled line
2025-02-14 14:37:04 +10:00
Nyall Dawson
849063d4e5
Fix render order of symbol layers for filled marker subsymbol
...
If a filled marker had eg a centroid fill marker in the subsymbol,
this would always be rendered on top, regardless of the actual
defined order
2025-02-14 14:37:04 +10:00
qgis-bot
cf9738a99b
auto sipify 🍺
2025-02-13 22:59:00 +00:00
Loïc Bartoletti
a6beaa96e8
docs(QgsCircle): pet doxygen
2025-02-14 08:56:11 +10:00
Loïc Bartoletti
e637eb3df2
move SegmentCalculationMethod to qgis.h
2025-02-14 08:56:11 +10:00
Loïc Bartoletti
157383300c
feat(QgsCircle): Add segment calculation methods
2025-02-14 08:56:11 +10:00
qgis-bot
06502da4e5
auto sipify 🍺
2025-02-13 14:50:17 +00:00