Nyall Dawson
b97c3991cf
Add QgsFeature::attributeMap() method to return feature's attributes
...
as a field name -> value dictionary
2021-12-03 10:43:15 +10:00
Loïc Bartoletti
6562817f39
QgsFeature::setId improve documentation with a warning. fixes #44898
2021-09-22 17:24:13 +10:00
Nyall Dawson
3c3059c938
Fix code example blocks in QgsFeature documentation
2021-06-25 10:50:04 +10:00
Nyall Dawson
711a615be3
Fix raises sphinx format
2021-06-25 10:50:04 +10:00
Nyall Dawson
bb0dfb6ba3
Doxygen says no
2021-06-10 11:03:43 +10:00
Nyall Dawson
49e48f9383
Better approach to avoid duplicate docs
2021-06-10 11:03:43 +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
Nyall Dawson
8359281012
Fix formatting of exception blocks in PyQGIS docs
2021-06-10 11:03:43 +10:00
Denis Rouzaud
35c557a234
run sipify
2021-05-26 14:30:54 +02:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
b8b5528297
Add embeddedSymbol getter and setter to QgsFeature
...
Allows for storing per-feature symbology, e.g. for symbols which
are an innate part of features from a dataset which supports
feature level symbology.
2021-03-06 16:37:46 +10:00
tschmetzer
22026cc642
Add information about matching number of fields condition ( #41799 )
2021-02-26 06:43:40 +10:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Nyall Dawson
df28e637cd
Fix see also link
2020-12-14 16:49:48 +10:00
Nyall Dawson
53831c6067
Add some useful methods to resize QgsFeature attributes without clearing existing attributes
2020-12-14 16:49:48 +10:00
Even Rouault
a04fcce548
Add QgsFeature::approximateMemoryUsage()
2020-10-19 09:25:10 +10:00
Alessandro Pasotti
0a4214499d
Fix QgsFeature default ctor set fid to 0
...
The QgsFeature default constructors initialized
feature id to 0, which is a valid feature id
instead of initializing it fo FID_NULL.
This was just wrong and broke the validator for
UNIQUE constraints in case a feature with fid 0
existed in the data provider.
Fixes #36962
2020-06-22 15:22:46 +02:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Nyall Dawson
a5101f2ade
[sipify] Fix header formatting
2020-06-13 16:49:14 +10:00
Nyall Dawson
cedd73ee4d
More list formatting fixes
2020-06-13 16:49:14 +10:00
Nyall Dawson
9fb02d6ba7
Remove last traces of obsolete Qt4 API usage (from c++ -- may still be some in Python!)
2020-02-08 15:17:47 +10:00
Nyall Dawson
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Nyall Dawson
5603546c26
Dox
2018-11-21 08:48:55 +11:00
Nyall Dawson
e21ea25c66
Add method to set QgsFeature geometry directly from QgsAbstractGeometry
...
Allows
feat.setGeometry(QgsPoint(1,2))
instead of the more obscure
feat.setGeometry(QgsGeometry(QgsPoint(1,2)))
2018-11-21 08:48:55 +11:00
Matthias Kuhn
74fb0fabc6
Move QgsFeatureId to own header
2018-09-03 07:54:37 +02:00
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08:00
Nyall Dawson
38850bdb94
[pyqgis] Ensure that multiline param tags are indented for additional lines
2018-05-27 18:54:09 +10:00
Nyall Dawson
c864d22d1f
Add "get ..." to doxygen compliance blacklist
...
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Denis Rouzaud
e8cf8c2f1c
[sipify] insert missing QMetaObject for gadget classes
2018-05-15 17:38:16 -04:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00