45 Commits

Author SHA1 Message Date
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +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
Julien Cabieces
ed64834106 api(deprecated): add message to deprecated SIP annotation 2024-12-17 09:06:42 +01:00
Denis Rouzaud
2562958772 sipify 2024-12-07 05:16:00 +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
886074c913 Rename 'None' enum members in public API
These clash with the Python bindings, where the enum value
becomes unusable
2024-08-06 19:49:10 +10:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0' 2024-02-18 20:57:23 +01:00
Alessandro Pasotti
1a83ddd146 Doxy 2023-10-28 05:07:14 +10:00
Alessandro Pasotti
fa9fc3ee34 Source select widget: configure from layer URI 2023-10-28 05:07:14 +10:00
Nyall Dawson
a3e06229ec Deprecate layer type specific signals from QgsAbstractDataSourceWidget
and move toward generic signal for all layer types
2023-06-28 12:08:23 +10:00
Alessandro Pasotti
7cab873eac Address PR review comments and add model tests 2022-09-06 15:50:34 +02:00
Nyall Dawson
9d0cb90705 Make virtual layer source layer creation much more user friendly
Instead of just forcing the user to type a free-form source string,
add a "..." button which allows them to browse for the layer source
using the browser dialog. Makes it MUCH easier for users to add
gpkg/postgis/wfs/... layers as sources for virtual layers.
2022-06-16 13:55:09 +10:00
Samweli
998c58dff1 made canvas methods in source provider widget virtual 2022-05-03 15:58:19 +10:00
Samweli
e38f3996f7 made canvas set and get function non pure virtual functions, include tests for encode/decode uri functions in wcs
and minor cleans and code tweaks as suggested in the recent review.
2022-05-03 15:58:19 +10:00
Samweli
8846a1a265 refomartted updated provider files 2022-05-03 15:58:19 +10:00
Samweli
9fc2f58e71 updated the owssourcewidget to only update ows layers bbox 2022-05-03 15:58:19 +10:00
Samweli
a59e4680f6 removed mapCanvasChanged() signal and made setMapCanvas virtual in the QgsAbstractDataSourceWidget 2022-05-03 15:58:19 +10:00
Samweli
4104a62f85 change state of the map canvas to non-const so it can be used in provider dialogs spatial extent input widgets 2022-05-03 15:58:19 +10:00
Juergen E. Fischer
c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09 Run sipify_all.sh 2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306 run sipify 2021-10-12 16:34:05 +10:00
NEDJIMAbelgacem
c9890935bf remove the use of dataSourceType 2021-04-08 14:26:31 -07:00
NEDJIMAbelgacem
ede1c6394e UI initial implementation for remote ept files 2021-04-08 14:26:31 -07:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
nirvn
a5f001e135 [gdal][ui] Fix opening of gdal rasters within ZIP containers in the data source manager dialog 2021-02-28 16:52:18 +07:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Nyall Dawson
890491976c Replace ArcGIS REST data source manager list with a view based on the browser model
This has MANY benefits:
- Shows the merged feature service/map service view we use in browser
- Avoids the HUGE main thread ui hang when connecting to servers with
many layers (could be 20 mins+ for some services)
- Avoids bombing out and showing incomplete lists when a server reports
an error when connecting to any of the services it advertises (happens
often)
2020-12-23 16:10:05 +10:00
Peter Petrik
b796dbb07b add some basic skelet for point cloud data providers 2020-10-27 05:29:14 +10:00
Peter Petrik
9c27d4ae91 bunch of other file skeletons 2020-10-27 05:29:14 +10:00
Alessandro Pasotti
cd4785de9e A few UX enhancements for error reporting on GPKGs
This fixes #36574 by showing an error in the data
items when the layer cannot be opened.

In the same way, similar errors now bubble up
to the message bar from data source select dialog.
2020-06-09 08:25:46 +10:00
Alexander Bruy
39e397ebd0 [feature] api for adding vector tile layers
This is code-only, not visible to users change and prerequisite for
exposing vector tile layer in the Data Source manager
2020-04-16 13:26:40 +03:00
Denis Rouzaud
758d7cff4a run sipify to update deprecation annotations 2019-10-15 13:17:38 +02:00
Matthias Kuhn
fa847d16ff Fix code style 2019-07-25 16:00:04 +02:00
Matthias Kuhn
a6875a7c78 Reset selection when data source select dialog is reopened
When the data source select dialog is closed and reopened it's much more
likely that the user wants to add a different layer than last time he was using
the dialog. So instead of offering him to add the same layer again, the selection
is cleared and he is requested to make a new selection.
2019-07-25 11:17:42 +02:00
Martin Dobias
6918bac9df Revert API break and move WidgetMode back to QgsProviderRegistry 2019-06-20 10:49:36 +02:00
Martin Dobias
f6049e01d0 Misc fixes to get the branch compiling & running with Python
- grass data item provider fixes
- removed QgsProviderMetadata constructor (with std::function / PyObject) due to sip errors (api break)
- reverted DataCapability move to Qgis - back to QgsDataProvider (avoiding api breaks)
- WidgetMode enum documentation
- sipify monkey patching fix
- renamed WidgetMode's "None" to "Normal" value - in python None has special meaning (api break)
2019-06-19 23:02:11 +02:00
Peter Petrik
62d615c2cd [QEP 149] Introduce static data providers [API BREAK]
- adds QgsProviderGuiRegistry and QgsProviderGuiMetadata
- adds QgsProjectStorageGuiRegistry
- requires providerMetadataFactory for dynamic data providers
- requires providerMetadataGuiFactory for dynamic data providers (GUI only)
- removes QgsProviderRegistry::WidgetMode
2019-06-18 15:15:36 +02:00
Nyall Dawson
1dc447e1f2 Dox++ 2019-03-21 12:44:16 +10:00
Nyall Dawson
c7845ddbb4 Deprecate unused QgsAbstractDataSourceWidget progress report signal
QgsProxyProgressTask should be used instead for progress reporting
2018-08-20 15:01:52 +10:00
Peter Petrik
e135b9cf9f [feature] addMeshLayer to qgsinterface 2018-07-13 10:28:40 +02:00
Peter Petrik
4f7017322f [mesh] option to add mesh layer from data source manager dialog 2018-07-13 10:28:40 +02:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Nyall Dawson
1c615c15cc More documentation compliance
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Denis Rouzaud
9ed1548494 move auto generated sip file in dedicated folder (gui) 2018-05-14 10:31:17 -04:00