12875 Commits

Author SHA1 Message Date
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
Nyall Dawson
e906a2c9ce [python] Generate type hint stub files
Causes sip to generate the type hinting stub (".pyi") files
alongside the generated python modules.

This allows editors like PyCharm to become aware of the
types of objects returned by functions, making the autocompletion
much more useful (e.g. by showing all the members available
for a returned type). It also fixes a bunch of incorrect
warnings highlighted in PyCharm for things like calling
static methods in a class (and, generates some new, but valid,
warnings when unexpected types are passed to functions!)

TODO: work out why PyCharm can't show the docstrings
for methods when the pyi file is present.
2018-05-24 06:56:16 +10:00
Matthias Kuhn
2bbacb635f
Merge pull request #7054 from nyalldawson/compliant
Add compliance test to doxygen test
2018-05-23 11:03:15 +02:00
Alessandro Pasotti
f41daee1cb Fix docstring for setEditFormConfig 2018-05-23 09:27:44 +02:00
Nyall Dawson
afa04d9b5b Fix non-compliant docstrings 2018-05-23 16:55:11 +10:00
nirvn
45aca2f942 fix unclosed strings not style in python console & script editor 2018-05-23 10:08:02 +07: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
nirvn
9cf6bbf424 Improve default color scheme for python console & script editor 2018-05-22 17:56:25 +07:00
nirvn
45b045d212 Fix missing color settings for python console / script editor 2018-05-22 13:31:29 +07:00
Nyall Dawson
6d87a4cf3f [console] Fix unclosed strings don't respect the preset font size 2018-05-22 15:43:14 +10:00
Nyall Dawson
c5ff6b9c99 [processing] Ensure parameters linked to layer parameters
(e.g. field choices) are correctly updated when a layer
is selected which doesn't belong to the project
2018-05-22 06:03:18 +10:00
Nyall Dawson
c0d9528090 Silence python warnings from 3rd party libraries on startup 2018-05-22 06:02:55 +10:00
Nyall Dawson
343872b719 Flip some code to use format 2018-05-22 06:02:55 +10:00
Nyall Dawson
3de7b383b0 Fix bad regex escaping 2018-05-22 06:02:55 +10:00
Mathieu Pellerin
a7397b1726
[python console] improve settings UI (#7041)
- improve UI spacing
- harmonize reset icon
2018-05-21 16:48:43 +07:00
Blottiere Paul
42199d1ad0 [processing] Declare NOT_SELECTED 2018-05-21 19:06:27 +10:00
Blottiere Paul
dcc79fcfbf [processing] Fix invalid attribute's name 2018-05-21 19:06:27 +10:00
Nyall Dawson
b21632602f [processing] Fix exception when editing enum input with no default value 2018-05-21 16:07:14 +10:00
Nyall Dawson
6b5e5b6ed5 [processing] Fix models cannot correctly set enum parameters
to a static choice
2018-05-21 16:07:14 +10:00
Nyall Dawson
84163841df [processing] Improved script editor dialog title
- show filename in title, or 'Untitled Script' for new
scripts
- show unsaved ('*') indicator when unsaved changes present
2018-05-21 14:28:37 +10:00
Nyall Dawson
28b23d0b24 [processing] Fix script editor dialog title 2018-05-21 14:28:37 +10:00
nirvn
fb882494d5 [needs-docs][processing] reword add model/script to toolbox actions 2018-05-21 10:58:40 +07:00
nirvn
05beaa73b3 [needs-docs][processing] open existing script toolbar action 2018-05-21 10:58:40 +07:00
nirvn
310bfb1e3e [processing] show indentation guides in script editor 2018-05-20 15:50:31 +07:00
nirvn
6b3ebfc019 harmonize open script icons 2018-05-20 15:50:31 +07:00
nirvn
af45b84c1f [processing] do no wrap line in script editor
(harmonize behavior with python console)
2018-05-20 15:50:31 +07:00
nirvn
b0e93a175c [python console] update toolbar icon and action position
(harmonize position with the processing script editor)
2018-05-20 15:50:31 +07:00
nirvn
2ad74b9d97 [processing] better unsaved change dialog upon closing script editor 2018-05-20 15:50:31 +07:00
nirvn
5a4d33f351 [processing] use python console color/font settings for the script editor 2018-05-20 15:50:31 +07:00
Alexander Bruy
303a79a143 [processing] fix temporary directories handling 2018-05-20 18:17:15 +10:00
nirvn
6d067ba9e0 [processing] tiny improvements to the script editor
- add a keyboard shortcut to toggle the find panel
- focus on the find text box when opening panel
- find text when hitting return
2018-05-19 18:22:27 +07:00
matteo
ace955c08c resurrect also the test for r.thin 2018-05-19 08:12:40 +10:00
matteo
b44ce1e883 [processing] fix wrong parameter GRASS 2018-05-19 08:12:40 +10:00
Blottiere Paul
e182280102
Merge pull request #6997 from pblottiere/executesql_bugfix
[executesql] Use parameter's name instead of description to save sql query
2018-05-18 18:50:27 +01:00