34807 Commits

Author SHA1 Message Date
volaya
efd73a491f [processing] fixes for new parameters architecture
includes better managing of crd and extent parameters in models, not requiring now the use of modeler-only lags
2016-10-05 12:35:00 +02:00
volaya
b298c76ee4 [processing] implemented parameter widget wrappers
Conflicts:
	python/plugins/processing/core/GeoAlgorithm.py
	python/plugins/processing/gui/ExtentSelectionPanel.py
	python/plugins/processing/modeler/ModelerParametersDialog.py
2016-10-05 12:34:58 +02:00
volaya
8cc9a50a52 [processing] moved script syntax from script algorithm class to parameters classes 2016-10-05 12:34:57 +02:00
arnaud.morvan@camptocamp.com
a69b358aa7 Create dedicated widget wrapper for modeler 2016-10-05 12:34:56 +02:00
arnaud.morvan@camptocamp.com
6158e9b340 Add CrsWidgetWrapper 2016-10-05 12:34:55 +02:00
arnaud.morvan@camptocamp.com
bb0938a5fe Use boolean wrapper in modeler algorithm dialog 2016-10-05 12:34:54 +02:00
arnaud.morvan@camptocamp.com
fbab369c0d Use boolean wrapper in batch algorithm dialog
Conflicts:
	python/plugins/processing/gui/BatchPanel.py
2016-10-05 12:34:53 +02:00
arnaud.morvan@camptocamp.com
f3c9aaaa2b Use boolean wrapper in standard algorithm dialog
Conflicts:
	python/plugins/processing/gui/AlgorithmDialog.py
