781 Commits

Author SHA1 Message Date
Nyall Dawson
f2e4c3dfb7 Don't mangle http see links in PyQGIS docs 2024-09-04 06:32:03 +10:00
Nyall Dawson
534ca73c59 Fix missing see also trailing notes in PyQGIS documentation 2024-09-04 06:32:03 +10:00
Nyall Dawson
4628bc9d85 More \see cleanups 2024-09-04 06:32:03 +10:00
Nyall Dawson
b89a1f9f1c Remove broken see also links 2024-09-04 06:32:03 +10:00
Nyall Dawson
0f1daa11f3 Fix formatting of some \see links 2024-09-04 06:32:03 +10:00
Alessandro Pasotti
fbf9edfb5d Add referencingFieldsAllowNull 2024-09-03 16:47:49 +02:00
qgis-bot
c774d6cd77 auto sipify 🍺 2024-09-03 13:56:24 +00:00
Julien Cabieces
94863b435e
Merge pull request #58534 from nyalldawson/fix_3d_import
Fix PyQGIS 3D module patching
2024-09-02 11:21:11 +02:00
Nyall Dawson
50408edac6
Fix PyQGIS docstrings for monkey patched enum values
We should be using the new name for the enum value instead
of the old one in the enum class docstring.

Move the old compatible name to an extra note
"Available as ``xx.yy`` in older QGIS releases."

Fixes #49171
2024-09-02 11:43:23 +10:00
Nyall Dawson
1a974f5841 Update 2024-09-02 11:42:12 +10:00
Nyall Dawson
ef0289f3ec Fix formatting of Python ..deprecated annotations in docstrings
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
765cbb32db Standardise some deprecated annotations 2024-09-02 11:42:12 +10:00
Nyall Dawson
343709f48a Always use correct \since annotation for enum values 2024-09-01 02:29:17 +10:00
Nyall Dawson
d318cdb992 Standardise some since annotations 2024-09-01 02:29:17 +10:00
Nyall Dawson
2af54ad057 Fix malformed python docstrings when enum value has \since annotation 2024-09-01 02:29:17 +10:00
qgis-bot
8cab8729ca auto sipify 🍺 2024-08-30 20:23:07 +00:00
Nyall Dawson
a6f5c50b36 Move some style related enums out of global namespace 2024-08-31 06:20:02 +10:00
Nyall Dawson
71c7b63cf6 Allow filtering private layers from QgsLayerTreeFilterProxyModel 2024-08-31 06:19:26 +10:00
Nyall Dawson
d55b4ea066 Expose proxy model for QgsLegendRenderer to allow filtering rendered content 2024-08-31 06:19:26 +10:00
qgis-bot
d4e74c036f auto sipify 🍺 2024-08-30 13:10:17 +00:00
Denis Rouzaud
ba46a95aca
wedge buffers support start and end angles (#58473) 2024-08-30 15:07:08 +02:00
qgis-bot
5215f3351a auto sipify 🍺 2024-08-30 02:22:33 +00:00
Nyall Dawson
a5a3bf9ee8 Fix some more causes of warnings when building PyQGIS docs 2024-08-30 12:19:29 +10:00
Nyall Dawson
da317dd8de
Fix PyQGIS 3D module patching
The module patching for _3d was not working at all, because
the same logic which works for other modules with a private _module
copy clashed with the approach of exposing the public 3d module
as qgis._3d

Work around this by renaming the private internal module as _3d_p,
so that the monkey patching logic from sip is correctly run
when the module is loaded.

Fixes broken API in 3d module for renamed enums, and fixes the
broken PyQGIS doc for the 3d module
2024-08-30 11:57:42 +10:00
qgis-bot
859ea74116 auto sipify 🍺 2024-08-30 00:12:48 +00:00
Denis Rouzaud
427d6eb215 [locator] allow interacting on selection in the results 2024-08-30 10:09:41 +10:00
Nyall Dawson
47a3c98218 Fix typo 2024-08-30 10:07:04 +10:00
Nyall Dawson
17bc7d5f6d Don't use copydoc for methods exposed to SIP
Fixes #54429
2024-08-30 10:07:04 +10:00
qgis-bot
8e3ab39209 auto sipify 🍺 2024-08-29 19:50:40 +00:00
Nyall Dawson
9fe90fdca1 Fix new flake8 warnings 2024-08-30 05:47:31 +10:00
Nyall Dawson
f8196f7def Fix closing tag 2024-08-30 05:47:07 +10:00
Nyall Dawson
e38d577980 Catch raw bold/italic tags in docs 2024-08-30 05:47:07 +10:00
Nyall Dawson
49d31fa527 Fix some malformed docs 2024-08-30 05:47:07 +10:00
Nyall Dawson
482311b668 Don't use raw html lists in documentation 2024-08-30 05:47:07 +10:00
Nyall Dawson
aeea68790f Don't use raw dd/dl/dt tags in documentation
Markdown headings should be used instead

Fixes #54430
2024-08-30 05:47:07 +10:00
qgis-bot
8c1fe2292c auto sipify 🍺 2024-08-29 03:30:29 +00:00
Nyall Dawson
d23c3c52b1 Remove unnecessary method 2024-08-29 13:27:23 +10:00
Nyall Dawson
16e05a207b [feature] Add 'Custom Expression' numeric format
This numeric format allows users to craft a custom QGIS expression
to format numbers. The expression can use the @value variable
to retrieve the value to be formatted, and then use any standard
QGIS expression function to format this as desired.

It can be used anywhere QgsNumericFormat is accepted, eg layout
scalebars, elevation plots, layout tables, and color ramp
legends

Sponsored by the Swiss QGIS User Group
2024-08-29 13:27:23 +10:00
qgis-bot
9a3809de82 auto sipify 🍺 2024-08-28 02:41:19 +00:00
Nyall Dawson
e161d0bd60 Enforce thread safety for Qgs3DMapSettings 2024-08-28 12:38:16 +10:00
Nyall Dawson
9391a62664 Refactor so Qgs3DMapSettings is a member of Qgs3DSceneEntity 2024-08-28 12:38:16 +10:00
Nyall Dawson
1f94f9bc4e Rework to use Qgs3DRenderContext instead 2024-08-28 12:38:16 +10:00
Nyall Dawson
5e33ee4a57 Add some thread safety to Qgs3DMapSettings usage
Create a small, cheap to copy (non-qobject) class
Qgs3DMapSettingsSnapshot which is designed to store
just cheap properties of Qgs3DMapSettings. Then use this
object wherever possible to avoid accessing the (non-thread
safe) Qgs3DMapSettings object for retrieval of simple
map properties (eg crs, extent, ...)

Refs https://github.com/qgis/QGIS-Enhancement-Proposals/issues/301
2024-08-28 12:38:16 +10:00
qgis-bot
a37fec4fc9 auto sipify 🍺 2024-08-28 02:01:25 +00:00
Nyall Dawson
519959154a Fix some overly verbose class "brief" descriptions 2024-08-28 11:58:21 +10:00
Nyall Dawson
a478545108 Fix bad docs 2024-08-28 11:58:21 +10:00
Nyall Dawson
bc52832b47 Lazily hack around markdown title underline not being long enough
Causes a bunch of warnings when building the PyQGIS docs
2024-08-28 11:58:21 +10:00
Nyall Dawson
6a936472d4 Remove incorrect 'not available in python' note 2024-08-28 11:58:21 +10:00
Nyall Dawson
088aea0d0d Fix incorrect use of inline returns 2024-08-28 11:58:21 +10:00
qgis-bot
8ab71756cf auto sipify 🍺 2024-08-26 20:57:49 +00:00