133 Commits

Author SHA1 Message Date
Peter Petrik
d9f18ccb9c
Fix spelling (#37849)
fix the spelling errors
2020-07-21 12:51:48 +02:00
Ivan Ivanov
b7d36375c2
Reload the data source when a dependency layer is changed (#37475)
Refreshing the data provider right away causes problems on a layer
 dependent on itself. In that case two `dataChanged` signals are
 expected to be emitted when deleting or creating a feature, but as the
 layer is reloaded, the second `dataChanged` is not emitted.
2020-07-10 18:06:13 +02:00
Denis Rouzaud
66b0f1d60c correctly remove title + slash 2020-07-09 16:22:06 +02:00
Denis Rouzaud
3fdbfe3602 sipify them all…
… oh there is only 2
2020-07-09 16:13:19 +02:00
Denis Rouzaud
d14b349447
Show python code sample in PyQGIS doc, take 2 (#37642) 2020-07-07 11:37:18 +02:00
Denis Rouzaud
044a05d828 run sipify 2020-06-19 08:47:23 +10:00
Nyall Dawson
8d4f00b0af Remove TODO comments included in public API documentation
This is just "airing our dirty laundry". We don't want/need end users
to see this.
2020-06-15 13:43:58 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Nyall Dawson
ae42850d08 Sipify 2020-06-11 13:29:59 +10:00
Nyall Dawson
c795ddb1e9 Updates 2020-06-11 13:29:59 +10:00
Matthias Kuhn
262568e6fb
Merge pull request #36285 from signedav/delete_cascade
Delete cascade on composition relations
2020-05-14 15:35:44 +02:00
David Signer
b9348302c4 use reference for fids in deleteFeatures and ensure that they exist until the end in qgsrelationeditorwidget 2020-05-14 10:40:00 +02:00
David Signer
3ea7b28aea project in the DeleteContext 2020-05-13 22:44:42 +02:00
David Signer
9995287eff comments and sipfiles 2020-05-12 17:32:06 +02:00
David Signer
f5d35dd18f handledLayers and handledFeatures in DeleteContext to be able to use it in python as well 2020-05-11 11:12:16 +02:00
David Signer
d6a038b700 getter for handledFeatures in DeleteContext 2020-05-11 10:09:23 +02:00
David Signer
87de7de01c fix type in parametername deletedCount 2020-05-08 11:37:07 +02:00
David Signer
0b64a83995 docs 2020-05-08 07:51:47 +02:00
Nyall Dawson
0ca630115c Sipify 2020-05-08 11:46:46 +10:00
David Signer
aa8224716c Not using reference for QgsFeatureIds since the given value could maybe be changed on recursive delete.
Recursions are usualy not used with compositions, but to be save, this change has been made.
2020-05-07 23:10:37 +02:00
David Signer
79d86012ae DeleteContext instead of having cascade parameter in delete functions and QMap for response 2020-05-07 23:10:37 +02:00
David Signer
023f16f696 the function to delete without updating the extent and deleting cascade is called deleteFeatureCascade
handledFeatures is given to store all the layers and features affected by the delete operation
recursion is blocked by checking handled features
2020-05-07 23:10:37 +02:00
David Signer
f352793b83 on deleting a feature, it deletes the relating children, when "cascade" parameter is true, the relation strength is a composition.
"cascade" parameter is true on every "normal" delete fired by the user interface. It's not true, on functions like merge feature or offline editing synchronization etc.
2020-05-07 23:10:37 +02:00
Nyall Dawson
5b639558f4 Dox++ 2020-02-13 09:32:02 +10:00
Alessandro Pasotti
90ac90b4a9 Weak relations and auto-restore when loading a style 2019-12-19 10:33:24 +01:00
Nyall Dawson
214bbe9e36 Fix clazy fully-qualified-moc-types warnings 2019-11-20 10:08:13 +10:00
Nyall Dawson
fe32fdfe40 Add API to QgsFeatureSource to determine whether a spatial index
exists on the source (or not, or unknown presence)
2019-11-17 04:54:41 +10:00
Matthias Kuhn
213df8df23
Merge pull request #32315 from roya0045/optional_fids
[API/feature?] make fids caching optional
2019-11-01 16:00:17 +01:00
Alex
54c175b55f optional fids counting 2019-10-31 08:36:34 -04:00
Alessandro Pasotti
07bb6b77e1 Server OAPIF datetime filter support
with full test coverage for single values and ranges,
supports time, datetime and string fields.
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
6112da45f6 Server OAPIF datetime support 2019-10-30 11:53:13 +01:00
Even Rouault
c7f29d501f QgsVectorLayer: document oapif provider
Funded by Planet
2019-10-26 06:47:59 +10:00
Denis Rouzaud
2406837650
replace deprecated in by deprecated since (#32260) 2019-10-15 15:56:54 +02:00
Denis Rouzaud
758d7cff4a run sipify to update deprecation annotations 2019-10-15 13:17:38 +02:00
Nyall Dawson
3112332227 Rename variable for clarity 2019-10-09 15:01:51 +10:00
Nyall Dawson
cb06519d16 [api] Add API to indicate that individual layers may be loaded without any
CRS validation, regardless of the user's settings

This avoids hacks put in place in other parts of QGIS code or in plugins
to temporarily deactivate the CRS validation prompt, providing a supported,
stable method to indicate that when loading a particular layer no CRS
validation is required.
2019-10-09 15:01:51 +10:00
lbartoletti
bb523ebfb3 one wmore deprecated method 2019-10-03 13:33:46 +10:00
lbartoletti
aa99f89caf deprecate methods in qgsvectorlayereditutils. Better deprecated dox. 2019-10-03 13:33:46 +10:00
lbartoletti
b75518fa15 update dox 2019-10-03 13:33:46 +10:00
lbartoletti
c1421455b8 fix dox and tests 2019-10-03 13:33:46 +10:00
lbartoletti
2e529e1bd9 deprecate addTopologicalPoints methods with QgsPointXY
deprecate other methods
2019-10-03 13:33:46 +10:00
Julien Cabieces
484ee53899 Add a utils method fieldIsEditable 2019-09-20 09:49:12 +10:00
rldhont
cc58cba93d API: Define QgsVectorLayerServerProperties to manage QGIS Server properties like WMS DImensions 2019-09-07 16:07:10 +02:00
rldhont
3edd081cc1 Update UI to manage QGIS Server WMS Dimensions 2019-09-07 16:05:10 +02:00
Nyall Dawson
3af35b5844 [FEATURE] "Reselect Features" action in Edit -> Select menu
Allows restoration of a layer's selection following a selection
clear operation. Handy for anyone who has ever painstakingly
built a custom selection only to accidently click and clear
this selection...
2019-09-06 13:08:18 +10:00
Alex
8fb43bd20e [API] Cache feature ids for each symbol in the QgsVectorLayer (#31061) 2019-09-01 06:31:40 +10:00
David Signer
8c9f643e0b - removed the modes from QgsStoredExpressionManager and do the categorization over category tags
- use QStrings instead of QUuids in QgsStoredExpression
- docs, style and beautifications
2019-08-29 08:26:28 +02:00
David Signer
ffa41cb814 descriptive name for mStoredFilterExpressions to make a difference to future QgsStoredExpression objects 2019-08-29 08:24:15 +02:00
David Signer
5c38b4bdc8 stored expression base class with read write methods 2019-08-29 08:24:15 +02:00
lbartoletti
e5cd1aa913 Topological editing: fix vertex tool (Z support) (#31163) 2019-08-14 09:00:58 +10:00