12977 Commits

Author SHA1 Message Date
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
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
fe93993ab8 Fix typo 2018-05-17 08:50:39 +10:00
Nyall Dawson
0d21bd0429 [processing] Include description in algorithmHelp output 2018-05-17 08:50:39 +10:00
Nyall Dawson
b98f8f1d37 [processing] Also filter using algorithm short descriptions 2018-05-17 08:50:39 +10: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
Alexander Bruy
e56ff6838d
Merge pull request #7004 from alexbruy/select-atribute
[processing][needs-docs] add selection methods to Select by attribute algorithm
2018-05-16 16:48:03 +03:00
Alexander Bruy
15a5d91770 [processing] improve polar plot algorithm help (fix #16679) 2018-05-16 15:25:55 +03:00
Denis Rouzaud
5790bbcad6 fix QgsAbstractGeometry Q_GADGET position 2018-05-16 07:54:17 -04:00
Alexander Bruy
1783394b6b [processing] don't use function annotations as this breaks build on
systems with Python < 3.3 (fix #18961)
2018-05-16 14:43:32 +03: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
Peter Petrik
3154102aa6 [FEATURE] Scalar/vector data in mesh data providers
Reading and processing scalar (e.g. water depth) and vector (e.g.
velocity) data from mesh data providers (e.g. MDAL)
2018-05-16 12:47:28 +02:00
Alexander Bruy
580509fd5e [processing][needs-docs] add selection methods to Select by attribute
algorithm (fix #18682)
2018-05-16 11:20:09 +03:00
Alessandro Pasotti
a44eeae441
Merge pull request #6982 from elpaso/currentformfeature-expressions-4
[feature][need-docs] Current feature/current value form context expressions
2018-05-16 09:48:06 +02:00
Nyall Dawson
825a697ecf Add missing ellipsis to db manager action 2018-05-16 14:08:43 +10:00
Nyall Dawson
408da45877 [needs-docs] Place core plugin actions into top level menus
when plugin only has a single action

Affected actions:
- Database -> DB Manager -> DB Manager
- Coordinate Capture -> Coordinate Capture
- Vector -> Geometry Tools -> Geometry Checker
- Raster -> Georeferencer -> Georeferencer
- Vector -> Topology Checker -> Topology Checker

These are now just top level actions, e.g.
- Database -> DB Manager
2018-05-16 14:08:43 +10:00
Nyall Dawson
d0c14ef0c7 [dbmanager] Fix bad import in vlayers plugin 2018-05-16 14:08:43 +10:00
Nyall Dawson
d864cd6725 [processing] Correctly capitalize menu entry actions, add ellipsis 2018-05-16 14:08:43 +10:00
Nyall Dawson
6c02d0534a Super-basic title-case conversion method
No grammatical parsing, so only useful for very simple cases
2018-05-16 14:08:43 +10:00
Denis Rouzaud
e8cf8c2f1c [sipify] insert missing QMetaObject for gadget classes 2018-05-15 17:38:16 -04:00
Denis Rouzaud
ff35e694bb fix (again) install of qgis.core.additions 2018-05-15 17:26:41 -04:00
Nyall Dawson
74b0e910db [processing] Fix some exceptions 2018-05-16 04:35:17 +10:00
Nyall Dawson
c9e5a36558 [processing] Avoid generic exceptions
Makes the full Python exception available when running algorithm,
which provides much more useful error messages
2018-05-16 04:35:17 +10:00
Alessandro Pasotti
673fac0c88 Added methods to search expression nodes and drop RegExp
- nodes() return the list of all nodes
- findNodes<T> returns a list of the nodes matching the class

Also drops the regexp for finding form attrs in the value-relation
expressions.

Other minor fixes as suggested in the PR review.
2018-05-15 18:32:40 +02:00
Denis Rouzaud
cd34da8038
also install additions py files in their directory (#7000) 2018-05-15 05:02:08 -08:00