318 Commits

Author SHA1 Message Date
Nyall Dawson
bdb5904283 Fix more malformed docstrings, enforce correct format in sipify 2025-04-09 14:04:24 +10:00
Nyall Dawson
fc76784e09 Misc documentation fixes causing errors in PyQGIS doc builder 2025-04-09 14:04:24 +10:00
JuhoErvasti
baddfc2499 Address review 2025-04-08 09:40:21 +10:00
JuhoErvasti
6a757be985 Implement toggleComment for QgsCodeEditorExpression 2025-04-08 09:40:21 +10:00
Julien Cabieces
68dd8200c1
Merge pull request #61195 from troopa81/feat_groupwmsdata
[Server] Add server properties on layer tree group
2025-04-07 14:01:35 +02:00
qgis-bot
2cbadecd13 auto sipify 🍺 2025-04-02 01:14:06 +00:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
2b1aa4e517 Correctly mark code/literal blocks in doxygen 2025-04-02 11:11:10 +10:00
signedav
d347f20400
Merge pull request #60932 from signedav/save-rel-ref-embedded
RelationReference save edits on embedded form
2025-04-01 12:33:25 +02:00
signedav
522e650318 comment for return value 2025-04-01 09:17:13 +02:00
Martin Dobias
2078404ba7 Globe: finally make it available from the GUI
This is a mix of additions and updates for the initial support of globe mode
in 3D views within QGIS desktop app. Many things are still missing, and will
be introduced in later PRs...
2025-04-01 10:26:27 +10:00
Nyall Dawson
4a10066b69 Fix grammar errors in class docstrings 2025-04-01 09:44:00 +10:00
Nyall Dawson
afd2e4f42d Fix doxygen class briefs which aren't full sentences 2025-04-01 09:44:00 +10:00
Nyall Dawson
cc13b5083c Fix malformed list in class docs 2025-04-01 09:44:00 +10:00
Nyall Dawson
0c55e90b62 Fix malformed copyright headers 2025-04-01 09:44:00 +10:00
Nyall Dawson
6d122f0038 Sipify 2025-03-30 20:48:07 +10:00
Nyall Dawson
ac71664a83 Fix multiparagraphs in initial class docstrings 2025-03-30 20:48:07 +10:00
Nyall Dawson
bdba8d6366 Refactor too long doxygen brief comments
These break the table of contents for the PyQGIS documentation
2025-03-30 20:48:07 +10:00
Nyall Dawson
29050007d7 Fix class documentation which starts with "this is..."/"a class..." etc 2025-03-30 20:48:07 +10:00
Nyall Dawson
602ef6c691 Don't start class briefs with "This class contains settings..."
It's unncessarily verbose, use just "Contains settings..." instead.
2025-03-30 20:48:07 +10:00
Nyall Dawson
b81e0d83f6 Fix non-compliant class brief documentation 2025-03-30 20:48:07 +10:00
Nyall Dawson
e46522fe0f Fix documentation 2025-03-30 18:03:30 +10:00
Nyall Dawson
12a1be86f2 Expose "at equator" scale method in widget
When this method is selected, we show a warning icon with an
explanatory tooltip:

"This method will calculate misleading scales when the map extent
is not close to the equator, however it ensures that the scale
remains constant and does not change as the map is panned."
2025-03-30 18:03:30 +10:00
Nyall Dawson
9eb1ab27be Create common widget for scale method selection 2025-03-30 18:03:30 +10:00
Mathieu Pellerin
e75a28f15a [editor widget] Fix relation reference widget filter expression's handling of current(_parent)_* variables and functions 2025-03-29 16:06:09 +07:00
Nyall Dawson
f480c2a04e Add all missing class brief descriptions 2025-03-28 14:23:56 +10: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
Julien Cabieces
6bf973b53a feat(GroupWMSData): Use server properties widget to edit WMS data
As a consequence, it's now possible to edit all server properties for
group (metadata urls, keyword list, attribution...)
2025-03-24 15:28:09 +01:00
Nyall Dawson
b774d3ecae Store preferred http method for connections 2025-03-24 10:25:39 +10:00
signedav
d7d39b9d43 Introduce a slot in the QgsRelationReferenceWidget to store changes on the embedded form if existing.
This function is called on aboutToSave, an override of the WidgetWrapper that is triggered via notifyAboutToSave from the attribute form.
This fixes #60806
2025-03-20 15:41:25 +01: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
Alexander Bruy
afd575ea87 add signal to notify about extent layer changes to QgsExtentWidget and
QgsExtentGroupBox
2025-03-19 14:03:02 +10: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
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
Nyall Dawson
fa0c1f6219 A method to show completer with existing names in QgsNewNameDialog 2025-03-03 12:47: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
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
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
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
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
Denis Rouzaud
4c67afa698 remove old method 2025-02-22 07:26:43 +10:00
Loïc Bartoletti
79e4ccbe16 fix(QgsMapToolCapture): Allow snapping point with different crs 2025-02-06 19:21:50 +10: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
Yoann Quenach de Quivillic
dff57c3e02 Apply suggestion from review 2025-01-10 07:54:09 +01:00