33 Commits

Author SHA1 Message Date
Nyall Dawson
81ecf97d0f Fix PyQGIS docs formatting of QgsAbstractDatabaseProviderConnection class 2021-07-06 18:13:58 +10:00
Nyall Dawson
129ab50607 Add QgsProviderSublayerProxyModel for filtering/sorting
QgsProviderSublayerModel instances
2021-07-06 17:57:21 +10:00
Nyall Dawson
73f45ee467 Allow non sublayer items to be added to QgsProviderSublayerModel
E.g. embedded project items
2021-07-06 17:57:21 +10:00
Nyall Dawson
288321505a Start on sublayer model 2021-07-06 17:57:21 +10:00
Nyall Dawson
65bccd2c61 Add equality operator for QgsProviderSublayerDetails 2021-07-02 12:19:58 +10:00
Nyall Dawson
ced5910bc8 Fix race 2021-07-02 09:49:33 +10:00
Nyall Dawson
7dec3050f6 Fix dox 2021-07-02 09:49:33 +10:00
Nyall Dawson
1355b39be0 Add QgsProviderUtils with a method for determining whether a list
of sublayer details is incomplete and requires a more in-depth scan
2021-07-02 09:49:33 +10:00
Nyall Dawson
bed72156f7 Dox 2021-07-02 09:49:33 +10:00
Nyall Dawson
7c6afc0761 Create QgsProviderSublayerTask for retrieving sublayer details in a thread
This can sometimes take a looooong time, so it's worth doing in the
background
2021-07-02 09:49:33 +10:00
Nyall Dawson
711a615be3 Fix raises sphinx format 2021-06-25 10:50:04 +10:00
Nyall Dawson
69debff405 Add convenience method to directly convert QgsProviderSublayerDetails
object to a QgsMapLayer
2021-06-23 19:35:11 +10:00
Nyall Dawson
07f5812383 Add uri to QgsProviderSublayerDetails 2021-06-23 19:35:11 +10:00
Nyall Dawson
2430173427 Fix since 2021-06-22 08:43:39 +10:00
Nyall Dawson
89d58dc718 Fix wording 2021-06-22 08:43:39 +10:00
Nyall Dawson
c7926181ad Layout fixes 2021-06-22 08:43:39 +10:00
Nyall Dawson
469f967941 Add framework for querying for dataset sublayers via
QgsProviderRegistry/QgsProviderMetadata
2021-06-22 08:43:39 +10:00
Nyall Dawson
2328f4fad8 Fix sipify handling of long long return types 2021-06-22 08:43:39 +10:00
Nyall Dawson
e59f343110 Introduce QgsProviderSubLayerDetails 2021-06-22 08:43:39 +10:00
Nyall Dawson
4ff3f447dc Don't try to insert links in raises blocks in PyQGIS docs
These aren't formatted correctly if we do
2021-06-10 11:03:43 +10:00
rldhont
65761a177c QgsMapLayer::ReadFlag::FlagReadExtentFromXml to extend vector layer read capabilities to other layer types
In QgsVectorLayer, it is possible through the flag trust layer metadata to use extent read in XML
instead of extent provided by the provider.

The QgsMapLayer::ReadFlag::FlagReadExtentFromXml can be used inlayer readXML to read Extent from XML for raster, point cloud and other layers.

Funded by Ifremer
2021-05-21 09:12:07 +02:00
Nyall Dawson
0c4dd068c4 Move generic provider related files to src/core/providers
Minor clean up
2021-05-19 10:16:43 +10:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Nyall Dawson
7380f8d841 Spelling 2020-12-22 04:01:32 +10:00
Nyall Dawson
d8784602f5 Add method to retrieve filtered group content 2020-12-22 04:01:32 +10:00
Nyall Dawson
8b313f8443 Method to retrieve all group content 2020-12-22 04:01:32 +10:00
Nyall Dawson
23b1533d58 Add api to retrieve user groups 2020-12-22 04:01:32 +10:00
Nyall Dawson
d6fa53310b Start on QgsArcGisPortalUtils 2020-12-22 04:01:32 +10:00
Nyall Dawson
13e4969817 Try to fix doc test 2020-12-18 18:14:49 +10:00
Nyall Dawson
99208ab45b Split query related functions out into a separate file 2020-12-18 18:14:49 +10:00
Nyall Dawson
8d45910535 Move QgsArcGisRestUtils to core, cleanup API, add docs and selectively
expose to Python
2020-12-18 18:14:49 +10:00
Denis Rouzaud
7df2593caf move auto generated sip file in dedicated folder 2018-05-14 10:23:37 -04:00