5333 Commits

Author SHA1 Message Date
Hugo Mercier
d16cdcf449 Add more options for filtering legend elements
This introduces two new options to filter legend elements:
- filter by expression: a boolean expression can be set. Only symbols of
features that make the expression evaluated to true will be kept in the legend
- filter by polygon: only symbols of features that are inside the given
polygon will be part of the legend.

The polygon filtering is used in particular for a new option in the
composer legend that allows to filter out anything that is not included
in the current atlas polygon.
2015-11-03 10:39:09 +01:00
Nathan Woodrow
1b435ed965 [Py Console] Remove message on file change 2015-11-03 10:30:37 +10:00
volaya
584c86d629 Merge pull request #2403 from medspx/processing_get_scripts_proxy
[Processing] Add proxy support for Get scripts and models (fixes #13412)
2015-11-02 13:29:43 +01:00
Nyall Dawson
556d87a86c Fix some clang warnings 2015-11-02 18:07:16 +11:00
Juergen E. Fischer
f996c54776 indentation update 2015-10-30 23:30:16 +01:00
Alessandro Pasotti
feab3ad8ec Merge pull request #2405 from elpaso/symbol-export-select-by-group
Interactive selection by group of exported symbols
2015-10-28 18:22:40 +01:00
elpaso
a141ffb390 Interactive selection by group of exported symbols
This fixes #11681
2015-10-28 17:31:21 +01:00
volaya
2bb0cf9fad Merge pull request #2398 from mdouchin/patch-1
[processing] Debug ConcaveHull.py
2015-10-28 15:10:53 +01:00
volaya
b339ad13c8 Merge pull request #2399 from NaturalGIS/processing_fix_grass7_v_out_ogr
fix processing GRASS 7 v.out.ogr
2015-10-28 15:06:53 +01:00
Salvatore Larosa
c866dcce8f [pyqgis-console] fixes #13693: fix default value in settings for the last used directory when opening a script file 2015-10-28 14:52:29 +01:00
Nyall Dawson
fc49f8dfa9 Add test for coverage of SIP bindings
Not perfect, but good for a quick warning if a new class or member
has been added to the public API without Python bindings. The test
only considers the name of members, since it seems to be impossible
to test for the signature of a Python member. (So adding a new
overloaded method without bindings will still unfortunately pass).

You can avoid the test where bindings are not applicable:
- for a whole class by placing "@note not available in Python bindings"
in the class' Doxygen comments
- or by placing the @note inside a member's Doxygen comments for a
specific member

Additionally, classes which aren't included in the API docs
will not be tested.
2015-10-28 09:54:27 +11:00
Nyall Dawson
7842391eba Add some missing consts to operators 2015-10-28 09:47:44 +11:00
Nyall Dawson
fe221d54bf Don't return QStrings by reference, since they're implicitly shared
anyway
2015-10-28 09:47:44 +11:00
Médéric Ribreux
f2e527f033 [Processing] Add proxy support for Get scripts and models (fixes #13412) 2015-10-27 16:20:12 +01:00
Nyall Dawson
f1633a1796 Change all signals to use const refs for non trivial objects 2015-10-26 22:46:25 +11:00
Nyall Dawson
70bff3f6aa Finish flipping a lot of methods to take const references for
non-trivial types
2015-10-26 22:46:14 +11:00
Giovanni Manghi
77451f962c fix processing GRASS 7 v.out.ogr 2015-10-25 17:08:37 +00:00
Giuseppe Sucameli
22aea3201b [GdalTools] minor changes to ui and code (follow 32be4756) 2015-10-25 16:39:05 +01:00
Giuseppe Sucameli
55b068fa9a Merge branch 'clipper' of https://github.com/PedroVenancio/Quantum-GIS into PedroVenancio-clipper
Conflicts:
	python/plugins/processing/algs/gdal/ClipByMask.py
2015-10-25 16:38:27 +01:00
mdouchin
f443bb8c03 Update ConcaveHull.py 2015-10-25 12:29:25 +01:00
mdouchin
99fcd625eb Update ConcaveHull.py
Correct qgis:dissolve algorithm call
2015-10-25 12:17:36 +01:00
volaya
4f8a27dd64 [Processing] add default extensions for outputs as setting
Based on an idea and code by Evgeniy Nikulin

It includes some improvements to the settings sysmte
2015-10-24 21:18:17 +02:00
volaya
cbead0bcf4 [processing] fixed fileFilter method in OutputRaster 2015-10-24 21:18:16 +02:00
volaya
3ac5d0b095 [processing] fixed SAGA version handling
Conflicts:
	python/plugins/processing/algs/saga/SagaAlgorithmProvider.py
2015-10-24 21:18:15 +02:00
volaya
455089025e added option to add hardcoded params to GRASS algorithms 2015-10-24 21:18:14 +02:00
volaya
5575d04a80 [Processing] fixed handling of hardcoded params in SAGA 2015-10-24 21:18:13 +02:00
volaya
dacba063ac [Processing] removed TARGET_TEMPLATE param from SAGA algs 2015-10-24 21:18:11 +02:00
volaya
6b8254c922 [processing] fixed FixedTableDialog when there are 0 rows 2015-10-24 21:18:10 +02:00
volaya
5a4a5522c2 [processing] correctly enable buttons in FixedTableDialog 2015-10-24 21:18:09 +02:00
volaya
4da1ce9eee Merge pull request #2341 from arnaud-morvan/processing_precisionmodel
[Processing] Add precision parameter to by location algorithms
2015-10-24 15:42:36 +02:00
volaya
88d4605ad9 Merge pull request #2355 from om-henners/master
[processing] Update OGR tools
2015-10-24 15:42:18 +02:00
volaya
1dd8e79baf Merge pull request #2389 from NaturalGIS/gdal_advanced
Processing gdal translate and warp advanced parameters as such
2015-10-24 15:38:07 +02:00
volaya
fd26acd2f8 Merge pull request #2390 from NaturalGIS/processing_gdal_clip_raster
Processing advanced parameters for gdal clip raster
2015-10-24 15:37:13 +02:00
volaya
07bd3ffedd Merge pull request #2391 from NaturalGIS/processing_gdal_rasterize_advanced
processing add option for additional parameters for gdal rasterize
2015-10-24 15:36:47 +02:00
Matthias Kuhn
cd0eb05ded [py3] Some compatibility fixes for python 3 2015-10-24 13:47:32 +02:00
Juergen E. Fischer
8b11d43f57 processing: make help widget proxy aware 2015-10-24 12:41:08 +02:00
Médéric Ribreux
0aa0b4c804 DBManager: support timestamp values for Oracle 2015-10-23 14:04:40 +02:00
Salvatore Larosa
70687729cf [pyqgis-console] APIs file update 2015-10-23 09:44:56 +02:00
Juergen E. Fischer
b65b59596a make python error handling translatable 2015-10-23 08:29:46 +02:00
PedroVenancio
5057f761fa Adds the -crop_to_cutline parameter as optional to fix the gdalwarp deviation described in #4530. Option added to Clipper tool from GdalTools and Processing. It also adds the -tr xres yres parameter to GdalTools Clipper tool. Also get the original raster resolution. 2015-10-23 01:24:08 +01:00
Nathan Woodrow
18df00375e Use front window to show python error if there is message bar 2015-10-23 09:36:07 +10:00
Juergen E. Fischer
bf64f8d0a0 spelling fixes and indentation update 2015-10-22 21:56:54 +02:00
Giuseppe Sucameli
339fd75655 DBManager: merge PR2342 by medspx (fix #13650) 2015-10-22 21:28:02 +02:00
Giuseppe Sucameli
9419a44537 DBManager: revert commit 87675f8ab
Maybe I was drunk...
2015-10-22 21:17:56 +02:00
Giuseppe Sucameli
87657f8ab4 DBManager: fix #13650 2015-10-22 19:27:33 +02:00
Giuseppe Sucameli
2a57b17068 DBManager: avoid loading a query as layer with missing fields (fix #11037),
restore combo style and label when multiple unique fields for view are not supported (follow 8e45da9d7e)
2015-10-22 19:23:42 +02:00
Giuseppe Sucameli
ef8f3d3843 Merge pull request #2382 from SebDieBln/MultiColumnPK_DbManagerQuery
[DB_Manager] allows to specify multiple columns as the primary for a query to PostGIS (follow a4124da)
2015-10-22 19:21:39 +02:00
volaya
f5b0dbe902 [processing] allow translating algorithm dialog title
fixes #13652
2015-10-22 16:50:05 +02:00
Giovanni Manghi
c0919e0ac0 processing add option for additional parameters for gdal rasterize 2015-10-22 10:07:43 +01:00
Giovanni Manghi
ebd51b2c79 remove repeated parameter 2015-10-22 09:57:38 +01:00