2016-10-05 12:34:52 +02:00
arnaud.morvan@camptocamp.com
728be70c0b Create the boolean widget wrapper 2016-10-05 12:34:50 +02:00
arnaud.morvan@camptocamp.com
ecb7b3a096 Remove metadata from parameter.todict (do not save in model) 2016-10-05 12:34:49 +02:00
arnaud.morvan@camptocamp.com
2ad27b172e Add metadata property to parameters 2016-10-05 12:34:48 +02:00
volaya
484fd18ef6 [processing] fixed add model from file
fixes #15335
2016-10-05 12:34:47 +02:00
Sandro Santilli
0348dd5ce7 Force use of estimated metadata upon loading topologies 2016-10-05 12:17:57 +02:00
Nyall Dawson
b95a5e98c8 Fix missing live updates when raster colorize color changes 2016-10-05 14:27:04 +10:00
Nyall Dawson
79fd6fa0ac Fix raster style dock widgets not opened with dock mode flag
Makes the color picker and ramp editors open inline for
the raster properties pages
2016-10-05 14:27:04 +10:00
Nyall Dawson
3e1536f1da Fix crash in raster transparency widget on close
mPixelSelectorTool is owned by canvas, which may be deleted
before the QgsRasterTransparencyWidget on QGIS exit
2016-10-05 14:27:04 +10:00
nirvn
1e0e9c2e95 [pseudocolor renderer] fix invert check box in continous mode
(fixes #15209)
2016-10-05 14:04:52 +10:00
Nyall Dawson
bc32b1fe5a Fix crash when validating geometry (fix #15660)
Also fix python bindings for QgsGeometryValidator
2016-10-05 13:17:55 +10:00
Nyall Dawson
ddbd25d046 Correctly emit panelAccepted when panel is not in dock mode
Fixes #15373 - refine current rule not working when symbol widgets
are not used in the style dock

This fixes a behavioural difference when new panels are opened
in a QgsPanelWidget when in docked/undocked mode. When in
docked mode, the newly opened panel will emit panelAccepted
when it is accepted. But for undocked mode, the parent
panel was emitting the panelAccepted signal and so the
connection to update the renderer was never
triggered. Now both docked/undocked panels will always
emit panelAccepted ONLY from the newly opened panel itself.

This also fixes memory leaks as the clean up code was never
run in undocked mode.

I've updated the docs to clarify this behaviour.
2016-10-05 12:59:59 +10:00
Nyall Dawson
bad137283b Fix last segment length in measure dialog is incorrect after
completing measurement with right mouse click
2016-10-05 10:53:10 +10:00
Nyall Dawson
03bff507d9 Fix measure dialog shows wrong results when changing units
If the measurement was not finished (ie right click occurred)
then the last length would be missing from the table

Fix #15433
2016-10-05 10:53:10 +10:00
Alexander Bruy
cc62c52269 [processing] add icon caching for other providers 2016-10-04 19:53:21 +03:00
Alexander Bruy
d03d2069b9 [processing] correct GRASS 7 detection on Mac (fix #15645)
follow up e1ff6e896a
2016-10-04 17:08:18 +03:00
Nyall Dawson
0b68363789 Merge pull request #3565 from nyalldawson/svg_background
Fix SVG preview blocks QGIS (fix #14255)
2016-10-04 19:22:39 +10:00
Matthias Kuhn
7332dda0d8 Remove visitor pattern from QgsExpression (#3569)
It is not in use anywhere and can easily be reintroduced if there is a use case
where it is an appropriate fit.

Fix https://github.com/qgis/qgis3.0_api/issues/64
2016-10-04 10:46:56 +02:00
Mathieu Pellerin
62c8510089 [qt5] setConfirmOverwrite is gone, use setOption (#3567) 2016-10-04 10:45:10 +02:00
Nyall Dawson
111106c64f Fix cannot modify diagram attribute expression (fix #15514)
Also clean up some code
2016-10-04 16:36:30 +10:00
Nyall Dawson
3abded3186 Keep the user set order for svg paths 2016-10-04 15:45:17 +10:00
Nyall Dawson
b4a70c771e Merge pull request #3559 from nyalldawson/fix_render_flashing
Fix layers with layer wide opacity "flashing" while rendering
2016-10-04 15:40:30 +10:00
Nyall Dawson
a2166bd042 Small optimisations to model/views 2016-10-04 15:34:35 +10:00
Nyall Dawson
a20c3cf68a Guard against circular symbolic links in SVG selector widget 2016-10-04 15:26:56 +10:00
Nyall Dawson
c60c4f7f0c Fix SVG preview blocks QGIS (fix #14255)
Now SVG preview loading occurs in a background thread so that
dialogs can open instantly
2016-10-04 14:55:05 +10:00
Nyall Dawson
377de52b38 Port generate_test_mask_image.py to python3 2016-10-04 09:22:40 +10:00
Nyall Dawson
19f6b62cd8 Fix layers with layer wide opacity "flashing" by rendering
intermediate states without opacity
2016-10-04 09:22:40 +10:00
Alessandro Pasotti
d3f8763bd9 Merge pull request #3564 from elpaso/test-wait-for-network3
Yet another strategy to get a free port from the server
2016-10-03 21:53:45 +02:00
Alessandro Pasotti
9761a86e4f Renamed constants for consistency 2016-10-03 20:47:32 +02:00
Alessandro Pasotti
d950e3b637 Yet another strategy to get a free port from the server 2016-10-03 19:43:25 +02:00
Alessandro Pasotti
368c1cead3 Merge pull request #3563 from elpaso/test-wait-for-network2
Wait for server ready (and times out) before starting the tests
2016-10-03 16:42:07 +02:00
Matthias Kuhn
4fd5c014f2 Synchronize edit button state with read only mode (#3562) 2016-10-03 15:00:23 +02:00
Alessandro Pasotti
28f547ea81 Wait for server ready (and times out) before starting the tests 2016-10-03 14:19:49 +02:00
Hugo Mercier
8c90f7d6ea Merge pull request #3511 from nyalldawson/depend_redraw
If a dependent layer is redrawn, then also redraw child layer
2016-10-03 11:55:07 +02:00
Matthias Kuhn
8e54acf7b7 [travis] fixme 2016-10-03 11:38:34 +02:00
Hugo Mercier
645094cc1f Merge pull request #3558 from nirvn/layers_relation_icon
[gui] improve the layer dependencies icon
2016-10-03 11:29:24 +02:00
Nyall Dawson
456069207e Merge pull request #3554 from nyalldawson/parse_dash
New script to handle multiple render results from a dash results page
2016-10-03 19:13:40 +10:00
Matthias Kuhn
ce37f9c654 Disable flaky PyQgsServerWFST test 2016-10-03 10:45:55 +02:00
Nyall Dawson
8e14cf06d3 Fix leak in edit form config (#3556) 2016-10-03 08:15:23 +02:00
Nyall Dawson
5b3f10a531 Fix identify menu highlight only works with simple geometry types
Fix #15625
2016-10-03 15:15:12 +10:00
Nyall Dawson
7d27b43e79 Fix data defined buttons sometimes incorrectly show error state 2016-10-03 14:37:26 +10:00
Nyall Dawson
d36fb619b5 [labeling] Fix data defined placement with rotated maps
For layers requiring reprojection and with rotated maps any
labels with data defined x/y would not be rendered

Fix #14236
2016-10-03 14:21:34 +10:00
nirvn
1f78393404 [gui] improve the layer dependencies icon 2016-10-03 10:29:41 +07:00