Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Denis Rouzaud
3ffbed314e
add field icon in DnD tree ( #39400 )
2020-10-16 07:47:59 +02:00
Alessandro Pasotti
f89fb2ae40
QgsFields: make icon for type static
2020-07-07 05:59:24 +10:00
Nyall Dawson
c795ddb1e9
Updates
2020-06-11 13:29:59 +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
Peter Petrik
ebcc694ab1
fix #18954 add&rename vector fields ( #8982 )
...
fix #18954 add&rename vector fields at the same time
2019-01-31 09:20:49 +01:00
Martin Dobias
4c8b801791
Make sure that bool(obj) is True for QGIS API objects
...
bool(obj) in Python has the following semantics:
1. if the object has __bool__() method, return its value
2. if the object has __len__() method, return its value
3. return True
So for objects in QGIS API that implement __len__() method, we were getting
unexpected behavior - for example, "if layer: ..." would evaluate as False
in case the layer was empty, while the usual expectation is that any reference
to an object that is not None should evaluate to True.
2018-06-28 11:04:50 +02:00
Nyall Dawson
7a1a787c0a
Fix incorrect returns docstring when doxygen \returns has extra trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Nyall Dawson
9f650fead9
Fix incorrect param docstring when doxygen \param has extra
...
trailing spaces or uses tabs
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
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
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00