410 Commits

Author SHA1 Message Date
qgis-bot
a0c5680b64 auto sipify 🍺 2025-03-24 23:50:44 +00:00
Jean Felder
6696b7095d qgselevationprofilecanvas: Add support for subsections indicator
This adds support to display vertices lines over the profile graph to
display indicator at the location of the vertices of the trace.

This is mainly achieved by adding
`QgsElevationProfileCanvas::setSubsectionsSymbol()`. This method
allows to set the line symbol of the vertical lines. Then, It sets the
subsections symbol of the profile renderer of the plot item. It the
renderer does not exist yet, the subsections symbol is set when a new
profile renderer is created.
2025-03-25 09:47:50 +10:00
qgis-bot
67a6c46e17 auto sipify 🍺 2025-03-24 00:28:36 +00:00
Nyall Dawson
b774d3ecae Store preferred http method for connections 2025-03-24 10:25:39 +10:00
qgis-bot
17824ad647 auto sipify 🍺 2025-03-20 10:49:30 +00:00
Loïc Bartoletti
6e589e1f51 Revert "fix(QgsMapToolCapture): Allow snapping point with different crs"
This reverts commit 7a0f84f39f2c412f6226b165d5f0b299284d1c4c.
2025-03-20 11:46:35 +01:00
qgis-bot
6e63293614 auto sipify 🍺 2025-03-19 04:05:55 +00:00
Alexander Bruy
afd575ea87 add signal to notify about extent layer changes to QgsExtentWidget and
QgsExtentGroupBox
2025-03-19 14:03:02 +10:00
qgis-bot
f14a9a0caf auto sipify 🍺 2025-03-12 00:28:39 +00:00
Nyall Dawson
b414def927 Allow setting native field types for QgsFieldMappingWidget
Previously the widget would always just use a generic hardcoded
list of field types. This isn't appropriate for all destination
providers, which may not support certain field types.

Add API so that an explicit list of supported destination
field types can be set for the widget, restricting the choices
available to users for destination fields.
2025-03-12 10:25:48 +10:00
qgis-bot
cf5320a4e1 auto sipify 🍺 2025-03-11 00:09:21 +00:00
Nyall Dawson
6a17295cbe
Make map canvas accessible via QgsDataItemGuiContext
Allows browser item GUI operations to access the map canvas
2025-03-10 14:41:21 +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
bb60704ed0 fetch feature with geometry when executing map layer action on feature
(fix #48964)
2025-03-03 11:48:15 +10: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
37b7c62b34 auto sipify 🍺 2025-02-09 22:14:32 +00:00
qgis-bot
d4526d748f auto sipify 🍺 2025-02-06 09:24:44 +00:00
Loïc Bartoletti
79e4ccbe16 fix(QgsMapToolCapture): Allow snapping point with different crs 2025-02-06 19:21:50 +10:00
qgis-bot
65670a5e93 auto sipify 🍺 2025-01-31 07:14:22 +00:00
Nyall Dawson
4a3f5d5d5c [sensorthings] Remove option for basic authentication
This is not supported by the provider, only authentication config
is supported

Fixes #59721
2025-01-31 17:11:29 +10:00
qgis-bot
c3f538e5cb auto sipify 🍺 2025-01-28 21:09:39 +00:00
qgis-bot
8cfdb1b99a auto sipify 🍺 2025-01-10 06:56:59 +00:00
Yoann Quenach de Quivillic
dff57c3e02 Apply suggestion from review 2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
b9d4575715 Add editingTimeout for QgsCodeEditor 2025-01-10 07:54:09 +01:00
Yoann Quenach de Quivillic
86bd2c5353 Add adjustScrollWidth method 2025-01-10 07:54:09 +01:00
qgis-bot
33bb9d5fb4 auto sipify 🍺 2025-01-08 11:54:28 +00:00
pre-commit-ci[bot]
cee488bf4b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-01-08 12:51:39 +01:00
uclaros
c93b51cf28 fix docstring 2025-01-08 12:51:39 +01:00
uclaros
f76c3e1e9d Revert, use a new struct as parameter 2025-01-08 12:51:39 +01:00
uclaros
786dca61b3 Don't identify 3d layers when clicking the terrain 2025-01-08 12:51:39 +01:00
David Koňařík
4d86676c35 Fix SIP build errors by using /NoTypeName/
The typedef is only present in the .sip file, but without this
annotation SIP assumes it also exists in QGIS headers. This didn't
completely break the build, since we concatenate multiple SIP headers
into larger files, so the typedefs from one part "fixed" another. Run
sip-build without --concatenate to see the issue clearly.

This fix is currently sadly not fully effective due to a SIP bug:
https://github.com/Python-SIP/sip/issues/66
2025-01-06 21:31:40 +01:00
Matthias Kuhn
e76a5870fc Fix sip_include 2024-12-30 10:52:45 +01:00
qgis-bot
c0e743dc09 auto sipify 🍺 2024-12-19 10:14:50 +00:00