Nyall Dawson
4a6fef278e
Cleanup docs, don't mention QString in python docs
2025-04-19 18:17:34 +10:00
Nyall Dawson
54d078ed7a
Add missing SIP_OUT annotations
...
Fixes #54404 (at least, the remaining discernable portions of that ticket)
2025-04-11 05:42:02 +10:00
Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Nyall Dawson
ac71664a83
Fix multiparagraphs in initial class docstrings
2025-03-30 20:48:07 +10:00
Julien Cabieces
d528d9ab31
refactor(LegendUrl): Make legend url part of server properties
2025-03-14 14:58:15 +10:00
Even Rouault
1907ab32fe
QgsMapLayer::publicSource(): make it redact/remove GDAL credentials
...
Fixes #60292
2025-02-03 08:05:17 +10:00
Julien Cabieces
ed64834106
api(deprecated): add message to deprecated SIP annotation
2024-12-17 09:06:42 +01:00
Nyall Dawson
94ec0d9139
QgsMapLayer::setDataSource don't require layer name, provider
...
Make them optional, and default to current layer name/provider
when not specified
2024-10-03 19:46:08 +10:00
Nyall Dawson
391b61544e
Handle SIP_OUT with void functions
2024-09-10 11:46:47 +10:00
Nyall Dawson
b39f760cbc
Correctly handle multiline SIP_OUT param documentation
2024-09-10 11:11:25 +10:00
Mathieu Pellerin
e3fee5d3f4
Address review
2024-09-04 11:34:51 +07:00
Nyall Dawson
a5ba59d016
Fix malformed notes
2024-09-04 13:54:39 +10:00
Nyall Dawson
98d1cbe40a
Fix malformed tags
2024-09-04 13:54:39 +10:00
Nyall Dawson
1a8a072aac
Fix up \param formatting
2024-09-04 13:54:39 +10:00
Nyall Dawson
60e376826d
Fix tag
2024-09-04 13:54:39 +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
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Nyall Dawson
be8dce7d0d
Valid improvements from new sipify
2024-08-13 20:28:55 +10:00
Nyall Dawson
145de5fb5e
Move QgsDataProvider::ReadFlag to Qgis::DataProviderReadFlag
...
and promote to enum class
2024-07-18 10:01:59 +10:00
Nyall Dawson
c7e3ff09a4
Partially address API limitations, and add a bunch of QGIS 4 TODOs
...
We can't fix the API without a significant break here.
2024-06-10 19:54:48 +10:00
Nyall Dawson
a41f6f4333
Copy project vertical/3d crs logic to QgsMapLayer
...
This adds a new verticalCrs property for map layers, and a corresponding
crs3D() property. Logic is the same as that for QgsProject.
2024-04-30 06:06:10 +10:00
Nyall Dawson
9d6faf3d00
Prevent changing ID if layer is owned
2024-04-20 16:50:56 +10:00
Nyall Dawson
ed2d4f559b
Add idChanged signal, property
2024-04-20 16:50:56 +10:00
Nyall Dawson
19585bf1fd
Add api to set QgsMapLayer IDs
...
With appropriate warnings on when this should be used...
2024-04-20 16:50:56 +10:00
Nyall Dawson
3d59b88329
Move server specific layer properties to QgsMapLayerServerProperties
...
Eg server layer title, abstract, etc, and deprecate the related
methods at the QgsMapLayer level
This should avoid accidental creep of these specifically server-related
properties into wider use, and help disambiguate them from the
standard layer metadata properties
2024-04-10 19:03:15 +10:00
Even Rouault
a68422b982
Various typo fixes
...
Including 3 public methods, which are deprecated by this commit and replaced by a typo-fixed version
2024-02-29 06:03:03 +10:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0'
2024-02-18 20:57:23 +01:00
Even Rouault
02caeb9db7
Header files: remove all mentions of '\since QGIS 2.'
2024-02-18 20:46:01 +01:00
Even Rouault
a5c8f01003
Header files: remove all mentions of '\since QGIS 1.'
2024-02-18 20:46:00 +01:00
bdm-oslandia
576d810875
feat(QgsMapLayer): add 3D extent handling
2023-11-16 14:05:52 +01:00
Sandro Mani
9b095c5605
Revert "Revert "Allowing storing GPGK raster layer styles to DB""
...
This reverts commit 9d8a72256893bd31a51d85927e9abd9cdb5eed29.
2023-10-23 13:47:40 +10:00
Nyall Dawson
9d8a722568
Revert "Allowing storing GPGK raster layer styles to DB"
2023-10-06 12:15:46 +10:00
Sandro Mani
4bc4f48f50
Merge pull request #54558 from manisandro/rasterstyles
...
Allowing storing GPGK raster layer styles to DB
2023-10-05 16:16:44 +02:00
Etienne Trimaille
29b08c79b7
Hide password instead of removing it
2023-09-29 09:29:49 +02:00
Sandro Mani
0a1dd0a643
Move saveStyleToDatabase, listStylesInDatabase, getStyleFromDatabase, deleteStyleFromDatabase, loadNamedStyle to QgsMapLayer
2023-09-18 14:16:02 +02:00
Nyall Dawson
156e5db76f
Add choice of two different modes for "Refresh Layer at Interval"
...
The old behaviour was always to just redraw the layer, without
refreshing data. This was by design, as the feature was originally
developed to allow animated layers which needed to be regular,
quickly redrawn.
But there's also a use case for automatically refetching layer
data on a regular interval too. So now we expose a choice
of mode for the automatic refresh for users to decided which
is appropriate for their requirements.
The options are:
- "Reload Data": The layer will be completely refreshed. Any cached
data will be discarded and refetched from the provider. This mode
may result in slower map refreshes.
- "Redraw Layer Only": This mode is useful for animation or when
the layer's style will be updated at regular intervals. Canvas
updates are deferred in order to avoid refreshing multiple times
if more than one layer has an auto update interval set.
The changes are all wrapped up in a new reusable widget, so that
we can easily expose this setting for non vector/raster layers
if we want to in future.
Fixes https://github.com/qgis/QGIS/issues/39830
2023-08-30 09:42:59 +10:00
Nyall Dawson
2863e4842f
Expand documentation for QgsMapLayer.setDataSource
...
Fixes #54381
2023-08-29 09:18:58 +10:00
Nyall Dawson
9f57fb2ef0
Rename "tiled mesh" to "tiled scene"
...
Better reflects that these types can contain lines and point
data, not just meshes
2023-08-05 21:31:49 +10:00
Nyall Dawson
71a778e492
Introduce framework for QgsMapLayerSelectionProperties
...
QgsMapLayerSelectionProperties exposes settings for controlling
how an individual QgsMapLayer behaves with respect to feature selection.
2023-07-29 18:36:11 +10:00
Nyall Dawson
5cf8f2ceb5
Shell for QgsTiledMeshLayer/QgsTiledMeshDataProvider
2023-06-28 17:47:17 +10:00
Vincent Cloarec
e2fa27e4a6
Load layers in parallel threads when opening project ( #53069 )
...
* load layers in parallel threads when opening project
* parallel loading by default and settingsin advanced settings
* fix freezing when no layer supports parallel loading
* clean leftover
* fix unwanted remove and typo
* typo
* fix flake8
* load OGR metadata under global mutex
* Revert "load OGR metadata under global mutex"
This reverts commit adcaf9e66ca432ee35143c45af2b383108770a63.
* remove parallel loading capability for OGR
* start application in server test
* import start_app
* fix flake8
2023-05-18 16:11:43 +02:00
Yoann Quenach de Quivillic
4dcd0d4af0
Add a way to disable map tips for a specific layer ( fix #23400 )
2023-04-23 11:01:37 +07:00
Nyall Dawson
1142e8ffac
Move QgsMapLayerType enum to Qgis.LayerType ( #51874 )
...
For consistency with other enums
2023-02-16 13:02:57 +01:00
Nyall Dawson
6f71e3393e
Fix map tips do not show for vector layers where the HTML map tip
...
option isn't used
In this case the layer's display expression should be used for
the map tip content
Followup https://github.com/qgis/QGIS/pull/50854
2023-02-06 08:41:45 +10:00
Alessandro Pasotti
694ebda27c
Merge pull request #51467 from elpaso/sld-export-options-png
...
SLD: export options png
2023-01-22 10:29:47 +01:00
Alessandro Pasotti
b137a9aedb
sip out
2023-01-17 11:30:48 +01:00
Denis Rouzaud
236ccce7e9
[doxygen] remove \returns for returning void methods
2023-01-12 15:00:51 +01:00
Alessandro Pasotti
8282358e9f
Adjust tile size
2023-01-09 12:18:43 +01:00
Harrissou Sant-anna
f1f7b7ab12
Fix see also blocks misformatting
2022-12-31 06:56:48 +10:00
Alessandro Pasotti
f84a0a8647
More doxy
2022-12-21 11:31:25 +01:00