5889 Commits

Author SHA1 Message Date
volaya
62302377db [processing] UI/UX improvements
Related to QEP #19

Some algorithm description provided by Frank Sokolic
2016-01-08 08:27:22 +01:00
volaya
e0a557a9c8 [processing] added AllowUnmatching tag to SAGA 'Add grid values to...' algorithm 2016-01-08 08:14:57 +01:00
Nyall Dawson
44bf78fa5c Fix Sip coverage test on Debian nightlies 2016-01-08 16:51:18 +11:00
Nyall Dawson
38baaafd05 [FEATURE] Show recent colors in layer right click menus 2016-01-08 16:43:35 +11:00
Nyall Dawson
87c58f4541 Mark more includes as system includes 2016-01-08 16:43:27 +11:00
Matthias Kuhn
53ae759670 PEP8 2016-01-07 17:10:13 +01:00
Alexander Bruy
b207268e69 add missed license headers in Processing files 2016-01-07 17:52:49 +02:00
Hugo Mercier
bbf2137940 Allow to filter joined fields with a virtual layer 2016-01-07 16:34:34 +01:00
Hugo Mercier
8bbdff471c Fix a bad indentation bug 2016-01-07 15:38:09 +01:00
Hugo Mercier
7e5915ec79 Allow to embed layers with dependencies 2016-01-07 14:37:23 +01:00
Hugo Mercier
1a1af3788c Rework layer dependencies to work also with layer definition files 2016-01-07 14:03:15 +01:00
Hugo Mercier
020dac0702 Allow to declare layer dependencies on a vector layer 2016-01-07 12:02:30 +01:00
Juergen E. Fischer
f8f056e0b2 fix server access control tests on windows 2016-01-07 10:50:34 +01:00
nirvn
653a1e655f [ui] move the save symbol button 2016-01-07 12:09:35 +07:00
Nyall Dawson
9d63022e4e Merge pull request #2638 from SebDieBln/FixStyleManagerUI
Fix some UI issues in style manager
2016-01-07 11:17:58 +11:00
Juergen E. Fischer
34bc4ad788 fix ProcessingParametersTest test 2016-01-07 01:00:28 +01:00
Sebastian Dietrich
3b30a8c630 [StyleManager] change context-menu handling to signal/slot mechanism
Both context-menus affected: Group-Tree and Item-List
2016-01-07 00:27:18 +01:00
volaya
41c9da9b0b [processing] More informative message when cannot compute gdal commands due to wrong params 2016-01-06 10:35:53 +01:00
volaya
943b101501 [processing] added selectionChanged signal to MultipleInputPanel
linked signal with GdalAlgorithmDialog
2016-01-06 10:29:38 +01:00
volaya
1f22b432b5 Merge pull request #2633 from medspx/processing_gdal_retile
[Processing]Add gdal_retile.py and gdal2tiles.py algorithms
2016-01-06 10:05:02 +01:00
Hugo Mercier
b46a593e32 Merge pull request #2617 from SebDieBln/FixLayerDefVectorJoins
Make vector joins work within layer-definition-files
2016-01-06 09:50:38 +01:00
volaya
946f4e4814 [processing] correctly parse default value for boolean parameters upon construction 2016-01-06 09:34:08 +01:00
Nyall Dawson
f76babf634 [FEATURE] Add duplicate button to symbol properties
Allows easy duplication of a symbol layer
2016-01-06 16:04:14 +11:00
Sebastian Dietrich
b32f124488 [StyleManager] enable/disable appropriate buttons and menu entries 2016-01-06 02:56:32 +01:00
Sebastian Dietrich
95e571c3f8 added functions to QgsStyleV2 for getting groups by id 2016-01-06 02:56:30 +01:00
Nyall Dawson
5e4c14cd40 [FEATURE] Control over label rendering order
A new control for setting a label's "z-index" has been added to
the labeling properties dialog. This control (which also accepts
data-defined overrides for individual features) determines the order
in which label are rendered. Label layers with a higher z-index
are rendered on top of labels from a layer with lower z-index.

Additionally, the logic has been tweaks so that if 2 labels have
matching z-indexes, then:
- if they are from the same layer, a smaller label will be drawn
above a larger label
- if they are from different layers, the labels will be drawn in
the same order as the layers themselves (ie respecting the order
set in the legend)

Diagrams can also have their z-index set (but not data defined)
so that the order of labels and diagrams can be controlled.

