1679 Commits

Author SHA1 Message Date
Nyall Dawson
9e60e9bc5b Fix typo 2025-04-01 09:44:00 +10:00
qgis-bot
427e5f38ac auto sipify 🍺 2025-03-30 10:50:58 +00:00
Nyall Dawson
26a6828851 Make 3d docs compliant 2025-03-30 20:48:07 +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
qgis-bot
5887d14bc4 auto sipify 🍺 2025-03-30 08:06:22 +00:00
Nyall Dawson
e46522fe0f Fix documentation 2025-03-30 18:03:30 +10:00
Nyall Dawson
1384b6052e Fix doc warning 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
Nyall Dawson
9ea131ded2 [api] Add scale calculation method for "scale at equator"
Always calculates the scale at the equator, regardless of the
actual visible map extent.

This method can be used to provide a consistent, static scale for
maps in geographic reference systems, regardless of the latitudes
actually visible in the map (permitting consistent appearance of
these maps when rendering relies on scale based visibility or
calculations). Otherwise a project in eg EPSG:4326 which uses
scale based visibility of layers and symbols will see layers
and features "randomly" disappear as the map is panned, even
though the user has not zoomed in or out of the map.

This method is only applicable when calculating scales with a
degree based reference system.
2025-03-30 18:03:30 +10:00
Nyall Dawson
71d5aadbc8 [api] scale calculation method can be set for QgsMapSettings 2025-03-30 18:03:30 +10:00
Nyall Dawson
170d962356 Add scale method handling to QgsScaleCalculator 2025-03-30 18:03:30 +10:00
Nyall Dawson
a2db8cf453 Add QgsProject setting for scale calculation method
Exposes the same methods as are available for layout scale bars,
and can be set for a particular project in the project properties
dialog
2025-03-30 18:03:30 +10:00
qgis-bot
644c1f835b auto sipify 🍺 2025-03-30 01:12:39 +00:00
qgis-bot
19848a7819 auto sipify 🍺 2025-03-29 09:09:07 +00: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
qgis-bot
dd033ba99a auto sipify 🍺 2025-03-29 08:46:03 +00:00
Martin Dobias
ad32431d80 Support for rebasing of scenes 2025-03-29 09:41:22 +01:00
Withalion
0fa3b6d3ec Refactor code & add unit tests 2025-03-29 09:41:22 +01:00
Withalion
742a41d009 Fix review issues 2025-03-29 09:41:22 +01:00
qgis-bot
f2f0de0bc5 auto sipify 🍺 2025-03-28 21:58:29 +00:00
Nyall Dawson
c2e294c3fa Use class with static public methods instead of namespace
Namespaces don't work well with sip, eg losing the class docstrings.
2025-03-29 07:55:27 +10:00
Nyall Dawson
39e37e1fc5 Unify QgsMeshUtils into a single utility class
This was previously a namespace split over multiple files
2025-03-29 07:55:27 +10:00
qgis-bot
112eac014f auto sipify 🍺 2025-03-28 04:26:47 +00:00
Nyall Dawson
f480c2a04e Add all missing class brief descriptions 2025-03-28 14:23:56 +10:00
Nyall Dawson
d991480cbe Fix broken emphasis tag warning when building PyQGIS docs 2025-03-28 13:07:03 +10:00
qgis-bot
657c924383 auto sipify 🍺 2025-03-28 00:05:20 +00:00
Nyall Dawson
1f8a585c5c Make signal const 2025-03-28 10:02:25 +10:00
Nyall Dawson
aa65f01140 Make more symbol factory methods memory safe 2025-03-28 10:02:25 +10:00
Nyall Dawson
596ddb2f4e More memory safety for loading symbols 2025-03-28 10:02:25 +10:00
Nyall Dawson
7b56629478 Sipify 2025-03-27 14:00:26 +10:00
qgis-bot
1129d7014d auto sipify 🍺 2025-03-26 08:50:36 +00:00
Alexander Bruy
21f3bfff03
Merge pull request #61175 from alexbruy/raster-calculator-create-options
Add support for create options and custom NODATA to raster calculator
2025-03-26 08:47:46 +00:00
qgis-bot
7b89eaa547 auto sipify 🍺 2025-03-26 07:26:11 +00:00
Martin Dobias
b98733dbd7 cleanups of the globe entity code 2025-03-26 08:23:23 +01:00
Martin Dobias
adfb671c7a Add globe mesh 3D entity 2025-03-26 08:23:23 +01:00
qgis-bot
a0c5680b64 auto sipify 🍺 2025-03-24 23:50:44 +00:00
Jean Felder
f57c1d72dd qgslayoutelevationprofilewidget: Add support for subsections indicator
This adds some new customization associated with the introduction of
subsections indicator:
- it allows to display or hide them
- it allows to change the associated symbology
2025-03-25 09:47:50 +10:00
Jean Felder
c769795e36 qgslayoutitem: Remove empty lines at the end of file 2025-03-25 09:47:50 +10:00
Jean Felder
21dfcd261d qgslayoutitemelevationprofile: Add support for subsections indicator
This adds support to display vertices lines over the profile graph to
display indicator at the location of the curve's vertices.

This is achieved with mainly 2 changes:
- `setSubsectionsSymbol()` allows to set the line symbol of the
vertical lines
- Call `renderSubsectionsIndicator` on the `QgsProfilePlotRenderer`
2025-03-25 09:47:50 +10:00
Jean Felder
9eb3c37400 qgsprofilerenderer: Introduce a default symbol for subsections
This will be used in the next commit.
2025-03-25 09:47:50 +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
Jean Felder
030c04c9ea qgsprofilerenderer: Add support for subsections indicator
This adds support to display vertices lines over the profile graph to
display indicator at the location of the curve's vertices.

This is achieved with mainly 2 changes:
- `QgsProfilePlotRenderer::setSubsectionsSymbol()` allows to set the
line symbol of the vertical lines
- `renderSubsectionsIndicator` generates and renders the vertical
lines. It is called by `QgsProfilePlotRenderer::renderToImage()`.
2025-03-25 09:47:50 +10:00
Julien Cabieces
3dd3478ec9 fix(GroupWMSData): Update project dirty state when data are modified 2025-03-24 15:28:09 +01: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