Alessandro Pasotti
f3bbc4d81c
Use QgsField::convertCompatible to check for errors
2020-06-20 04:30:18 +10:00
Alessandro Pasotti
39068c1cd5
Sipify
2020-06-20 04:30:18 +10:00
Alessandro Pasotti
68baf74906
Add type check to file writer an memory layer
...
Fixes #36715
Adds a method to check for QVariant conversions, also
check for integral type narrowing so that for example
floating point 123.45 does not get down casted to integer
without raising an error.
2020-06-20 04:30:18 +10:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Nyall Dawson
c795ddb1e9
Updates
2020-06-11 13:29:59 +10:00
David Signer
66a5dbf470
remove paragraph
2020-05-14 09:37:30 +02:00
David Signer
fc6829cb60
feedback messages
2020-05-12 13:11:30 +02:00
David Signer
3c963abfc9
docs
2020-05-11 10:02:15 +02:00
David Signer
652cc99798
get all the child and join features of the first level to create the warning text to inform the user that there is a cascade delete or a composition relation
2020-05-08 11:16:28 +02:00
David Signer
013b935c9a
On delete, checks if there are referncing or joined layers where the delete could have an impact (compositions on relations or cascade delete on joins).
...
This is a general message checking the layer, not checking if the delete of the current feature will have impact. This to avoid long time on a big selection of features.
2020-05-08 07:43:44 +02:00
Julien Cabieces
a8f46ac655
update sip
2019-12-16 09:55:30 +01:00
Julien Cabieces
ba925bb36d
Create child feature with geometry from the relation editor ( #32528 )
...
* [FEATURE][needs-docs] Create geometric child feature from relation editor
2019-12-04 14:46:32 +01:00
Hugo Mercier
845894b313
[FEATURE] Selective masking ( #30747 )
...
* [FEATURE] Selective masking
Advanced rendering feature that allows the definition of 'masks' areas around labels or with a new typ of symbol layer. These masks will "un-draw" symbol layers of other layers underneath.
It modifies the rendering process by adding an optional second pass.
2019-11-07 08:17:25 +01:00
Julien Cabieces
2ab88ad501
fieldIsEditable looks for joined feature to exist if no upsertOnEdit
2019-09-20 09:49:12 +10:00
Julien Cabieces
484ee53899
Add a utils method fieldIsEditable
2019-09-20 09:49:12 +10:00
Alessandro Pasotti
0325a37ff9
Fix makeFeatureCompatible wrong field count
...
Fixes #21497 - Copying features from source layer to target layer - field values are not copied
2019-03-07 14:45:04 +01:00
Nyall Dawson
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Bas Couwenberg
371176357b
Fix spelling errors.
...
* cancelation -> cancellation
* overal -> overall
2019-02-24 22:39:40 +01:00
Alessandro Pasotti
d239ea2df9
Fix unique values when generating a set of features
2019-02-19 19:04:48 +01:00
Alessandro Pasotti
348e6837ac
Fix docs for createFeatures
2019-02-19 11:17:48 +01:00
Alessandro Pasotti
490c1fedfb
Rename QgsFeaturesData to QgsFeatureData and fix test case
2019-02-19 10:51:53 +01:00
Alessandro Pasotti
ba3d9ed066
Cache unique values when creating features
...
Fixes #21305 - pasting features is very slow
Aggressively optimize createFeature for speed
and introduces createFeatures for bulk creation.
2019-02-19 10:02:17 +01:00
Alessandro Pasotti
b34c461dc1
Drop const on makeFeatureComptible returned values
2018-09-25 08:24:49 +02:00
Alessandro Pasotti
a8dbb5395c
Some minor changes
...
- QgsVectorLayer *
- make a const copy of a const container
- typo and comments
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
8d82ce86cc
makeFeatureCompatible on a single input feature
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
7e8592bca2
Const correctness (because it's not an API break)
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
3157af2eaa
Revert const on createFeature
...
just because it would be an API break
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
930c3f8e45
Port makeFeaturesCompatible to C++
...
as: QgsVectorLayerUtils::makeFeaturesCompatible
With tests.
2018-09-25 08:17:14 +02:00
Nyall Dawson
eacf4adb30
Dox++
2018-09-25 08:49:21 +10:00
Nyall Dawson
a8794001e0
Add method to match feature attributes to the given fields
...
Refs #18784
2018-09-25 08:49:21 +10:00
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00