12851 Commits

Author SHA1 Message Date
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
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
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
Matthias Kuhn
bc25781208
Merge pull request #7013 from m-kuhn/sortList
Sort list on the attribute table/form view based on shown value
2018-05-18 12:40:53 +02:00
Blottiere Paul
599799d264 Remove unused import 2018-05-18 08:29:33 +01:00
Blottiere Paul
e74e836017 Use parameter's name instead of description to save sql query 2018-05-18 07:05:56 +01:00
Denis Rouzaud
f267adc37a run sipify 2018-05-17 22:54:39 -04:00
Denis Rouzaud
83ccff2aad
Merge pull request #7017 from 3nids/locator_subgroup
[QgsLocator] add the capability of adding group for elements within t…
2018-05-17 18:28:15 -08: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
matteo
2a7c10e719 change empty '' with None 2018-05-18 08:44:02 +10:00
matteo
57106986d6 [processing] change 0 to Not set Null value also for contour 2018-05-18 08:44:02 +10:00
matteo
9d7212f3d4 [processing] change 0 to Not set Null values in Gdal Clip 2018-05-18 08:44:02 +10:00
Matthias Kuhn
b76acbe46a
More docstring fixes 2018-05-17 13:51:43 +02:00
Matthias Kuhn
74dec50cd4
Fix docstring 2018-05-17 13:40:02 +02:00
Blottiere Paul
4b7012045c Update sip binding 2018-05-17 10:34:20 +01:00
Matthias Kuhn
9963892790
Make additional sort caches accessible 2018-05-17 08:57:06 +02:00
Matthias Kuhn
2325fe5a39
Deprecate unrequired methods 2018-05-17 08:48:44 +02:00
Matthias Kuhn
f1770c7529
QgsFeatureListModel is sortable by display expression 2018-05-17 08:48:43 +02:00
Matthias Kuhn
14cefe3d3a
QgsFeatureListModel inherits QSortFilterProxyModel 2018-05-17 08:48:43 +02:00
Matthias Kuhn
2544391a9a
Allow prefetching more than a single sort expression
in the attribute table model. One is used for the table, the other one for the feature list in the form view.
2018-05-17 08:48:42 +02:00