4724 Commits

Author SHA1 Message Date
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Juergen E. Fischer
499459be4b fix build with SIP <4.19 2018-05-27 19:17:12 +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
0e75f6ef85 Don't indent multiline versionadded/deprecated tags
Turns out there isn't any valid ones anyway - the only
multiline versionadded tags are due to incorrect ordering
of brief/since tags (which is fixed in a different PR)
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
4b1b752633 Fix bad regex 2018-05-27 18:54:09 +10:00
Nyall Dawson
71107d1d2f Sipify 2018-05-27 18:54:09 +10:00
Nyall Dawson
3d6ea5972b Remove some junk lines from docstrings 2018-05-27 18:54:09 +10: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
Nyall Dawson
b6b08e96a0 Add 'accessor for' to doxygen compliance blacklist
Use "Returns the..." instead
2018-05-27 14:05:06 +10:00
Nyall Dawson
4bb7f82fcb Remove some incorrect 'not available in Python bindings' notes 2018-05-26 16:51:58 +10:00
Nyall Dawson
94cf3fc788 Use "customize" instead of "customise"
Since we default to US spelling, we should always be using "customize"
2018-05-26 15:44:04 +10:00
Nyall Dawson
fa5a7d2ae2 Typo 2018-05-26 15:44:04 +10:00
Nyall Dawson
ff55cfc99d Add missing getters to QgsContrastEnhancementFunction 2018-05-26 15:44:04 +10:00
Nyall Dawson
8f770c3f60 Add 'mutator for ' to doxygen compliance blacklist 2018-05-26 15:44:04 +10:00
Nyall Dawson
80e44c1364 Speed up map to pixel simplification by directly accessing x/y vertex data 2018-05-26 11:00:43 +10:00
Matthias Kuhn
cb4d11787c Remove redundant virtual on override 2018-05-26 06:11:37 +10:00
Nyall Dawson
99b6194e3c Improve docs for single symbol renderer, add missing SIP_FACTORY 2018-05-25 17:12:24 +10:00
Nyall Dawson
43928d8c9c Don't crash when a null task is added to task manager 2018-05-25 16:53:51 +10:00
Nyall Dawson
5e360f90e8 Add unit test to prevent deprecated methods without description
And add missing descriptions
2018-05-25 16:31:03 +10:00
Nyall Dawson
8bb45b935a Typo 2018-05-25 15:09:00 +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
Nyall Dawson
bcaad3a5dc Fix documentation warning 2018-05-25 11:40:57 +10:00
Nyall Dawson
b813a6715e Fix API breaks 2018-05-25 11:40:57 +10:00
Nyall Dawson
44630b47ed Add QgsDataProvider::ProviderOptions struct to constructors
for data providers

Allows a way to pass generic settings to providers, e.g.
passing a datum transform context for use in provider's
constructors.
2018-05-25 11:40:57 +10:00
Nyall Dawson
bb995202fd Fix more broken links 2018-05-25 11:16:18 +10:00
Nyall Dawson
2cb8a33884 Fix broken see also links 2018-05-25 11:16:18 +10:00
Harrissou Sant-anna
c7538702f9 Fix typo 2018-05-25 09:17:24 +10:00
Martin Dobias
61f84ce7f6
Merge pull request #7008 from PeterPetrik/qgsmeshlayer_2_scalar_vector_datasets
[mesh] Rendering of scalar and vector datasets
2018-05-24 07:43:14 -04:00
Peter Petrik
882d8ed79b tiny doc change 2018-05-24 08:16:11 +02:00
Alessandro Pasotti
f41daee1cb Fix docstring for setEditFormConfig 2018-05-23 09:27:44 +02:00
Nyall Dawson
6165e4c8d6 Add some SIP_THROW( QgsCsException ) annotations
Incomplete, but allows proper QgsCsException catching
for these methods
2018-05-23 07:55:30 +10:00
Nyall Dawson
f82b639604 Fix outdated docs
Fixes #19004
2018-05-23 06:55:22 +10:00
Peter Petrik
81bf510c09 fix typo 2018-05-22 18:59:06 +02:00
Peter Petrik
c75876938b fix docs 2018-05-22 14:35:10 +02:00
Peter Petrik
33390123e3 various small fixes from review 2018-05-22 14:32:20 +02: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
f267adc37a run sipify 2018-05-17 22:54:39 -04:00
Denis Rouzaud
c1e16969f3 [QgsLocator] add the capability of adding group for elements within the same filter 2018-05-17 21:46:31 -04:00
Denis Rouzaud
1a879b18a1
Merge pull request #7002 from 3nids/sip_metoobject
[sipify] insert missing QMetaObject for gadget classes
2018-05-16 17:54:06 -08:00
Nyall Dawson
5edcc64f72 [processing] Allow algorithms to return a translated short description
This is used in the algorithm's tooltip in the toolbox, and is intended
for single sentence description of the algorithm, e.g.
"Converts 2D features to 3D by sampling a DEM raster."

Convert grass algorithms to use short description for the
descriptive parts of their names, to cleanup the toolbox
and make it more uniform.
2018-05-17 08:50:39 +10:00
Martin Dobias
94f56b61a8 Build/test fixes 2018-05-16 17:26:59 -04:00
Denis Rouzaud
2abcfa23b8 do not add static QMetaObject to QgsDefaultValue
it has no Q_ENUM so no need for now
I do not understand while it doesn't compile though
2018-05-16 14:25:01 -04:00
Denis Rouzaud
95ecea897a move additions from top __init__ to core.__init__ 2018-05-16 11:29:28 -04:00
Peter Petrik
3fc99c04c1 code cleanup 2018-05-16 17:02:35 +02:00
Denis Rouzaud
5790bbcad6 fix QgsAbstractGeometry Q_GADGET position 2018-05-16 07:54:17 -04:00
Peter Petrik
aea3dccea7 [FEATURE] Rendering of vector data on mesh layers
Rudimentary support of rendering of vector data (e.g. velocity) on mesh map layers.
Rendering can be adjusted by QgsMeshRenderer*Settings. Only in Python
API, no GUI widgets for styling present.
2018-05-16 12:56:35 +02:00
Martin Dobias
9296528822 [FEATURE] Rendering of scalar data on mesh layers
Rudimentary support for rendering of scalar data (e.g. water depth)
on mesh map layers.
2018-05-16 12:47:57 +02:00