35019 Commits

Author SHA1 Message Date
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
Alexander Bruy
eeb8269464 [processing] drop GEOM_TYPE_MAP in favour of QgsWkbTypes.displayString() 2016-10-05 09:45:55 +03:00
Alexander Bruy
7a49612a60 fix handling of layers without geometry 2016-10-05 09:42:57 +03:00
Alexander Bruy
2f66e1d6e2 add new geometry types to memory layer tests 2016-10-05 09:42:57 +03:00
Alexander Bruy
33644efeba use QgsWkbTypes methods to simplify code 2016-10-05 09:42:57 +03:00
Alexander Bruy
5b67d2a327 remove extra QString wrapper 2016-10-05 09:42:56 +03:00
Alexander Bruy
a4bdfb76c0 [processing] support more geometry types in memory layers (fix #15508) 2016-10-05 09:42:56 +03:00
Alexander Bruy
2b115449ab don't flatten geometries when pasting them as new memory layer 2016-10-05 09:42:56 +03:00
Alexander Bruy
b9ca91a55a [FEATURE] support for 2.5D geometries in memory provider 2016-10-05 09:42:56 +03: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
rldhont
52a78def7f Reactivate ogcutils tests and update its 2016-10-04 15:22:23 +02:00
rldhont
1d6e5d28e6 [BUGFIX] Support OGC PropertyIsLike attributs
The OGC PropertyIsLike element can have 4 attributs:
* matchCase to specify LIKE or ILIKE
* wildCard to specify a wildcard char symbol
* signleChar to specify a single char symbol
* escape to specify an escape char symbol
2016-10-04 15:22:02 +02:00
rldhont
b47f03db33 Fix testqgsogcutils 2016-10-04 15:22:02 +02: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