Note that this does *NOT* allow labels to be drawn below the
features from other layers, it just controls the order in which
labels are drawn on top of all the layer's features.

Fix #13888, #13559
2016-01-05 22:27:22 +11:00
Marco Hugentobler
36c628336c Add doc 2016-01-05 09:00:58 +01:00
Nyall Dawson
d10680c5fc Followup 881074 2016-01-05 12:18:02 +11:00
Nyall Dawson
881074b194 Boost coverage of SIP bindings
Now all classes and members are either exposed to bindings or marked
as "not available in Python bindings" in the docs.

Drop test thresholds to 0. Now it should be much easier to determine
what missing members have been added which are causing test
failures.
2016-01-05 11:16:15 +11:00
Marco Hugentobler
1519b3e041 Move zoomToFeature to QgsDualView and add checks for null geometries / geometryless layers 2016-01-04 16:29:49 +01:00
Médéric RIBREUX
006a1614cf [Processing]Add gdal_retile.py and gdal2tiles.py algorithms
This should fix Redmine #3331
2016-01-04 13:19:46 +01:00
Marco Hugentobler
1317220a01 Update qgsmapcanvas.sip 2016-01-04 10:33:07 +01:00
Matthias Kuhn
73945c0c56 Merge pull request #2631 from spatialthoughts/patch-1
Change comparison back to NULL
2016-01-04 09:51:29 +01:00
Matthias Kuhn
49eaf16f52 Merge pull request #2623 from cjmayo/no-pyqtconfig
[pyqgis-console] Don't import pyqtconfig
2016-01-04 09:50:42 +01:00
Ujaval Gandhi
899c57a91f Change comparison back to NULL
filter_null method previously filtered the NULL values using NULL type in qgis.core which is a QPyNullVariant. 
f9e0093ce7

This was subsequently changed to 'is not None' comparison which is incorrect. The current version fails to filter out the null values.
2016-01-04 11:01:06 +05:30
Nyall Dawson
4cc590c929 Cleanup labeling, avoid some duplicate enums, add docs 2016-01-04 07:23:58 +11:00
Médéric RIBREUX
14a6115ee2 Fix indentation (one more time) 2016-01-02 16:48:21 +01:00
Médéric RIBREUX
d6fbe93f0a Fix indendation problems (as usual)... 2016-01-02 16:14:41 +01:00
Médéric Ribreux
af01652650 [Feature][Processing] GRASS v.net modules 2016-01-02 14:31:56 +01:00
Sebastian Dietrich
b2b44ccca9 split generating XML and saving to QLR-file into separate functions
This increases flexibility and is consistent with the loading of a QLR-file.
2016-01-01 21:34:22 +01:00
Chris Mayo
6b42bad753 [pyqgis-console] Don't import pyqtconfig
pyqtconfig may not have been installed by PyQt4, leading to an error.

Was used to test for qt_version >= 0x40700 but CMakeLists.txt now checks
for QT_MIN_VERSION 4.8.0
2015-12-30 20:32:07 +00:00
Nyall Dawson
766bfa1a7f Fix some more old style cast and float comparison warnings 2015-12-31 07:27:58 +11:00
Nyall Dawson
566dd4bd43 Always pass QgsFeatureId by value, not reference
Since it's just a int64, it's faster to pass by value
2015-12-30 22:51:32 +11:00
Marco Hugentobler
f815ebc86b [FEATURE]: Zoom to feature with right-click in attribute table 2015-12-28 12:35:19 +01:00
Juergen E. Fischer
71dc339106 more stl to qt ports and size_t => int fixups 2015-12-26 00:59:09 +01:00
Salvatore Larosa
88a197b20f [processing] fix missing import for Union and Clip algs 2015-12-24 16:26:58 +01:00
rldhont
cc2fb2efda [Processing] Update gui 2015-12-24 15:14:02 +01:00
rldhont
9da4a76e6f [Processing] update parameters test 2015-12-24 15:14:02 +01:00
Michael Kirk
afcf567ebb [Processing] fixup parameters test
- Broke into per class testcase
- Each method tries to test only one aspect of behavior
- Use unittest assertions for better error output
- Removed non-existant serialize functionality from tests
- Test BooleanParameter

Conflicts:
	python/plugins/processing/core/parameters.py
2015-12-24 15:14:02 +01:00
rldhont
8798c42339 [Processing] Parameter default value is None 2015-12-24 15:14:02 +01:00