Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Julien Cabieces
ed64834106
api(deprecated): add message to deprecated SIP annotation
2024-12-17 09:06:42 +01:00
Nyall Dawson
534ca73c59
Fix missing see also trailing notes in PyQGIS documentation
2024-09-04 06:32:03 +10:00
Nyall Dawson
ef0289f3ec
Fix formatting of Python ..deprecated annotations in docstrings
...
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Nyall Dawson
6f652d251b
Drop no-value copy constructor dox
2024-07-25 04:02:55 +10:00
Nyall Dawson
74c0c95627
Add some helpful api to QgsFields
...
- Construct QgsFields from a list of QgsField
- Append a list of QgsField
- Append another QgsFields
2024-07-04 18:54:14 +10:00
Julien Cabieces
848fb16785
Add \deprecated tag
2024-05-31 08:46:33 +10:00
Julien Cabieces
97f1c8df97
make python API backward compatible
2024-05-31 08:46:33 +10:00
Julien Cabieces
0ccaf2d299
sipify
2024-05-31 08:46:33 +10:00
Nyall Dawson
e2157cfe1f
Promote FieldOrigin to enum class, move to Qgis
2024-05-27 08:50:16 +02:00
Nyall Dawson
280cd84652
Add more HoldGIL annotations to cheap methods
2024-05-24 16:34:33 +10:00
Mathieu Pellerin
5d796e9dfa
[qml] Make QgsFields a QGadet and make some functions invokable
2024-04-17 11:15:23 +07:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0'
2024-02-18 20:57:23 +01:00
Even Rouault
02caeb9db7
Header files: remove all mentions of '\since QGIS 2.'
2024-02-18 20:46:01 +01:00
Nyall Dawson
33a431b3cc
Show an icon for geometry fields
2023-02-15 04:31:35 +10:00
Nyall Dawson
a578ecb33a
Add QgsFields()['field_name'] getter for PyQGIS
...
A nice shorthand way to retrieve a field definition by name, instead
of having to determine the field index first.
2022-02-19 09:00:43 +10:00
Nyall Dawson
7747c30dec
Add support for field subtype to QgsFields::iconForFieldType
2022-01-31 21:01:44 +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
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
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