Denis Rouzaud
ad00020366
QgsSettings.enumValue cast to enum
2018-06-21 05:29:16 -08:00
Denis Rouzaud
01681aba89
fix missing import
2018-06-21 05:29:16 -08:00
Denis Rouzaud
7dfec1fde0
[pyqgis] add misssing QgsSettings.setEnumValue
...
also fix sections in enumValue and flagValue
2018-06-21 05:29:16 -08:00
Nyall Dawson
1395dc0e9c
Add missing license headers
2018-06-04 11:30:32 +10:00
Denis Rouzaud
7cb18cd5f1
[sipify] allow to define python operator in headers
...
sipify will take care of injecting them in python/{module}/__init__.py
2018-06-03 11:07:09 -08:00
Denis Rouzaud
b4ec9a3190
[pyqgis] add QgsSettings.enumValue and flagValue to the bindings ( #7024 )
...
* [pyqgis] add QgsSettings.enumValue and flagValue to the bindings
these are done in pure Python since no implementation is possible in SIP
there is a dirty hack for flags since QgsMapLayerProxyModel.Filters.__qualname__
returns 'Filters' and not 'QgsMapLayerProxyModel.Filters'
* fix typo
2018-05-18 09:25:12 -08:00
Denis Rouzaud
deccf205cf
[pyqgis] add method to retrieve metaEnum from an enum value or type ( #7023 )
2018-05-18 06:47:18 -08:00
Denis Rouzaud
95ecea897a
move additions from top __init__ to core.__init__
2018-05-16 11:29:28 -04:00
Denis Rouzaud
6e33bdcdc4
[pyqgis] move qgis.core tricks to their own python file in additions folder
...
this makes the code much easier to read
2018-05-14 18:00:39 -04:00